recategorized by
108 views

1 Answer

0 votes
0 votes
In eyery string a must followed bb substring so the language accepted by the machine is l={abb,abbb,abbbbb,abbabb...}

now minimum length of the string is = 3

required no fo statesw = 3+1 = 4

               a               b

q0         q1               dead

q1         dead             q2

q2          dead            q3

q3          q1                 q3

Related questions

0 votes
0 votes
1 answer
1
Unnati Singh asked May 7
105 views
Design a DFA to recognize all strings over {a,b} such that L={awa : w ϵ {a,b}* }.
0 votes
0 votes
2 answers
2
Unnati Singh asked May 7
114 views
Construct a DFA with minimum number of states, accepting all strings over {a, b} such that the number of a’s is divisible by three and the number of b’s is divisible ...
1 votes
1 votes
1 answer
4
sripo asked Oct 13, 2018
1,297 views
For the given GrammarS->aA|bBA->bC|aSB->aC|bSC->aB|bA Construct DFA I am getting confused in understanding how to take the final state.