in Theory of Computation edited by
2,035 views
1 vote
1 vote

​​Let $\text{M}$ be the $5$-state $\text{NFA}$ with $\epsilon$-transitions shown in the diagram below.


Which one of the following regular expressions represents the language accepted by $\text{M}$?

  1. $(00)^{*}+1(11)^{*}$
  2. $0^{*}+\left(1+0(00)^{*}\right)(11)^{*}$
  3. $(00)^{*}+\left(1+(00)^{*}\right)(11)^{*}$
  4. $0^{+}+1(11)^{*}+0(11)^{*}$
in Theory of Computation edited by
by
2.0k views

2 Answers

1 vote
1 vote

Video Solution: NFA to Regular Expression - GATE CSE 2024

Counter-example for option A: $011$ is not generated.

Counter-example for option C: $000$ is not generated.

Counter-example for option D: empty string is not generated. 

WHY Option B: See HERE.

0 votes
0 votes
From Question minimum Empty string is accepted so Option D is eliminated,

Also A & C option is restricting for 0's to be in multiple of 2 so A & C eliminated as we can have any multiple of 0 even or odd so Answer is option B
Answer:

Related questions