Let and denote the Exclusive OR and Exclusive NOR operations, respectively. Which one of the following is NOT CORRECT?
- (A)
- (B)
- (C)
- (D)
Let and denote the Exclusive OR and Exclusive NOR operations, respectively. Which one of the following is NOT CORRECT?
ANSWER
Option (D) is NOT correct: its left side equals and its right side equals .
Official answer: DSource: Official answer key, GATE 2018 CS (IIT Guwahati)
By definition, , so (A) is true.
Complementing one input of an XOR complements the output, so . (B) is true.
Complementing both inputs of an XOR changes nothing, because the two complements cancel: . (C) is true.
(D), left side: , so .
(D), right side: , so .
The left side is and the right side is . They are never equal, so (D) is the statement that is NOT correct.
KEY IDEA
and . XNOR is the complement of XOR. Complementing one XOR input complements the output, and complementing both leaves it unchanged.
WATCH OUT FOR
Treating as 1, or forgetting that XNOR with 0 complements the other input. Both slips make the two sides of (D) look equal.
From the GATE 2018 CS paper. Every question of this paper · Download the full paper · All 37 Boolean logic questions, with notes