Logic Gates

Logic gates are the basis of all of computing.
They take two binary inputs (0/1 or true/false), and result in a binary output whose value depends on the inputs.
These gates form the building blocks upon which all computers are built.

AND Gate

True only when both inputs are true.

AND
0

OR Gate

True when either input is true.

OR
0

XOR Gate

True only when exactly one input is true, but not both.

XOR
0