GATE Computer ScienceVery hardGATE CS (PYQ pattern)

Let L = (a + b)*abb. The left quotient a⁻¹L = { w : aw ∈ L } has a minimal complete DFA with how many states?

  1. A. 3
  2. B. 5
  3. C. 4
  4. D. 6

Correct answer: C. 4

aw ∈ L iff w ends in abb or w = bb; the language (a + b)*abb + bb needs 4 states after merging (the extra string bb cannot merge with the 'ends in abb' tracker).

More Theory of Computation questions

Exams that ask this topic