Skip to content
Official PYQ · 2025

GATE CS 2025 Set 1 Q18 — Regular and Context-free Languages

Explain with AI

A regular language LL is accepted by a non-deterministic finite automaton (NFA) with nn states. Which of the following statement(s) is/are FALSE?

Choose one option
View worked solution

Answer: D

We are given that a regular language LL is accepted by a non-deterministic finite automaton (NFA) with nn states. Let us analyze each statement to identify which one is FALSE:

  • Option A: LL may have an accepting NFA with <n< n states.
    True. If the given NFA is not minimal, we can find a smaller equivalent NFA. For example, if L=Σ∗L = \Sigma^* and we are given an NFA with n=3n = 3 states, there exists an equivalent NFA with 11 state (since 1<31 < 3).
  • Option B: LL may have an accepting DFA with <n< n states.
    True. Similar to Option A, if L=Σ∗L = \Sigma^* and the given NFA has n=3n = 3 states, the minimal DFA for LL requires only 11 state (since 1<31 < 3).
  • Option C: There exists a DFA with ≤2n\leq 2^{n} states that accepts LL.
    True. By the standard subset construction algorithm, any NFA with nn states can be converted into an equivalent DFA with at most 2n2^n states.
  • Option D: Every DFA that accepts LL has >2n> 2^{n} states.
    False. This directly contradicts the subset construction theorem (Option C), which guarantees the existence of a DFA with at most 2n2^n states.

Thus, only statement D is false.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Regular and Context-free Languages questions