GATE / CS ARCHIVE

GATE CSE 1996 / QUESTION 2.23

Minimizing a Mealy machine

Digital Logic · Finite-State Machine Design · Full GATE CSE 1996 paper

GATE 1996, Q2.23 2 marks · MCQ
Report issue

Finite-State Machine Design

Question 2.23, GATE 1996: For inputs 0,1, the next-state/output pairs are A:(D,0),(B,1); B:(A,0),(C,1); C:(A,0),(B,1); D:(A,1),(C,1). How many states remain?
Question 2.23, GATE 1996: For inputs 0,1, the next-state/output pairs are A:(D,0),(B,1); B:(A,0),(C,1); C:(A,0),(B,1); D:(A,1),(C,1). How many states remain?
Tap to enlarge
Your answer
Answer & solution

Answer: B: 3 (no official key was published)

First group states by their immediate output pairs. A,B,C output (0,1), while D outputs (1,1), so D is separate. On input 0, A moves to D but B and C move to A, which belongs to the other initial group; therefore A must split from B,C. Now B and C both move to A on 0 and to the block {B,C} on 1, with identical outputs. They remain equivalent and no further split occurs. The stable partition is {A},{B,C},{D}, giving three states.

Original paper, page 6