AND Gates, OR Gates, NOT Gates & XOR Gates
What is a truth table?
- A truth table is a tool used in logic and computer science to visualise the results of Boolean expressions
- They represent all possible inputs and the associated outputs for a given Boolean expression
AND
Circuit symbol |
Truth Table |
|||||||||||||||
|
OR
Circuit symbol |
Truth Table |
|||||||||||||||
|
NOT
Circuit symbol |
Truth Table |
||||||
|
XOR (exclusive)
Circuit symbol |
Truth Table |
|||||||||||||||
|
Worked example
Describe the purpose of a truth table [2]
Answer
- To show all possible inputs (to the logic circuit)
- ...and the associated/dependant output (for each input)
Guidance
- Must be clear that the output is linked to the input values given
- "All possible combinations of inputs and outputs" only gets 1 mark