GateAI
Combinational and Sequential Circuits

GATE CSE 2025 Set 1 · Q59

NAT2 marksMedium

Time

Consider a finite state machine (FSM) with one input XX and one output ff, represented by the given state transition table. The minimum number of states required to realize this FSM is _______. (Answer in integer)

GATE CSE 2025 Set 1 Q59 diagram

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 5

Combinational and Sequential Circuits

To find the minimum number of states required to realize the FSM, we apply the state minimization (partitioning) algorithm.

### Step 1: Initial Partition (P0P_0) Partition the states based on their output (fX=0,fX=1)(f_{X=0}, f_{X=1}):

  • Output (0,0)(0, 0): {A,B,C,E}\{A, B, C, E\}

  • Output (1,0)(1, 0): {D,H}\{D, H\}

  • Output (1,1)(1, 1): {F}\{F\}

  • Output (0,1)(0, 1): {G}\{G\}

P0=(A,B,C,E)(D,H)(F)(G)P_0 = (A, B, C, E)(D, H)(F)(G)

### Step 2: Refining partition to P1P_1

  1. Check block {A,B,C,E}\{A, B, C, E\}:

    • For input X=0X = 0:

      • Next states for AA and CC are FF (in group {F}\{F\}).

      • Next states for BB and EE are DD (in group {D,H}\{D, H\}).

    • For input X=1X = 1:

      • Next state for AA is BB, and for CC is EE (both in {B,E}\{B, E\}).

      • Next state for BB is CC, and for EE is CC (both in {A,C}\{A, C\}).

    • Therefore, {A,B,C,E}\{A, B, C, E\} splits into two equivalence classes: {A,C}\{A, C\} and {B,E}\{B, E\}.

  2. Check block {D,H}\{D, H\}:

    • For X=0X = 0: D→GD \to G and H→GH \to G (both in group {G}\{G\}).

    • For X=1X = 1: D→AD \to A and H→AH \to A (both in group {A,C}\{A, C\}).

    • Thus, DD and HH remain in the same equivalence class.

P1=(A,C)(B,E)(D,H)(F)(G)P_1 = (A, C)(B, E)(D, H)(F)(G)

### Step 3: Check stability (P2P_2) Checking each block of P1P_1:

  • For {A,C}\{A, C\}:

    • X=0  ⟹  F∈{F}X=0 \implies F \in \{F\}

    • X=1  ⟹  B,E∈{B,E}X=1 \implies B, E \in \{B, E\}

    (Equivalent)

  • For {B,E}\{B, E\}:

    • X=0  ⟹  D∈{D,H}X=0 \implies D \in \{D, H\}

    • X=1  ⟹  C∈{A,C}X=1 \implies C \in \{A, C\}

    (Equivalent)

  • For {D,H}\{D, H\}:

    • X=0  ⟹  G∈{G}X=0 \implies G \in \{G\}

    • X=1  ⟹  A∈{A,C}X=1 \implies A \in \{A, C\}

    (Equivalent)

Since no further splits occur, P2=P1P_2 = P_1.

The equivalent states are:

  • [A]={A,C}[A] = \{A, C\}

  • [B]={B,E}[B] = \{B, E\}

  • [D]={D,H}[D] = \{D, H\}

  • [F]={F}[F] = \{F\}

  • [G]={G}[G] = \{G\}

The minimum number of states is 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 Combinational and Sequential Circuits previous year question is Q59 of the GATE CSE 2025 Set 1 paper. Find more GATE CSE PYQs on Combinational and Sequential Circuits in Digital Logic, 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 Combinational and Sequential Circuits 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.

Combinational and Sequential Circuits in GATE CSE

Combinational and Sequential Circuits has 32 GATE CSE PYQs across 22 papers from 2011 to 2026. 4 of them are 2-mark NAT questions like this one, and GATE CSE 2025 Set 1 has 2.

How GATE tests Combinational and Sequential Circuits

More from GATE CSE 2025 Set 1

Share this solution

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

GateAI solution cardGATE CSE 2025 Set 1 · Q59 · NAT

Consider a finite state machine (FSM) with one input X and one output f, represented by the given state transition table. The minimum number of states required to realize this FSM is … (Answer in integer)

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.