GATE Computer ScienceVery hardGATE CS (PYQ pattern)

An ε-NFA over {a, b} has states 0, 1, 2, 3, start state 0 and accepting set {1,2}. Transitions: δ(0): a→{2}, b→∅, ε→∅; δ(1): a→{0}, b→{3}, ε→∅; δ(2): a→{0}, b→{0,1}, ε→∅; δ(3): a→{1}, b→{0,3}, ε→{2}. How many states does the minimal complete DFA of this ε-NFA's language have?

  1. A. 8
  2. B. 9
  3. C. 3
  4. D. 4

Correct answer: D. 4

After the ε-closure subset construction (8 reachable subsets) and merging equivalent subsets, 4 states remain.

More Theory of Computation questions

Exams that ask this topic