GATE / CS ARCHIVE

GATE CSE 2013 / QUESTION 21

XOR and XNOR complements

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

GATE 2013, Q21 1 mark · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 21, GATE 2013: Which does not represent XNOR(x, y)? A xy+¬x¬y; B x XOR ¬y; C ¬x XOR y; D ¬x XOR ¬y.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Complementing exactly one XOR input produces XNOR, while complementing both leaves XOR unchanged: x′⊕y′=x⊕y. Also xy+x′y′ is XNOR. Thus only D fails to represent XNOR.

XNOR is 1 exactly on equal inputs 00 and 11. Complementing both XOR operands does not change whether they differ, so ¬x XOR ¬y has the same truth values as x XOR y:0, 1, 1, 0. It therefore disagrees with XNOR on every row. Complementing one input toggles equality versus inequality and produces XNOR. The sum xy+¬x¬y directly lists the two equal-input cases.

Original paper, page 5 · Answer key