Computer Science EngineeringHard

A complete DFA has 6 states, of which 2 are accepting. The DFA for the complement language, obtained by swapping accepting and non-accepting states, has how many accepting states?

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

Correct answer: A. 4

Complementation makes the 4 formerly non-accepting states accepting.

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

Exams that ask this topic