Boolean Logic - Logic Gates and Truth Tables

Logic gates combine binary inputs to give a single output. You will learn the NOT, AND, OR, NAND, NOR and XOR gates and how to complete their truth tables.

Key terms

Logic gate
An electronic component that performs a logical operation on one or more binary inputs.
AND, OR, NOT
AND outputs 1 only if all inputs are 1. OR outputs 1 if any input is 1. NOT inverts its input.
NAND, NOR, XOR
NAND is NOT AND, NOR is NOT OR, and XOR outputs 1 only when the inputs differ.
Truth table
Lists every combination of inputs and the resulting output.

Part of Hardware.