GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A Moore machine has states A to H, start state A and one input X. Each row lists: state, next state for X=0, next state for X=1, output. A E B 0 B D B 1 C B B 1 D B H 1 E G C 1 F A A 0 G F D 0 H H B 1 What is the minimum number of states of an equivalent Moore machine?

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

Correct answer: C. 5

States B, C, D and H all have output 1 and their successors lie among themselves and in classes that are equal, so they are one equivalence class. The other classes are {A}, {E}, {F} and {G}, giving 5 states in the minimal machine.

More Digital Logic questions

Exams that ask this topic