Skip to content
Official PYQ · 2026

GATE CS 2026 Set 1 Q16 — Regular Expressions and Finite Automata

Explain with AI

Let MM be a nondeterministic finite automaton (NFA) with 66 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 correct options
View worked solution

Answer: B;D

Using the subset construction method, any nondeterministic finite automaton (NFA) with nn states can be converted into an equivalent deterministic finite automaton (DFA) with at most 2n2^n states.

For the given NFA MM with n=6n = 6 states:

  • The maximum number of states in the equivalent DFA is 26=642^6 = 64.
  • Minimizing this DFA can only reduce (or keep equal) the number of states.
  • Therefore, the number of states kk in the minimal equivalent DFA must satisfy: 1≤k≤641 \le k \le 64

Let's evaluate the given options based on this range:

  • Option A (32): Since 32≤6432 \le 64, this is a possible number of states.
  • Option B (65): Since 65>6465 > 64, this cannot be the number of states.
  • Option C (1): Since 1≤641 \le 64, this is a possible number of states (e.g., if the language accepted is Σ∗\Sigma^* or ∅\emptyset).
  • Option D (128): Since 128>64128 > 64, this cannot be the number of states.

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

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

Published
Report a correction
Keep exploringMore Regular Expressions and Finite Automata questions