You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
A truth table is a structured way of showing all possible input combinations for a logic gate or circuit and the resulting outputs. Truth tables are a fundamental tool in GCSE Computer Science — you must be able to read, complete and construct them.
A truth table is a table that lists:
Truth tables allow us to see the complete behaviour of a logic system at a glance.
The number of rows in a truth table depends on the number of inputs. For n inputs, there are 2^n (2 to the power of n) possible combinations:
| Number of Inputs | Number of Rows (2^n) |
|---|---|
| 1 | 2 |
| 2 | 4 |
| 3 | 8 |
| 4 | 16 |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.