0 votes
0 votes
in Theory of Computation
263 views

1 Answer

0 votes
0 votes

The DFA will be made as follows:

So we accept any number of {a, b} greater than 3, then we wait until we get the ‘a’. After that accept any {a, b} upto count of 5 but not more than 5. Notice q10 is a trap state.

Answer: Hence we have 6 final states.

1 comment

But this is rejecting:

aaaa a bbbbb.... this should be valid string 

OR 
 

we are supposed to assume that 

aaa a abbbbb


..since string is rejected ?
 

0
0

Related questions