4,336 views

3 Answers

Best answer
9 votes
9 votes
Clearly b is the answer as we can see that every one is generating aaaaabbb while the second option is not generating it . The approach to this question is see in option b every a is has to be followed by b because it has (ab)*, and such restriction is not in the question.
selected by
0 votes
0 votes
B is the answer because it cannot generate b   which is generated by regular expression given in question  .

Related questions

6 votes
6 votes
1 answer
2
0 votes
0 votes
0 answers
4