Skip to content
GATEiit

GATE CSE 2025 Session 1 Q59: Minimum states of an FSM from its state table

Question

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)

Present stateNext state, X=0X = 0Next state, X=1X = 1Output ff, X=0X = 0Output ff, X=1X = 1
AFB00
BDC00
CFE00
DGA10
EDC00
FFB11
GGH01
HGA10

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 5 (official GATE 2025 final answer key)

Concept used: State minimisation by partitioning: states are equivalent if they give the same outputs and move to equivalent states.

First step: Group by output pattern: {A, B, C, E} give 00, {D, H} give 10, F gives 11, G gives 01; then split groups whose next states fall in different groups.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2025 Session 1 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key