GATE / CS ARCHIVE

SIMILAR QUESTIONS / DIGITAL LOGIC

Evaluate multiplexer networks by cofactors

8 questions solved the same way, newest first. Back to Digital Logic

How these are solved

For each selector assignment choose its numbered data input, honor enable polarity, recursively substitute cascaded mux outputs, then combine cofactors and simplify or count ON assignments. Known data inputs and selector wiring are supplied.

2 marks · NAT
Report issue

Counting high outputs of a decoder and multiplexer

Combinational Circuits

Question 59, GATE 2026: A,B feed an active-high 2-to-4 decoder with outputs D0…D3. A 4-to-1 multiplexer, selected by S1S0, has input 0=D0, input 1=constant 0, input 2=constant 1, input 3=D3. Of all 16 assignments to A,B,S1,S0, how many give Y=1?
Tap to enlarge
Answer & solution

Official answer: 6

Givens and goal

A,B feed an active-high 2-to-4 decoder with outputs D0…D3. A 4-to-1 multiplexer, selected by S1S0, has input 0=D0, input 1=constant 0, input 2=constant 1, input 3=D3. Of all 16 assignments to A,B,S1,S0, how many give Y=1?

Approach

Partition by the two selector bits and count high outputs in each group.

Step-by-step solution

1. For every decoder input AB exactly one decoder output is high. In particular D0 is high for one of the four AB combinations, and D3 is high for one of the four. They correspond to 00 and 11 in the conventional ordering.
2. When S1S0=00, the multiplexer outputs D0, so exactly one AB assignment gives Y=1. When S1S0=01, it outputs the tied-low input and gives no high outputs.
3. When S1S0=10, it outputs the tied-high input, so all four AB assignments give Y=1. When S1S0=11, it outputs D3, contributing one more assignment.
4. The selector cases are disjoint and cover all 16 inputs. Add their favorable counts: 1+0+4+1=6. There is no need to multiply decoder and multiplexer probabilities or assume random inputs; this is a truth-table count.
5. The unused D1,D2 lines do not replace the constants tied directly to multiplexer inputs 1 and 2.

Original paper, page 40 · Answer key

2 marks · NAT
Report issue

Collapse constant-input multiplexers

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

2 marks · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 30, GATE 2016: Two 2-to-1 multiplexers are cascaded. The first has select P, input 0 tied to 0 and input 1 tied to R. Its output feeds input 1 of the second multiplexer. The second has select Q and input 0 tied to ¬R; output is X. Find the minimal SOP. A: ¬P¬Q+PQR. B: ¬PQ+QR. C: PQ+¬P¬QR. D: ¬Q¬R+PQR. A select 0 chooses input 0, and select 1 chooses input 1.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

The first mux selects 0 for P=0 and R for P=1, giving PR. The second selects ¬R for Q=0 and PR for Q=1. Therefore X=¬Q¬R+PQR, D. The isolated 111 minterm requires PQR, and the two minterms with Q=R=0 require the other implicant, so this SOP is minimal.

A2:1 mux implements ¬s·I0+s·I1. Applying that equation once gives PR and applying it again gives ¬Q¬R+QPR. In PQR order the 1-minterms are 000,100,111. The first two differ only in P and combine to ¬Q¬R. The 111 minterm has no neighboring 1-minterm and must remain the three-literal term PQR. This verifies both equivalence and minimality, rather than merely matching an option's algebraic shape.

Original paper, page 13 · Answer key

2 marks · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 45, GATE 2014: A 4-to-1 multiplexer has select lines S₁=P and S₀=Q. Data inputs numbered 0,1,2,3 are respectively 0,1,R,R̅, and output is F. Choose the minimal sum of products. A: P̅Q+QR̅+PQ̅R. B: P̅Q+P̅QR̅+PQR̅+PQ̅R. C: P̅QR+P̅QR̅+QR̅+PQ̅R. D: PQR̅.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

1. Method and setup. Enumerate the four select cases 00,01,10,11. Only the last three contribute nonzero outputs: data 1 contributes P̅Q, data R contributes PQ̅R, and data R̅ contributes PQR̅. Simplify this canonical mux expansion, taking care that the select bit order is P then Q.

2. Work through the result and its assumptions. Select inputs are P, Q and data inputs 0, 1, R, R′. Thus F=P′Q+PQ′R+PQR′. The first and third terms combine through P′Q+PQR′=Q(P′+PR′)=P′Q+QR′. Hence F=P′Q+QR′+PQ′R, option A. The minterm P=1, Q=0, R=1 is isolated and requires the three-literal term; the remaining on-set requires two additional implicants, establishing minimality.

Original paper, page 19 · Answer key

1 mark · MCQ
Report issue

Four-to-one multiplexer parity

Combinational Circuits

Question 9, GATE 2010: A 4-to-1 multiplexer has data inputs I₀=R, I₁=¬R, I₂=¬R, I₃=R. The select inputs are S₁=P and S₀=Q (S₁ is the more significant selection bit). Find its output f.
Options: (A) ¬(P⊕Q⊕R); (B) P⊕Q⊕R; (C) P+Q+R; (D) ¬(P+Q+R).
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

The select bits are S₁=P and S₀=Q. Inputs 0 and 3 equal R, while inputs 1 and 2 equal R̄. Thus f=R when P=Q and f=R̄ when P≠Q, exactly f=P⊕Q⊕R, option B.

The four select combinations are PQ=00→R, 01→¬R, 10→¬R, 11→R. XOR with P⊕Q flips R exactly in the middle two cases, establishing the answer for both possible R values. For example P=Q=R=0 yields f=0, immediately excluding the complemented-XOR and complemented-OR choices.

Original paper, page 3

2 marks · MCQ
Report issue

Two cascaded multiplexers

Combinational Circuits

Question 35, GATE 2006: Two 2:1 multiplexers are cascaded. The first has input 0=x, input 1=¬y and select=z. Its output drives input 0 of the second; second input 1=x and select=y. A select value of 0 chooses input 0. Which expression represents output f(x,y,z)? Here + means OR and juxtaposition AND.
Options:
(A) x¬z+xy+¬yz
(B) x¬z+xy+¬(yz)
(C) xz+xy+¬(yz)
(D) xz+x¬y+¬yz
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. The first mux outputs x¬z+¬yz. The second selects that output when y=0 and x when y=1, giving f=¬y(x¬z+¬yz)+xy=x¬y¬z+¬yz+xy.

2. By absorption/consensus this equals x¬z+xy+¬yz, option A. The first mux’s lower input is complemented y, not y.

3. Teaching check: For a 2:1 mux use output=¬select·input 0+select·input 1. Apply this formula first to z, then to y. Keeping the complemented lower input of the first mux is essential; overlooking that inversion changes the truth table.

Original paper, page 5

2 marks · MCQ
Report issue

Multiplexer with an enable input

Combinational Circuits

Question 2.2, GATE 2002: A 4-to-1 multiplexer selects I₀,I₁,I₂,I₃ for A₁A₀=00,01,10,11 respectively. The diagram connects I₀=I₁=x, I₂=y, I₃=y′, A₁=y′, A₀=z, and enable EN=z′. Its output is f(x,y,z). Which function is implemented?
(A) xyz′; (B) xy+z; (C) x+y; (D) None of these.
The drawing labels EN as an enable input but does not explicitly state the disabled-output convention.
Question 2.2, GATE 2002: A 4-to-1 multiplexer selects I₀,I₁,I₂,I₃ for A₁A₀=00,01,10,11 respectively. The diagram connects I₀=I₁=x, I₂=y, I₃=y′, A₁=y′, A₀=z, and enable EN=z′. Its output is f(x,y,z). Which function is implemented?
(A) xyz′; (B) xy+z; (C) x+y; (D) None of these.
The drawing labels EN as an enable input but does not explicitly state the disabled-output convention.
Tap to enlarge
Your answer
Answer & solution

Answer: A under the conventional enable model (no official key was published)

Step 1: Split by enable, then by the select bit.

Step 2: For z=1, EN=0 and the assumed Boolean disabled output is 0. For z=0, A0=0; if y=0 then A1=1, selecting input I2=0, while y=1 makes A1=0 and selects I0=x. Thus the only way to output 1 is x=y=1,z=0. The explicit disabled-output convention is needed because a high-impedance device is not modeled by this truth table.

Conclusion: The shown connections are I0=I1=x, I2=y, I3=y′, A1=y′, A0=z, and EN=z′. With active-high enable and output forced 0 while disabled, z=1 makes f=0. When z=0, y=0 selects I2=0 and y=1 selects I0=x. Thus f=xyz′, A. A tristate disabled output would instead be high impedance; that behavior is not the Boolean-output model used here.

Original paper, page 3

2 marks · MCQ
Report issue

Composition of two multiplexers

Combinational Circuits

Question 2.11, GATE 2001: A 2:1 mux computes ac′+bc. First mux has a=1,b=0,c=x1. Its output supplies a of a second mux, whose b=x1 and c=x2. Choose f from x1′+x2; x1′x2+x1x2′; x1x2+x1′x2′; x1+x2′.
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

Step 1: The supplied mux equation is output=a·c′+b·c. In the first mux a=1,b=0,c=x1, so its output g=x1′.

Step 2: The second mux has a=g,b=x1,c=x2. Substitute to obtain f=x1′x2′+x1x2, an XNOR function.

Thus C. Its truth table is 1,0,0,1 for inputs 00,01,10,11, which also distinguishes it from XOR and the single-disjunction options.

Original paper, page 5