Logic Gates
A logic gate is an idealized or physical electronic device implementing a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output
AND gate
The AND gate only likes when both inputs are truths/1s.
OR Gate
The OR gate likes everything except two falses/0s.
NOT Gate
The NOT gate outputs the opposite of the input
NAND Gate
The NAND gate likes everything except two truths/1s. Opposite outputs of the AND gate.
NOR Gate
The NOR gate only likes when both inputs are falses/0s.
XOR Gate
The XOR gate only likes when both inputs are different.
All gates can formed with NAND gates and is thus called the universal gate