GateAI
Regular Expressions and Finite Automata

GATE CSE 2026 Set 1 · Q26

MSQ1 markEasy

Time

Let MM be a nondeterministic finite automaton (NFA) with 6 states over a finite alphabet. Which of the following options CANNOT be the number of states in the minimal deterministic finite automaton (DFA) that is equivalent to MM ?

Select all that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: B) 65; D) 128

Regular Expressions and Finite Automata

For any NFA MM with nn states, the powerset construction (subset construction) produces an equivalent DFA with at most 2n2^n states.

Given n=6n = 6 states:

Maximum number of states in equivalent DFA=26=64\text{Maximum number of states in equivalent DFA} = 2^6 = 64

Since the minimal DFA equivalent to MM cannot have more states than the DFA obtained via subset construction, the number of states kk in the minimal DFA must satisfy:

1≤k≤641 \le k \le 64

Evaluating the given options for what CANNOT be the number of states:

  • (A) 32: Possible, since 32≤6432 \le 64.

  • (B) 65: Impossible, since 65>6465 > 64.

  • (C) 1: Possible (e.g., if L(M)=Σ∗L(M) = \Sigma^* or L(M)=∅L(M) = \emptyset), since 1≤641 \le 64.

  • (D) 128: Impossible, since 128>64128 > 64.

Therefore, the options that CANNOT be the number of states are B and D.

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 Q26 of the GATE CSE 2026 Set 1 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. 2 of them are 1-mark MSQs like this one, and it is the only one in GATE CSE 2026 Set 1.

How GATE tests Regular Expressions and Finite Automata

More from GATE CSE 2026 Set 1

Share this solution

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

GateAI solution cardGATE CSE 2026 Set 1 · Q26 · MSQ

Let M be a nondeterministic finite automaton (NFA) with 6 states over a finite alphabet. Which of the following options CANNOT be the number of states in the minimal deterministic finite automaton (DFA) that is equivalent to M ?

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.