GATE / CS ARCHIVE

GATE CSE 2024 SET 1 / QUESTION 64

Collapse constant-input multiplexers

Digital Logic · Combinational Circuits · Full GATE CSE 2024 Set 1 paper

GATE 2024 Set 1, Q64 2 marks · NAT
Report issue

Combinational Circuits

Question 64, GATE 2024: M1 selects X1 for A=0 and X2 for A=1, giving Q1. M2 selects X3 for B=0 and X4 for B=1, giving Q2. M3 selects Q1 for C=0 and Q2 for C=1, giving Y. With X1=X2=1 and X3=X4=0, how many assignments to (A,B,C) give Y=1?
Tap to enlarge
Answer & solution

Official answer: 4

Approach: Evaluate the first-stage multiplexers before enumerating the three select bits.
1. A 2-to-1 multiplexer outputs one of its two data inputs according to its select bit. Since both M1 inputs are 1, Q1=1 whether A is 0 or 1.
2. Both M2 inputs are 0, so Q2=0 whether B is 0 or 1.
3. The final multiplexer has data inputs Q1=1 on its 0 port and Q2=0 on its 1 port. Thus Y=(NOT C)·1+C·0=NOT C.
4. Therefore Y=1 exactly when C=0. A and B remain arbitrary, giving 2×2×1=4 assignments: (0,0,0), (0,1,0), (1,0,0), (1,1,0).
Answer: 4. Although there are three select bits, only C affects the output for these fixed data inputs. The port labels in the source determine which value of C produces 1.

Original paper, page 36 · Answer key