GATE / CS ARCHIVE

GATE CSE 2000 / QUESTION 2.12

Master-slave flip-flop updates

Digital Logic · Flip-Flops, Registers & Sequential Circuits · Full GATE CSE 2000 paper

GATE 2000, Q2.12 2 marks · MCQ
Report issue

Flip-Flops, Registers & Sequential Circuits

Question 2.12, GATE 2000: A JK master-slave flip-flop P has J=K=1; its output feeds a D master-slave flip-flop Q with the shared clock. Starting(P,Q)=(0,1), find the state after three cycles from choices(1,0),(1,1),(0,0),(0,1).
Question 2.12, GATE 2000: A JK master-slave flip-flop P has J=K=1; its output feeds a D master-slave flip-flop Q with the shared clock. Starting(P,Q)=(0,1), find the state after three cycles from choices(1,0),(1,1),(0,0),(0,1).
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step 1: J=K=1 makes P toggle each cycle. Q captures the previous P through its D input; the master-slave arrangement prevents using the newly changed P as the same-cycle input.

Step 2: Apply(P_next,Q_next)=(¬P,P_old): (0,1)→(1,0)→(0,1)→(1,0).

After three cycles the state is(1,0), A. Sequentially updating Q from the new P would incorrectly erase the intended synchronous delay.

Original paper, page 4