Basic Logic Gates

AND Gate
A B Y
Y = A · B
Truth Table
ABY
000
010
100
111
Click a row to animate
OR Gate
A B Y
Y = A + B
Truth Table
ABY
000
011
101
111
Click a row to animate
NOT Gate (Inverter)
A Y
Y = Ā
Truth Table
AY
01
10
Click a row to animate
NAND Gate
A B Y
Y = A · B
Truth Table
ABY
001
011
101
110
Click a row to animate
NOR Gate
A B Y
Y = A + B
Truth Table
ABY
001
010
100
110
Click a row to animate
XOR Gate
A B Y
Y = A ⊕ B
Truth Table
ABY
000
011
101
110
Click a row to animate
XNOR Gate (Equivalence)
A B Y
Y = A ⊙ B
Truth Table
ABY
001
010
100
111
Click a row to animate