GATE / CS ARCHIVE

GATE CSE 2019 / QUESTION 6

Testing a proposed Boolean identity

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

GATE 2019, Q6 1 mark · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 6, GATE 2019: Let + mean Boolean OR, juxtaposition mean AND, prime mean NOT, and ⊕ mean XOR. Identify the invalid identity: A (x⊕y)⊕z = x⊕(y⊕z); B (x+y)⊕z = x⊕(y+z); C x⊕y = x+y when xy=0; D x⊕y = (xy+x′y′)′.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Method: a universal identity is disproved by one assignment; valid alternatives can be checked from XOR's meaning.

1. For B, set x = 1, y = 1, z = 0. The left side is (1 OR 1) XOR 0 = 1 XOR 0 = 1. The right side is 1 XOR (1 OR 0) = 1 XOR 1 = 0. The two sides differ, so B is invalid.
2. A is XOR associativity. Both sides indicate whether an odd number of x, y, z are one, independent of grouping.
3. For C, xy = 0 excludes the only assignment, x = y = 1, on which OR and XOR differ. Therefore the conditional identity is valid.
4. In D, xy + x′y′ is true exactly when x and y agree: both one or both zero. Complementing that equality condition gives XOR, which is true exactly when they differ.

Result: B. XOR is associative with itself, but mixing it with OR does not preserve that associativity pattern.

Original paper, page 5 · Answer key