2,555 views
0 0 votes
Minimum states required for DFA that accepts :

L = {w1 x w2 | w,x belongs to {a,b}* | w1 >= 0, w2 > 1 and x >= 0 }.

1 Answer

Best answer
3 3 votes

we have,

L = {w1 x w2 | w,x belongs to {a,b}* | w1 >= 0, w2 > 1 and x >= 0 }.

means regular expression for L = (a+b)*  (a+b)* (a+b)2(a+b)*

                                                   =set of strings having length atleast 2.

so number of states in minimal DFA = 3 states.

 

• selected by
Position:
Show:

Related questions

0 0 votes
2 answers 2 answers
3.0k
3.0k views
aditi19 asked Dec 14, 2018
2,955 views
Given following NFAfind the minimal equivalent DFA
0 0 votes
0 0 answers
738
738 views
Harshitha 123 asked Jun 12, 2018
738 views
How many states will be present in L={w/(n(a) + (2 n(b)mod 3)) lessthan 2} ? (I got 7 states is that correct)
1 1 vote
1 1 answer
1.9k
1.9k views
kislaya Pant asked May 8, 2018
1,938 views
Ques:- What are the number of final states in minimal DFA, where ∑= {a, b}, if every string starts with “aa” and length of the string is not congruent to 0 (mod 4).
1 1 vote
3 3 answers
5.2k
5.2k views
kislaya Pant asked May 8, 2018
5,171 views
Ques:- Let ∑= {0, 1} What will be the number of states in minimal DFA, if the Binary number string is congruent to (mod 8)?*[ Can anybody explain this as I am getting 8 ...