Let N be an NFA with n states. Let k be the number of states of a minimal DFA which is equivalent to N. Which one of the following is necessarily true?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2018 · Q6
Time
Select one answerSingle correct
Solution
Official answer: D) k ≤ 2n
Regular Expressions and Finite AutomataBy the standard subset construction method (powerset construction), any Non-Deterministic Finite Automaton (NFA) with states can be converted into an equivalent Deterministic Finite Automaton (DFA) with at most states.
Minimizing this DFA can either keep the number of states the same or reduce it further. Hence, the number of states in the minimal equivalent DFA must satisfy:
Thus, option D is necessarily true.
Option A () is not necessarily true because can be as small as .
Option B () is not necessarily true since an -state NFA can accept , which has a minimal DFA with state ().
Option C () is not necessarily true since there exist NFAs where the minimal DFA requires exactly states, which is strictly greater than for .
Try the question first, then check your work.
Examiner trap
Consider the powerset construction algorithm used to convert an NFA to a DFA.
This Regular Expressions and Finite Automata previous year question is Q6 of the GATE CSE 2018 paper. Find more GATE CSE PYQs on Regular Expressions and Finite Automata in Theory of Computation, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Regular Expressions and Finite Automata PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Regular Expressions and Finite Automata has 41 GATE CSE PYQs across 24 papers from 2011 to 2026. 14 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2018.
How GATE tests Regular Expressions and Finite AutomataIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.