GATE 2019 CS – Question 16
Which one of the following is NOT a valid identity?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) $(x+y)\oplus z=x\oplus(y+z)$
Explanation
XOR is associative (A), $x\oplus y=x+y$ when $x$ and $y$ are never both 1 (C), and $x\oplus y=\overline{xy+x'y'}$ (D). For B, take $x=0,y=1,z=1$: $(x+y)\oplus z=1\oplus1=0$ but $x\oplus(y+z)=0\oplus1=1$, so B is not an identity.