GATE / CS ARCHIVE

GATE CSE 2017 SET 1 / QUESTION 33

GATE CSE 2017 Set 1 Q33

Digital Logic · Flip-Flops, Registers & Sequential Circuits · Full GATE CSE 2017 Set 1 paper

GATE 2017 Set 1, Q33 2 marks · MCQ
Report issue

Flip-Flops, Registers & Sequential Circuits

Question 33, GATE 2017: Two flip-flops share a clock. T flip-flop output Q1 feeds the D input; D flip-flop output Q0 feeds the T input. Initial Q1Q0=11 before cycle 1. Select states after cycles 3 and 4: A (11,00); B (11,01); C (00,11); D (01,01).
Tap to enlarge
Your answer
Answer & solution

Official answer: B

1. A T flip-flop toggles when T=1 and holds when T=0, so Q1(next)=Q1 XOR Q0. A D flip-flop copies its input, so Q0(next)=Q1.

2. Both right-hand sides use the old state at the same clock edge. Starting 11, edge 1 gives 01, edge 2 gives 10, and edge 3 gives 11.

3. Edge 4 repeats the first transition and gives 01. Therefore the requested pair is (11,01), B. Updating one flip-flop before computing the other would incorrectly mix old and new states.

Original paper, page 15 · Answer key