GATE / CS ARCHIVE

GATE CSE 2012 / QUESTION 6

Boolean function from truth table

Digital Logic · Boolean Algebra & Logic Gates · Full GATE CSE 2012 paper

GATE 2012, Q6 1 mark · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 6, GATE 2012: The truth table
                                                  X    Y     f (X, Y)
                                                  0    0         0
                                                  0    1         0
                                                  1    0         1
                                                  1    1         1
        represents the Boolean function
        (A) X                   (B) X + Y                  (C) X ⊕ Y              (D) Y
Tap to enlarge
Your answer
Answer & solution

Official answer: A

For X=0 both rows output 0, and for X=1 both rows output 1, regardless of Y. Thus f(X, Y)=X, option A.

Check: Using minterms, the two true rows give XȲ+XY. Factor X to obtain X(Ȳ+Y)=X. X+Y would wrongly output 1 on input 01, while XOR would wrongly output 0 on 11.

Original paper, page 3 · Answer key