edited by
4,374 views
3 votes
3 votes

The regular expression for the following DFA

  1. ab*(b+aa*b)*
  2. a*b(b+aa*b)*
  3. a*b(b*+aa*b)
  4. a*b(b+aa*b)*
edited by

1 Answer

Best answer
2 votes
2 votes

(A)It can't accept strings aab, aaab, aaaab.... which is accepted by given DFA.

So, we can eliminate this option. 

(C)a*b(b*+aa*b) in this option first we can generate any number of a's after we can generate any numbers of b's or any number of a's is followed by a single b.

It can not generate string abbaabbb which can accept by given DFA.So, we can eliminate this option. 

Answer should be both (B) and (D) here.

selected by
Answer:

Related questions

1 votes
1 votes
1 answer
1
2 votes
2 votes
2 answers
2
go_editor asked Jul 7, 2016
4,993 views
Match the following :$\begin{array} {clcl} \text{(i)}& \text{Regular grammer} & \text{(a)} & \text{Pushdown automaton} \\ \text{(ii)}& \text{Context free grammer} & \tex...