edited by
1,407 views
8 votes
8 votes

Consider the following non-deterministic automation, where $\large s_{1}$ is the start state and $\large s_{4}$ is the final (accepting) state. The alphabet is $\{a,b\}.$ A transition with label $\large\epsilon$ can be taken without consuming any symbol from the input.

Which of the following regular expressions corresponds to the language accepted by this automation ?

  1. $(a+b)^{*}aba$
  2. $aba(a+b)^{*}aba$
  3. $(a+b)aba(b+a)^{*}$
  4. $aba(a+b)^{*}$
  5. $(ab)^{*}aba$

edited by

1 Answer

Best answer
11 votes
11 votes
The correct option is (A).

Other option can be easily eliminated by using string bbaba.
selected by
Answer:

Related questions

4 votes
4 votes
1 answer
1