Electronics & Circuits
Intermediate

XOR Gate

Output is 1 when inputs differ.

Formula

Y=ABY = A \oplus B

Variables

A,BInputs

Example

1⊕1 = 0

Did You Know?

The XOR gate outputs true only when inputs differ, making it the heart of binary addition and simple encryption.