GATE Computer ScienceVery hardGATE CSE

Five states of a sequential machine are encoded with distinct 3-bit codes. Two assignments are considered equivalent if one can be obtained from the other by permuting the state-variable (bit) positions and/or complementing any state variable (the logic cost is then identical). How many essentially different assignments exist?

  1. A. 6720
  2. B. 140
  3. C. 280
  4. D. 120

Correct answer: B. 140

There are 8·7·6·5·4 = 6720 injective assignments, and the 48 symmetries (3! bit permutations × 2³ complements) split them into 140 classes.

More Digital Logic questions

Exams that ask this topic