GATE Computer ScienceHardGATE CSE · UGC NET
A 6-bit shift register (bits Q6…Q1, shifting left) feeds back Q6 ⊕ Q4 ⊕ Q1 into Q1 on every clock. Starting from 000001, after how many clock pulses does the register first return to 000001?
- A. 63
- B. 21
- C. 31
- D. 24
Correct answer: B. 21
Simulating the register step by step, the state first repeats after 21 pulses (the feedback polynomial is not primitive, so the period is shorter than 63).
More Digital Logic questions
- How many Boolean functions f(x,y,z) of three variables depend essentially on all three variables?
- Two Boolean functions are NPN-equivalent if one can be obtained from the other by permuting inputs, negating any inputs and/or negating…
- Two Boolean functions are NPN-equivalent if one can be obtained from the other by permuting inputs, negating any inputs and/or negating…
- A Boolean function of 4 variables is bent if its Walsh–Hadamard spectrum has constant absolute value, i.e. it differs from every affine…
- A function is unate if, for each variable, it is either monotone increasing or monotone decreasing in that variable (a variable it ignores…
- A threshold function is f(x) = 1 iff w1·x1 + w2·x2 + w3·x3 ≥ T for some real weights and threshold. How many of the 256 Boolean functions…