Call Us 07766496223

A XOR gate, which is given the symbol below,

produces an output of 1 if one of the two inputs is 1 and the other is 0. If both inputs are 1 then the out is 0. This makes a XOR gate different from an OR gate. The truth table is shown below.

A

B

A XOR B

0

0

0

1

0

1

0

1

1

1

1

0

We can write the output from a XOR gate in Boolean algebra asmeans 'NOT A',means 'OR' andmeans 'AND' . Writing the output like this makes a XOR gate easy to draw from NOT and AND gates. We get,