Skip to content
Official PYQ · 2016

GATE CS 2016 Set 2 Q08 — Boolean Algebra

Explain with AI

Let, x1⊕x2⊕x3⊕x4=0x_{1} ⊕ x_{2} ⊕ x_{3} ⊕ x_{4}= 0 where x1,x2,x3,x4x_{1}, x_{2}, x_{3}, x_{4} are Boolean variables, and ⊕⊕ is the XOR operator.

Which one of the following must always be TRUE?

Choose one option
View worked solution

Answer: C

We are given the Boolean equation:

x1⊕x2⊕x3⊕x4=0x_1 \oplus x_2 \oplus x_3 \oplus x_4 = 0

Using the properties of the XOR (⊕\oplus) operator, let us analyze the options.

Step 1: Simplify the given equation

Since XOR is commutative and associative, we can rearrange the terms:

(x1⊕x3)⊕(x2⊕x4)=0(x_1 \oplus x_3) \oplus (x_2 \oplus x_4) = 0

For any two Boolean expressions AA and BB, if A⊕B=0A \oplus B = 0, then A=BA = B. Thus, we have:

x1⊕x3=x2⊕x4— (Equation 1)x_1 \oplus x_3 = x_2 \oplus x_4 \quad \text{--- (Equation 1)}

Step 2: Analyze Option C

Option C states: xˉ1⊕xˉ3=xˉ2⊕xˉ4\bar{x}_1 \oplus \bar{x}_3 = \bar{x}_2 \oplus \bar{x}_4.

Recall the complement property of XOR: Aˉ=A⊕1\bar{A} = A \oplus 1. Therefore:

xˉ1⊕xˉ3=(x1⊕1)⊕(x3⊕1)=x1⊕x3⊕1⊕1=x1⊕x3\bar{x}_1 \oplus \bar{x}_3 = (x_1 \oplus 1) \oplus (x_3 \oplus 1) = x_1 \oplus x_3 \oplus 1 \oplus 1 = x_1 \oplus x_3

Similarly, for the right-hand side:

xˉ2⊕xˉ4=x2⊕x4\bar{x}_2 \oplus \bar{x}_4 = x_2 \oplus x_4

Substituting these back into Option C gives:

x1⊕x3=x2⊕x4x_1 \oplus x_3 = x_2 \oplus x_4

This is identical to Equation 1, which is derived directly from the given condition. Hence, Option C must always be TRUE.

Step 3: Eliminate other options using a counterexample

Let x1=1,x2=1,x3=1,x4=1x_1 = 1, x_2 = 1, x_3 = 1, x_4 = 1.

  • Check condition: 1⊕1⊕1⊕1=0⊕0=01 \oplus 1 \oplus 1 \oplus 1 = 0 \oplus 0 = 0 (Satisfied).
  • Option A: x1x2x3x4=1⋅1⋅1⋅1=1≠0x_1 x_2 x_3 x_4 = 1 \cdot 1 \cdot 1 \cdot 1 = 1 \neq 0 (False).
  • Option B: x1x3+x2=(1⋅1)+1=1≠0x_1 x_3 + x_2 = (1 \cdot 1) + 1 = 1 \neq 0 (False).
  • Option D: x1+x2+x3+x4=1+1+1+1=1≠0x_1 + x_2 + x_3 + x_4 = 1 + 1 + 1 + 1 = 1 \neq 0 (False).

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Boolean Algebra questions