GATE Computer ScienceVery hardGATE CS (PYQ pattern)

An ε-NFA over {a, b} has states 0, 1, 2, 3, start state 0 and accepting set {2}. Transitions: δ(0): a→∅, b→{2}, ε→∅; δ(1): a→∅, b→{0,1,2}, ε→{3}; δ(2): a→{1,3}, b→{1,2}, ε→{3}; δ(3): a→{0,3}, b→{0,3}, ε→∅. Using ε-closures in the subset construction (start state is the ε-closure of {0}), how many reachable DFA states (counting ∅ if reached) are produced?

  1. A. 7
  2. B. 4
  3. C. 8
  4. D. 16

Correct answer: A. 7

Taking ε-closure after every move, the reachable subsets number 7; minimisation would reduce it to 4.

More Theory of Computation questions

Exams that ask this topic