GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A Moore machine has states A to G, start state A, and one input X. State next (X=0) next (X=1) output A C B 0 B B C 1 C D F 1 D C F 1 E D F 0 F G E 0 G G E 1 How many unordered pairs of distinct states are equivalent?

  1. A. 3
  2. B. 5
  3. C. 4
  4. D. 2

Correct answer: C. 4

Refining by output and successors gives the classes {A}, {B}, {C, D, G} and {E, F}. Equivalent pairs: 3 inside {C, D, G} and 1 inside {E, F}, i.e. 4; the minimal machine has 4 states.

More Digital Logic questions

Exams that ask this topic