GATE / CS ARCHIVE

GATE CSE 2023 / QUESTION 21

GATE CSE 2023 Q21

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

GATE 2023, Q21 1 mark · MCQ
Report issue

Flip-Flops, Registers & Sequential Circuits

Question 21, GATE 2023: A 2:1 multiplexer has its output Q fed to input 0 and external data D at input 1, controlled by S. Is it equivalent to A a D flip-flop; B a D latch; C a half-adder; D a demultiplexer?
Tap to enlarge
Your answer
Answer & solution

Official answer: B

The feedback wire reaches mux input 0 and the external data wire reaches input 1. When S=0 the output feeds itself, holding the stored value; when S=1 the output follows the data continuously. This is a level-sensitive D latch, not an edge-triggered flip-flop.

Teaching detail. The mux equation is Qnext=(NOT S)Q+SD. At S=0 it reduces to Qnext=Q, providing storage through feedback. At S=1 it reduces to Qnext=D, so changes in D can propagate for the whole enabled level. An edge-triggered device would sample only at a clock transition, which this circuit does not implement. Calling the component a latch also assumes ordinary stable operation of the feedback circuit rather than treating its loop as a feed-forward combinational expression.

Original paper, page 19 · Answer key