GATE Computer ScienceVery hardGATE CS (PYQ pattern)

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

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

Correct answer: C. 4

The subset construction yields 9 reachable subsets, but merging subsets with identical futures (Moore partition refinement) leaves 4 states.

More Theory of Computation questions

Exams that ask this topic