Skip to main content

XOR

As with an OR gate the XOR gate takes two inputs. If only one of the inputs is 1 (or TRUE) then the output is 1. Otherwise the output is 0 (or FALSE).

Symbol

Truth Table

A B Y A B Y
0 0 0 FALSE FALSE FALSE
0 1 1 or FALSE TRUE TRUE
1 0 1 TRUE FALSE TRUE
1 1 0 TRUE TRUE FALSE


Next: AND