Electrical – 3-input XOR gate truth table

digital-logiclogic-gates

Given the truth table for a 3-input XOR, how come the output is 1 when all inputs are 1? This doesn't logically extend from a 2-input XOR where output is 0 when all inputs are 1. Is there a way to understand this intuitively, or do we need kmaps etc?

xor
(source: electronicshub.org)

Best Answer

It may help to break it down: first do \$ A \oplus B = 1 \oplus 1 = 0 \$. Then we have \$ 0 \oplus C = 0 \oplus 1 = 1 \$.