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?
- A. 6
- B. 3
- C. 9
- 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
- What is the minimum number of 2-input NAND gates needed to realise a 2-input XOR gate (no other gate types, complemented inputs not…
- A Mealy machine detects the sequence 1011 with overlap allowed and outputs 1 when the last four inputs are 1011. For the input stream…
- A 3-bit synchronous machine Q2Q1Q0 uses D flip-flops with D2 = Q1, D1 = Q0 and D0 = (Q2 ⊕ Q1)′. Starting from 001, how many distinct…
- A 5-input function F(A,B,C,D,E) is 1 exactly when the unsigned number ABCDE (A is the MSB, 0 counts as divisible) is divisible by 3 or by…
- What is the minimum total number of literals in a sum-of-products expression for F(A,B,C,D) = Σm(0,2,3,5,7,8,10,11,13,15) with don't-cares…
- How many Boolean functions of four variables are monotone (changing an input from 0 to 1 never changes the output from 1 to 0), including…