GateAI
Regular Expressions and Finite Automata

GATE CSE 2011 · Q45

MCQ2 marksMedium

Time

A deterministic finite automaton (DFA) DD with alphabet Σ={a,b}\Sigma = \{a, b\} is given below. Which of the following finite state machines is a valid minimal DFA which accepts the same language as DD?

GATE CSE 2011 Q45 diagram

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: A)

Regular Expressions and Finite Automata

To minimize the given DFA DD with states {p,q,r,s,t}\{p, q, r, s, t\} where ss is the only final state:

  1. Equivalence of Trap/Dead States:

    • States rr and tt are both non-accepting dead/trap states (self-loop on both aa and bb, no transition leading to an accepting state).

    • Thus, states rr and tt can be merged into a single non-accepting state.

  2. Evaluating Options:

    • Option (B) accepts bb (since p→a,bq→bsp \xrightarrow{a,b} q \xrightarrow{b} s or reaches an accepting state on input bb), which is not accepted by the original DFA DD.

    • Option (C) is non-deterministic or invalid as state qq has multiple transitions on bb and accepts invalid strings.

    • Option (D) incorrectly accepts strings not in the language of DD.

    • Option (A) correctly represents the language accepted by DD, 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.

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 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

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. 10 of them are 2-mark MCQs like this one, and GATE CSE 2011 has 2.

How GATE tests Regular Expressions and Finite Automata

More from GATE CSE 2011

Share this solution

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

GateAI solution cardGATE CSE 2011 · Q45 · MCQ

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

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