GATE | GATE-CS-2016 (Set 2) | Question 18
Let, x1⊕x2⊕x3⊕x4 = 0 where x1, x2, x3, x4 are Boolean variables, and ⊕ is the XOR operator. Which one of the following must always be TRUE ?
(A) x1x2x3x4 = 0
(B) x1x3+x2 = 0
(D) x1+x2+x3+x4 = 0
Explanation: First we rearrange the terms,
x1⊕x2⊕x3⊕x4 = 0
x1⊕x3⊕x2⊕x4 = 0
x1⊕x3 = x2⊕x4
Then use a⊕b=a′⊕b′a⊕b=a′⊕b′ to get (C).
Another approach :
You can take a counter example to disprove other options.
You can take x1 = x2 = x3 = x4 = 1.
Only option (C) is correct.
My Personal Notes arrow_drop_up
Please Login to comment...