Which of the following logical expressions is incorrect ?

2016

Which of the following logical expressions is incorrect ?

  1. A.

    1 ⊕ 0 = 1

  2. B.

    1 ⊕ 1 ⊕ 1 = 1

  3. C.

    1 ⊕ 1 ⊕ 0 = 1

  4. D.

    1 ⊕ 1 = 0

Attempted by 362 students.

Show answer & explanation

Correct answer: C

The XOR symbol denotes exclusive OR, which outputs 1 only if inputs differ. For option C, the expression 1 ⊕ 1 evaluates to 0 before XORing with 0. This results in a final value of 0, contradicting the statement that it equals 1.

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

Explore the full course: Mppsc Assistant Professor