Skip to content
Official PYQ · 2006

GATE CS 2006 Q37 — Combinational Circuits

Explain with AI

Consider the circuit in the diagram. The ⊕\oplus operator represents Ex-OR. The D flip-flops are initialized to zeroes (cleared).

The following data: 100110000100110000 is supplied to the “data” terminal in nine clock cycles. After that the values of q2q1q0q_{2}q_{1}q_{0} are:

Choose one option
View worked solution

Answer: C

From the given sequential circuit, we can determine the input equations for each D flip-flop:

  • D2=data⊕q0D_2 = \text{data} \oplus q_0
  • D1=q2D_1 = q_2
  • D0=q1D_0 = q_1

The flip-flops are initialized to q2q1q0=000q_2 q_1 q_0 = 000. The input sequence 100110000100110000 is processed from left to right (MSB first) over 9 clock cycles:

Clock CycleInput (data)q2q_2q1q_1q0q_0
Initial—000
11100
20010
30001
41000
51100
60010
70001
80100
90010

After 9 clock cycles, the state of the flip-flops is q2q1q0=010q_2 q_1 q_0 = 010.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Combinational Circuits questions