XOR gate
A logic gate that outputs 1 when its inputs differ and 0 when they are the same. For two binary inputs, it computes addition modulo 2.
A logic gate that outputs 1 when its inputs differ and 0 when they are the same. For two binary inputs, it computes addition modulo 2.