Which of the following logic expressions is incorrect?
(A) 1 ⊕ 0 = 1
(B) 1 ⊕ 1 ⊕ 1 = 1
(C) 1 ⊕ 1 ⊕ 0 = 1
(D) 1 ⊕ 1 = 0
Answer: (C)
Explanation: We know that x ⊕ y = x`y + xy`
So,
- 1 ⊕ 0 = 1`0 + 10` = 0 * 0 + 1 * 1 = 0 + 1 = 1
- 1 ⊕ 1 ⊕ 1 = (1 ⊕ 1) ⊕ 1 = (1`1 + 11`) ⊕ 1 = (0) ⊕ 1 = 1`0 + 10` = 0 * 0 + 1 * 1 = 0 + 1 = 1
- 1 ⊕ 1 ⊕ 0 = 1 ⊕ (1 ⊕ 0 ) = 1 ⊕ ( 1`0 + 10` = 0 * 0 + 1 * 1 = 0 + 1 ) = 1 ⊕ 1 = 1`1 + 11` = 0
- 1 ⊕ 1 = 1`1 + 11` = 0
So, option (C) is correct.
Quiz of this Question