Computer Science EngineeringHardISRO SC

Over {0,1}, L1 = binary numbers (MSB first) divisible by 3, and L2 = strings ending with 11. The minimal DFA for L1 intersect L2 has how many states?

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

Correct answer: A. 5

Build the product of the 3-state mod DFA and the 3-state suffix DFA, keep reachable states and merge equivalent ones: 5 states.

More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions

Exams that ask this topic