2.4 Boolean Logic Flashcards
1
Q
Define logic gate
A
Logic gates are special circuits built into computer chips. They receive binary data, apply a Boolean operation then output a binary result.
2
Q
Define NOT gate
A
NOT gates take a single input and give a single output. The output is always the opposite value to the input.
3
Q
Define AND gate
A
AND gates take two inputs and give one output. If both inputs are 1, the output is 1, otherwise the output is 0.
4
Q
Define OR gate
A
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.
5
Q
Define truth table
A
The truth table is a table, showing the output for all possible combinations of inputs to a logic gate or circuit.