NOT GATE
AND GATE
OR GATE
NOR GATE
NAND GATE
XOR GATE
XNOR GATE

NOT Gate

The NOT gate (also called an inverter) flips its input.

InputOutput
01
10

AND Gate

The AND gate only outputs 1 when both inputs are 1.

Input AInput BOutput
000
010
100
111

OR Gate

The OR gate outputs 1 if either input is 1.

Input AInput BOutput
000
011
101
111

XOR Gate

The XOR gate (exclusive OR) outputs 1 when only one input is 1.

Input AInput BOutput
000
011
101
110