GateAI
Combinational and Sequential Circuits

GATE CSE 2026 Set 2 · Q59

NAT2 marksMedium

Time

Consider the digital circuit shown below with two input lines A and B, two select lines S0 and S1, and an output line Y. The blocks Q and M represent active high 2:4 decoder and 4-to-1 multiplexer, respectively. Out of 16 possible input combinations, the number of combinations that produce Y=1 is ________. (answer in integer) Note: One input combination is an instance of [A B S1 S0].

GATE CSE 2026 Set 2 Q59 diagram

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 6

Combinational and Sequential Circuits

Let the inputs to the 2:42:4 active-high decoder QQ be AA and BB. Its outputs are:

  • D0=A‾ B‾D_0 = \overline{A}\,\overline{B}

  • D1=A‾BD_1 = \overline{A}B

  • D2=AB‾D_2 = A\overline{B}

  • D3=ABD_3 = AB

The 44-to-11 multiplexer MM has select lines S1S_1 (MSB) and S0S_0 (LSB), and data inputs:

  • I0=D0=A‾ B‾I_0 = D_0 = \overline{A}\,\overline{B}

  • I1=0I_1 = 0

  • I2=1I_2 = 1

  • I3=D3=ABI_3 = D_3 = AB

The Boolean expression for output YY is:

Y=S1‾ S0‾⋅I0+S1‾ S0⋅I1+S1 S0‾⋅I2+S1 S0⋅I3Y = \overline{S_1}\,\overline{S_0}\cdot I_0 + \overline{S_1}\,S_0\cdot I_1 + S_1\,\overline{S_0}\cdot I_2 + S_1\,S_0\cdot I_3
Y=S1‾ S0‾(A‾ B‾)+0+S1 S0‾(1)+S1 S0(AB)Y = \overline{S_1}\,\overline{S_0}(\overline{A}\,\overline{B}) + 0 + S_1\,\overline{S_0}(1) + S_1\,S_0(AB)

Now we evaluate the number of combinations of [A,B,S1,S0][A, B, S_1, S_0] that make Y=1Y = 1:

  1. Case S1S0=00S_1S_0 = 00: Y=A‾ B‾=1  ⟹  (A,B)=(0,0)Y = \overline{A}\,\overline{B} = 1 \implies (A, B) = (0, 0). This gives 1 combination: [0 0 0 0].

  2. Case S1S0=01S_1S_0 = 01: Y=0Y = 0. This gives 0 combinations.

  3. Case S1S0=10S_1S_0 = 10: Y=1Y = 1 regardless of AA and BB. This gives all 4 combinations: [0 0 1 0], [0 1 1 0], [1 0 1 0], [1 1 1 0].

  4. Case S1S0=11S_1S_0 = 11: Y=AB=1  ⟹  (A,B)=(1,1)Y = AB = 1 \implies (A, B) = (1, 1). This gives 1 combination: [1 1 1 1].

Total number of combinations producing Y=1Y = 1 is 1+0+4+1=61 + 0 + 4 + 1 = 6.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Combinational and Sequential Circuits previous year question is Q59 of the GATE CSE 2026 Set 2 paper. Find more GATE CSE PYQs on Combinational and Sequential Circuits in Digital Logic, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Combinational and Sequential Circuits PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Combinational and Sequential Circuits in GATE CSE

Combinational and Sequential Circuits has 32 GATE CSE PYQs across 22 papers from 2011 to 2026. 4 of them are 2-mark NAT questions like this one, and it is the only one in GATE CSE 2026 Set 2.

How GATE tests Combinational and Sequential Circuits

More from GATE CSE 2026 Set 2

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2026 Set 2 · Q59 · NAT

Consider the digital circuit shown below with two input lines A and B, two select lines S0 and S1, and an output line Y. The blocks Q and M represent active high 2:4 decoder and 4-to-1 multiplexer, respectively. Out of 16 possible input combinations, the number of combinations that produce Y=1 is … (answer in integer) Note: One input combination is an instance of [A B S1 S0].

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.