Define logic gate
Logic gates are special circuits built into computer chips. They receive binary data, apply a Boolean operation then output a binary result.
Define NOT gate
NOT gates take a single input and give a single output. The output is always the opposite value to the input.
Define AND gate
AND gates take two inputs and give one output. If both inputs are 1, the output is 1, otherwise the output is 0.
Define OR gate
OR gates take two inputs and give one output. If one or both inputs are 1, then the output is 1, otherwise the output is 0.
Define truth table
The truth table is a table, showing the output for all possible combinations of inputs to a logic gate or circuit.