Skip to content
Official PYQ · 2026

GATE CS 2026 Set 2 Q49 — Combinational Circuits

Explain with AI

Consider the digital circuit shown below with two input lines A\text{A} and B\text{B}, two select lines S0\text{S0} and S1\text{S1}, and an output line Y\text{Y}. The blocks Q\text{Q} and M\text{M} represent active high 2:42:4 decoder and 44-to-11 multiplexer, respectively. Out of 1616 possible input combinations, the number of combinations that produce Y=1\mathrm{Y}=1 is ______\_\_\_\_\_\_ (answer in integer)

Note: One input combination is an instance of [A B S1 S0\text{A B S1 S0}].

View worked solution

Answer: 6:6

The active-high 2:42:4 decoder QQ with inputs AA (MSB) and BB (LSB) produces the following outputs:

  • D0=AˉBˉD_0 = \bar{A}\bar{B}
  • D1=AˉBD_1 = \bar{A}B
  • D2=ABˉD_2 = A\bar{B}
  • D3=ABD_3 = AB

From the circuit diagram, the inputs to the 44-to-11 multiplexer MM are:

  • I0=I2=D1+D3=AˉB+AB=BI_0 = I_2 = D_1 + D_3 = \bar{A}B + AB = B (via the OR gate)
  • I1=D0=AˉBˉI_1 = D_0 = \bar{A}\bar{B}
  • I3=D2=ABˉI_3 = D_2 = A\bar{B}

The output YY of the multiplexer with select lines S1,S0S_1, S_0 is given by:

Y=S1ˉS0ˉI0+S1ˉS0I1+S1S0ˉI2+S1S0I3Y = \bar{S_1}\bar{S_0}I_0 + \bar{S_1}S_0I_1 + S_1\bar{S_0}I_2 + S_1S_0I_3

Substituting the values, we analyze the combinations of [A B S1 S0][A\ B\ S_1\ S_0] that make Y=1Y = 1 for each select line state:

  1. S1S0=00S_1S_0 = 00: Y=B  ⟹  Y = B \implies 22 combinations: (0,1,0,0)(0, 1, 0, 0) and (1,1,0,0)(1, 1, 0, 0).
  2. S1S0=01S_1S_0 = 01: Y=AˉBˉ  ⟹  Y = \bar{A}\bar{B} \implies 11 combination: (0,0,0,1)(0, 0, 0, 1).
  3. S1S0=10S_1S_0 = 10: Y=B  ⟹  Y = B \implies 22 combinations: (0,1,1,0)(0, 1, 1, 0) and (1,1,1,0)(1, 1, 1, 0).
  4. S1S0=11S_1S_0 = 11: Y=ABˉ  ⟹  Y = A\bar{B} \implies 11 combination: (1,0,1,1)(1, 0, 1, 1).

Summing these up, the total number of combinations producing Y=1Y = 1 is 2+1+2+1=62 + 1 + 2 + 1 = 6.

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

Published
Report a correction
Keep exploringMore Combinational Circuits questions