CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Let L be the language represented by the regular expression 0011 where ={0,1}. What is the minimum number of states in a DFA that recognizes ¯¯¯¯L (complement of L) ?

Open in App
Solution

0011=(0+1)0011(0+1)

Every string of the language L contains the substring 0011.

To accept the minimal string "0011" we need 5 states. Since substring machines don't required trap state, we need only 5 states.

Since the complementary DFA will accept complementary language, and since complementary DFA has same number of states

as the original DFA, therefore ¯¯¯¯L also has only 5 states as shown below.

Minimized DFA for

Minimized DFA for

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Integers
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon