GateAI
Regular Expressions and Finite Automata

GATE CSE 2018 · Q6

MCQ1 markEasy

Time

Let NN be an NFA with nn states. Let kk be the number of states of a minimal DFA which is equivalent to NN. Which one of the following is necessarily true?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: D) k ≤ 2n

Regular Expressions and Finite Automata

By the standard subset construction method (powerset construction), any Non-Deterministic Finite Automaton (NFA) with nn states can be converted into an equivalent Deterministic Finite Automaton (DFA) with at most 2n2^n states.

Minimizing this DFA can either keep the number of states the same or reduce it further. Hence, the number of states kk in the minimal equivalent DFA must satisfy:

k≤2nk \le 2^n

Thus, option D is necessarily true.

  • Option A (k≥2nk \ge 2^n) is not necessarily true because kk can be as small as 11.

  • Option B (k≥nk \ge n) is not necessarily true since an nn-state NFA can accept Σ∗\Sigma^*, which has a minimal DFA with 11 state (1<n1 < n).

  • Option C (k≤n2k \le n^2) is not necessarily true since there exist NFAs where the minimal DFA requires exactly 2n2^n states, which is strictly greater than n2n^2 for n≥5n \ge 5.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

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

Where do you stand for GATE?

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.

One GATE CSE PYQ every morning

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 in GATE CSE

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 Automata

More from GATE CSE 2018

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2018 · Q6 · MCQ

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

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.