GATE CS 2025 Set 1 | Question 28

Theory of Computation › Regular Grammar · MSQ · 1 mark · Answer: D

  1. Question 28Theory of Computationmsq1 mark
    A regular language is accepted by a non-deterministic finite automaton (NFA) with states. Which of the following statement(s) is/are FALSE?
    • A.
      may have an accepting NFA with states.
    • B.
      may have an accepting DFA with states.
    • C.
      There exists a DFA with states that accepts .
    • D.
      Every DFA that accepts has states.
      ✓

    Answer: D

    Solution

    Answer: (D) — this is the FALSE statement. By the subset construction, an -state NFA has an equivalent DFA with at most states. So (C) is true, and (D) ("every DFA has more than states") is false — in fact the minimal DFA often has far fewer. (A) and (B) are true possibilities: the given NFA/DFA need not be minimal, so may have an accepting NFA or DFA with fewer than states.

More GATE PYQ on Regular Grammar

All GATE CS Theory of Computation PYQ →

Attempt GATE CS 2025 Set 1 in real GATE exam mode

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

Create free account →