GATE / CS ARCHIVE

GATE CSE 2021 SET 2 / QUESTION 5

GATE CSE 2021 Set 2 Q5

Digital Logic · Combinational Circuits · Full GATE CSE 2021 Set 2 paper

GATE 2021 Set 2, Q5 1 mark · MCQ
Report issue

Combinational Circuits

Question 5, GATE 2021: Implement f(x,y,z)=Σm(0,1,3,4,5,6), with x the most significant minterm bit, using a 4:1 mux with selectors S1=y,S0=z. Candidate input tuples (I0,I1,I2,I3): A (1,1,x,¬x); B (x,1,¬x,1); C (1,1,¬x,x); D (¬x,1,x,1).
Tap to enlarge
Your answer
Answer & solution

Official answer: A

With selectors y, z, the paired minterms for yz=00 and 01 both produce 1 for either x. For yz=10 only x=1 is included, so input 2 is x. For yz=11 only x=0 is included, so input 3 is ¬x. Therefore the four mux inputs are 1, 1, x,¬x, exactly A.

List truth values in selector groups: yz=00 selects minterms 0,4; yz=01 selects 1,5; yz=10 selects 2,6; yz=11 selects 3,7. Their outputs versus x are (1,1),(1,1),(0,1),(1,0). This is Shannon expansion with two selection variables. A gate equivalent is ¬y∨(x∧¬z)∨(¬x∧z), with redundant coverage allowed.

Original paper, page 57 · Answer key