A deterministic finite automaton (DFA) D with alphabet = {a, b} is given below. Which of the following finite state machines is a valid minimal DFA which accepts the same language as D?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2011 · Q45
Time

Select one answerSingle correct
Solution
Official answer: A)
Regular Expressions and Finite AutomataTo minimize the given DFA with states where is the only final state:
Equivalence of Trap/Dead States:
States and are both non-accepting dead/trap states (self-loop on both and , no transition leading to an accepting state).
Thus, states and can be merged into a single non-accepting state.
Evaluating Options:
Option (B) accepts (since or reaches an accepting state on input ), which is not accepted by the original DFA .
Option (C) is non-deterministic or invalid as state has multiple transitions on and accepts invalid strings.
Option (D) incorrectly accepts strings not in the language of .
Option (A) correctly represents the language accepted by , where non-equivalent states are preserved and equivalent dead states are appropriately merged.
Therefore, (A) is the correct option.
Try the question first, then check your work.
Examiner trap
Check the language accepted by the original DFA (only strings starting with certain prefixes are accepted) and identify equivalent states or test simple strings like or on the candidate DFAs.
This Regular Expressions and Finite Automata previous year question is Q45 of the GATE CSE 2011 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. 10 of them are 2-mark MCQs like this one, and GATE CSE 2011 has 2.
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.