GATE / CS ARCHIVE

GATE CSE 2024 SET 1 / QUESTION 47

Recognize the three-input majority function

Digital Logic · Logic Minimization & Karnaugh Maps · Full GATE CSE 2024 Set 1 paper

GATE 2024 Set 1, Q47 2 marks · MSQ
Report issue

Logic Minimization & Karnaugh Maps

Question 47, GATE 2024: F(X,Y,Z)=Σ(3,5,6,7), with minterm indices in XYZ binary order. Which claims are correct? A F=Π(0,1,2,4). B F=XY+YZ+XZ. C F is independent of Y. D F is independent of X.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A, B

Step through it (13 steps)

Approach: Translate the minterm indices to input assignments, then compare equivalent representations and test claimed independence.
1. The one-output assignments are 3=011, 5=101, 6=110 and 7=111. They are exactly the assignments with at least two inputs equal to 1.
2. The remaining indices 0,1,2,4 give output zero. A product of maxterms lists the zero-output indices, so F=Π(0,1,2,4). A is true.
3. XY is 1 when X and Y are both 1; YZ and XZ cover the other pairs. Their OR, XY+YZ+XZ, is therefore 1 exactly when at least two inputs are 1. B is true.
4. To disprove independence from Y, fix X=1,Z=0: then F=Y, so changing Y changes the output. Likewise with Y=1,Z=0, F=X. Thus C and D are false.
Answer: A and B. Independence requires that changing an input never changes the output, so one counterexample assignment is enough to refute it.

Original paper, page 29 · Answer key