GATE Computer ScienceVery hardGATE CSE · NIELIT

A 4-bit register Q3Q2Q1Q0 updates as Q ← (Q shifted left by one) with the new LSB equal to Q3 ⊕ Q2. Considering all 16 possible states, how many distinct cycles does the state graph contain?

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

Correct answer: A. 2

Following the map from every state shows cycles of lengths 1, 15, so 2 cycles in total.

More Digital Logic questions

Exams that ask this topic