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}. Transitions: δ(0): a→{3}, b→∅; δ(1): a→{1,3}, b→{3}; δ(2): a→{2}, b→{1}; δ(3): a→{2,3}, b→{2}. Applying the subset construction, how many states does the resulting DFA have if only reachable subsets are built (include ∅ if it is reached)?

  1. A. 9
  2. B. 2
  3. C. 11
  4. D. 16

Correct answer: A. 9

Run the subset construction from {0} and list every distinct reachable subset: there are 9 of them. The minimal DFA has only 2, and the full power set would be 16.

More Theory of Computation questions

Exams that ask this topic