edited by
282 views
3 votes
3 votes

Which of the given options correctly represents the finite automaton given below?
(Mark all the appropriate choices)

 

  1. $\left(aa + bb + (ba + ab)(ab + ba)^{\ast}(aa + bb)\right)^{\ast}$
  2. $\left(aa + bb + (ba + ab)(aa + bb)^{\ast}(ab + ba)\right)^{\ast}$
  3. $\left(ab + ba + (ba + ab)(aa + bb)^{\ast}(ab + ba)\right)^{\ast}$
  4. $\left(bb + aa + (ab + ba)(bb + aa)^{\ast}(ba + ab)\right)^{\ast}$
edited by

2 Answers

3 votes
3 votes

We can apply the state elimination method and get the regular expression.

  1. Initial state is not suppose to have any incoming edges.
  2. Final state is not suppose to have any outgoing edges.
  3. There should be only one final state.
  4. Eliminate all the remaining state other than the initial and final state in any order.

So, the correct answer is $B;D.$

edited by
Answer:

Related questions

2 votes
2 votes
1 answer
2
gatecse asked Sep 29, 2020
166 views
Given that $\Sigma = \{a\},$ which of the following finite automata correctly implements the regular expression $a^{\ast}?$ (Mark all the correct options)
4 votes
4 votes
2 answers
3
2 votes
2 votes
1 answer
4
gatecse asked Sep 29, 2020
79 views
Which of the following strings is a member of the language over $\{a, b\}$ defined by the regular expression $(aa + ab)^*(bb)^*$ ?$abbbba$ $abaabb$$babbaa$$bbaa$