Similar questions 7 more →
Combinational Circuits

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.