Which of the following logical expressions is incorrect ?
2016
Which of the following logical expressions is incorrect ?
- A.
1 ⊕ 0 = 1
- B.
1 ⊕ 1 ⊕ 1 = 1
- C.
1 ⊕ 1 ⊕ 0 = 1
- 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.