GATE Computer ScienceHardGATE CS
A synchronous 3-bit counter has next-state equations D2 = Q1 ⊕ Q0, D1 = Q2 and D0 = Q1' (state Q2 Q1 Q0). Let c be the number of states in the cycle that contains 000 and k the number of power-up states from which the counter can never reach 000. What is (c, k)?
- A. (8, 0)
- B. (7, 1)
- C. (6, 2)
- D. (7, 0)
Correct answer: B. (7, 1)
The transitions are 000→001→101→111→010→100→011→000, a cycle of 7 states. The eighth state, 110, maps to itself (D2 = 1, D1 = 1, D0 = 0), so the counter locks there and never reaches 000: k = 1.
More Digital Logic questions
- A ring of 6 combinational blocks with delays 4, 7, 3, 5, 2 and 6 ns has 3 registers that may be repositioned anywhere on the ring by…
- A transparent-high D latch and a rising-edge D flip-flop both receive the same D signal and clock. The clock is high during 0–10, 20–30…
- What is the Excess-3 code of the decimal number 592?
- What is the 8-bit two's complement representation of −45?
- What is the minimum number of flip-flops needed to build a synchronous counter that counts through 37 distinct states?
- What is the 4-bit Gray code of the binary number 1101 (decimal 13)?