Electronics and Communication EngineeringVery hardISRO SC ECE

A 5-bit right-shifting register has its new MSB formed by XORing stages Q0 and Q3 (Q0 is the LSB output). Starting from state 00001, the number of clock cycles before the state sequence repeats is:

  1. A. 31
  2. B. 32
  3. C. 30
  4. D. 41

Correct answer: A. 31

Simulating the feedback sequence from the seed, the state first repeats after 31 clocks (a maximal-length sequence, 2^n - 1).

More Analog, Digital Electronics & Microprocessors (ISRO ECE) questions

Exams that ask this topic