Question

Consider the two cascaded 2-to-1 multiplexers as shown in the figure.

Logic circuit diagram of two cascaded 2-to-1 multiplexers. The first multiplexer has select input P, data input 0 connected to logic 0, and data input 1 connected to R. The output of the first multiplexer connects to data input 1 of the second multiplexer. The second multiplexer has select input Q, data input 0 connected to R-bar (NOT R), and its output is labeled X.
Two Cascaded 2-to-1 Multiplexers

The minimal sum of products form of the output X is

Choose one option
Official answer and solution
Official answer
D
From
Official GATE 2016 answer key

Solution

Express the output of the first multiplexer and substitute it into the second multiplexer to simplify the Boolean expression.

Recall the Boolean transfer function for a 2-to-1 multiplexer with select input SS and data inputs I0,I1I_0, I_1:

Y=SˉI0+SI1Y = \bar{S} I_0 + S I_1

For MUX 1:

  • Select input: S=PS = P
  • Data input 0: I0=0I_0 = 0
  • Data input 1: I1=RI_1 = R
    Output of MUX 1:
f1=Pˉ(0)+P(R)=PRf_1 = \bar{P}(0) + P(R) = PR

For MUX 2:

  • Select input: S=QS = Q
  • Data input 0: I0=RˉI_0 = \bar{R}
  • Data input 1: I1=f1=PRI_1 = f_1 = PR
    Output of MUX 2:
X=Qˉ(Rˉ)+Q(f1)=QˉRˉ+Q(PR)=QˉRˉ+PQRX = \bar{Q}(\bar{R}) + Q(f_1) = \bar{Q}\bar{R} + Q(PR) = \bar{Q}\bar{R} + PQR

The expression QˉRˉ+PQR\bar{Q}\bar{R} + PQR is already in minimal sum-of-products (SOP) form because the two product terms cannot be combined.

Final answer

D

Common trap

Failing to account for the inverted input Rˉ\bar{R} on input 0 of MUX 2.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2016 Computer Science and Information Technology (CS) Session 1
Question
40 of 65, printed as CS Q.30
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.