GATE CS 2024 Set 1 — Question 64

NAT+2 / -0MediumMultiplexers & DemultiplexersCombinational CircuitsDigital Logic

Digital Logic → Combinational Circuits → Multiplexers & Demultiplexers

Last updated

Question

Consider a digital logic circuit consisting of three 2-to-1 multiplexers M1, M2, and M3 as shown below. X1X_1 and X2X_2 are inputs of M1. X3X_3 and X4X_4 are inputs of M2. A,B,A, B, and CC are select lines of M1, M2, and M3, respectively.
Circuit diagram with three 2-to-1 multiplexers M1, M2, M3
For an instance of inputs X1=1,X2=1,X3=0,X_1=1, X_2=1, X_3=0, and X4=0X_4=0, the number of combinations of A,B,CA, B, C that give the output Y=1Y=1 is _________

Correct answer

4 to 4

Solution

To find the number of combinations of A,B,CA, B, C that result in Y=1Y=1, we analyze the logic of the multiplexers given the specific inputs:
1.Multiplexer M1:
The output Q1Q_1 is given by the expression for a 2-to-1 MUX: Q1=AˉX1+AX2Q_1 = \bar{A}X_1 + AX_2.
Given X1=1X_1 = 1 and X2=1X_2 = 1:
Q1=Aˉ(1)+A(1)=Aˉ+A=1Q_1 = \bar{A}(1) + A(1) = \bar{A} + A = 1.
Thus, Q1Q_1 is always 11, regardless of the value of the select line AA.
2.Multiplexer M2:
The output Q2Q_2 is given by: Q2=BˉX3+BX4Q_2 = \bar{B}X_3 + BX_4.
Given X3=0X_3 = 0 and X4=0X_4 = 0:
Q2=Bˉ(0)+B(0)=0Q_2 = \bar{B}(0) + B(0) = 0.
Thus, Q2Q_2 is always 00, regardless of the value of the select line BB.
3.Multiplexer M3:
The final output YY is given by: Y=CˉQ1+CQ2Y = \bar{C}Q_1 + CQ_2.
Substituting the values of Q1Q_1 and Q2Q_2 obtained above:
Y=Cˉ(1)+C(0)=CˉY = \bar{C}(1) + C(0) = \bar{C}.
4.Condition for Y=1Y=1:
We require the output Y=1Y = 1. From the expression Y=CˉY = \bar{C}, this implies Cˉ=1\bar{C} = 1, which means C=0C = 0.
5.Counting the combinations of (A,B,C)(A, B, C):
  • The select line AA can be either 00 or 11 (22 possible values).
  • The select line BB can be either 00 or 11 (22 possible values).
  • The select line CC must be 00 (11 possible value).
The total number of combinations of (A,B,C)(A, B, C) is the product of the number of choices for each variable:
Total combinations = 2×2×1=42 \times 2 \times 1 = 4.
The specific combinations are (0,0,0),(0,1,0),(1,0,0),(0, 0, 0), (0, 1, 0), (1, 0, 0), and (1,1,0)(1, 1, 0).

More questions on Combinational Circuits

Practice GATE CS PYQs with adaptive difficulty

Timed practice, skill tracking, and AI explanations — free to start.

Start practicing free