Which one of the following logic expression is incorrect?
Answer: B
Correct answer: 1 ⊕ 1 ⊕ 0 = 1
XOR gives 1 when an odd number of its arguments is 1. Here two of the three are 1, an even number, so the result is 0, not 1. Checking the others: \(1\oplus 0 = 1\) (one 1), \(1\oplus 1\oplus 1 = 1\) (three 1s), and \(1\oplus 1 = 0\) (two 1s).
Please log in or register to report this question.