Last Updated : 20 Nov, 2018

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. 1 ⊕ 0 = 1`0 + 10` = 0 * 0 + 1 * 1 = 0 + 1 = 1
  2. 1 ⊕ 1 ⊕ 1 = (1 ⊕ 1) ⊕ 1 = (1`1 + 11`) ⊕ 1 = (0) ⊕ 1 = 1`0 + 10` = 0 * 0 + 1 * 1 = 0 + 1 = 1
  3. 1 ⊕ 1 ⊕ 0 = 1 ⊕ (1 ⊕ 0 ) = 1 ⊕ ( 1`0 + 10` = 0 * 0 + 1 * 1 = 0 + 1 ) = 1 ⊕ 1 = 1`1 + 11` = 0
  4. 1 ⊕ 1 = 1`1 + 11` = 0
  5. So, option (C) is correct.

    Quiz of this Question


    Share your thoughts in the comments