GATE Computer ScienceHardGATE CSE
A 6-bit Johnson counter Q0…Q5 starts at 000000 and shifts right on each clock, feeding the complement of Q5 into Q0. What is Q0Q1Q2Q3Q4Q5 after 20 clock pulses?
- A. 001111
- B. 111000
- C. 000111
- D. 110000
Correct answer: A. 001111
The sequence has period 12, so 20 pulses equal 8 pulses; after 8 pulses the state is 001111.
More Digital Logic questions
- 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…
- 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…