GATE CS 2021 Set 2 | Question 19

Theory of Computation › Regular Grammar · MCQ · 1 mark · Answer: C

  1. Question 19Theory of Computationmcq1 mark
    Let be a regular language whose minimal DFA has exactly states. Which one of the following languages is guaranteed to have a minimal DFA with exactly states?
    • A.
    • B.
    • C.
      (the complement of )
      ✓
    • D.

    Answer: C

    Solution

    Complementing a DFA only swaps accepting and non-accepting states, keeping the same (already minimal) set of states, so the complement also has exactly states.

More GATE PYQ on Regular Grammar

All GATE CS Theory of Computation PYQ →

Attempt GATE CS 2021 Set 2 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →