GATE Computer ScienceVery hardGATE CS (PYQ pattern)

An ε-NFA over {a, b} has states 0, 1, 2, 3, 4, start state 0 and accepting set {0,2,4}. Transitions: δ(0): a→{3}, b→{2}, ε→∅; δ(1): a→{0,1,3,4}, b→{0,4}, ε→{3,4}; δ(2): a→{1,3}, b→{0,4}, ε→∅; δ(3): a→{2,3}, b→{2}, ε→∅; δ(4): a→{0,1,3}, b→{0,3}, ε→{0}. 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. 3
  2. B. 11
  3. C. 32
  4. D. 10

Correct answer: D. 10

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

More Theory of Computation questions

Exams that ask this topic