362 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.

Related questions

0 votes
0 votes
0 answers
2
koushriek asked May 19, 2022
1,400 views
Examples of accepted words: 1011, 101101, 1111Example of non-accepted words: 101, 1001, 010The solution says the min-DFA contains 5 states but I could only do it in 4. Am...
1 votes
1 votes
1 answer
3
kislaya Pant asked May 8, 2018
1,162 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)....
3 votes
3 votes
1 answer
4