GATE Computer ScienceHardGATE CSE · NIELIT

A 4-bit shift register shifts left each clock (Q3 is discarded), and the new LSB is Q3 ⊕ Q1. Starting from 0001, after how many clock pulses does the state first return to 0001?

  1. A. 6
  2. B. 3
  3. C. 9
  4. D. 12

Correct answer: A. 6

Simulating the feedback x₀ ← x₃ ⊕ x₁ from 0001 returns to 0001 after 6 pulses (this polynomial is not primitive, so the period is below 15).

More Digital Logic questions

Exams that ask this topic