GATE / CS ARCHIVE

GATE CSE 2016 SET 2 / QUESTION 8

GATE CSE 2016 Set 2 Q8

Digital Logic · Boolean Algebra & Logic Gates · Full GATE CSE 2016 Set 2 paper

GATE 2016 Set 2, Q8 1 mark · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 8, GATE 2016: Boolean variables satisfy x1⊕x2⊕x3⊕x4=0. Which always holds? A x1x2x3x4=0; B x1x3+x2=0; C ¬x1⊕¬x3=¬x2⊕¬x4; D x1+x2+x3+x4=0. Juxtaposition is AND and + is OR.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

XOR parity zero means x1 XOR x3=x2 XOR x4. Complementing both inputs of either XOR leaves its value unchanged, giving ¬x1 XOR ¬x3=¬x2 XOR ¬x4, C. All four variables 1 satisfies the premise but refutes A, B, D.

XOR is addition modulo two. Moving terms across the equality means XORing both sides with the same terms, not ordinary subtraction. Also (¬u)⊕(¬v)=(u⊕1)⊕(v⊕1)=u⊕v because 1⊕1=0. This algebra proves C for every even-parity input, not just a sample assignment.

Original paper, page 27 · Answer key