Logic Gates

Logic gates are the building blocks of digital circuits. You will learn what the NOT, AND, OR, NAND, NOR and XOR gates do and what each one outputs for different inputs.

Key terms

NOT
Has one input and inverts it.
AND
Outputs 1 only when both inputs are 1.
OR
Outputs 1 when at least one input is 1.
NAND
Outputs 0 only when both inputs are 1.
XOR
Outputs 1 only when the two inputs are different.

Part of Boolean Logic.