Which of the following is not a valid rule of XOR?

2008

Which of the following is not a valid rule of XOR?

  1. A.

    0 XOR 0 = 0

  2. B.

    1 XOR 1 = 1

  3. C.

    1 XOR 0 = 1

  4. D.

    B XOR B = 0

Attempted by 410 students.

Show answer & explanation

Correct answer: B

XOR (Exclusive OR) logic produces an output of 1 only when the inputs differ. When both inputs are identical, such as 1 XOR 1 or 0 XOR 0, the output is always 0. Therefore, any rule claiming that 1 XOR 1 equals 1 is invalid.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Isro