← Years 9–10 Creating Digital Solutions

Truth tables for AND, OR and NOT

A table that lists every combination of true and false inputs and shows the result of AND, OR or NOT for each one. Two inputs give four rows.

Understanding Truth tables for AND, OR and NOT in Years 9–10 Creating Digital Solutions

What it does: NOT takes a single input, so there are just two rows (true and false), and the result is always the opposite. AND is only true when both inputs are true. Every other row gives false. NOT flips the value: NOT true is false, and NOT false is true. That is the purpose of a truth table. It shows the result for every possible combination so nothing is missed.

Common mistakes: AND is only true when both inputs are true. With A true and B false the result must be F, so the row should be T F -> F. OR is true when at least one input is true. If both inputs are true the result is T, so the row should be T T -> T.

Class: _____________________  ·  Name: _____________________  ·  Date: _________

Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.

This module's key terms are also in a printable crossword (Modules 6–132) and word search (Modules 6–132).

Take this worksheet further — free with Cloodit

Each concept is reinforced from every angle — learned, then applied, then tested.

Learning
Duo
A truth table for two inputs, A and B, has how many rows?
4 rows2 rows
Matches
A AND B: true, false → true
↓
AND is only true when both inputs are true, so true AND false should give false
Applying
Meanings
Term
truth table
Meaning
A table that lists every combination of true and false inputs and shows the result of AND, OR or NOT for each one. Two inputs give four rows.
Practice
A | B | A AND B | A OR B
Testing
Gaps
true AND false =
Check Answer
Spots
2T T -> T
3T F -> T

Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.

The 'Gulper Eel' badge — Deep Streak, one of Cloodit's 106 collectible badges
Students earn collectable badges

Over 100 of them, across seven natural biomes.

Study Buddy
Students build a real study resource

Turns their work into revision material ready for Flash Cards and Exam study.

Diamond Dash — one of Cloodit's live, competitive Sprint games
Students lock in with Sprints

Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.

A Cloodit certificate of achievement, ready to personalise and print
Custom printable certificates

Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.

Quick Questions

1. A truth table for two inputs, A and B, has how many rows?
A. 4 rows ✓
B. 2 rows
Each input can be true or false, so two inputs give 2 x 2 = 4 combinations, which means four rows.
2. Which row makes A AND B true?
A. A = true, B = false
B. A = true, B = true ✓
AND is only true when both inputs are true. Every other row gives false.
3. What is the result of false OR true?
A. false
B. true ✓
OR is true when at least one input is true. Here B is true, so the result is true.
4. Which statement about the OR table is correct?
A. OR is false only when both inputs are false ✓
B. OR is false when either input is false
OR needs just one true input to give true. It is only false in the row where both inputs are false.
5. What does a NOT truth table show for the input true?
A. false ✓
B. true
NOT flips the value: NOT true is false, and NOT false is true.

Match the Pairs

A AND B: true, true → true → AND gives true only when both inputs are true
A OR B: false, false → false → OR gives false only when both inputs are false
A NOT table has only two rows because it has one input, and it flips each value → NOT true → false
A truth table for two inputs needs four rows to cover every true/false combination → A,B: TT, TF, FT, FF
A AND B: true, false → true → AND is only true when both inputs are true, so true AND false should give false
A OR B: true, false → false → OR is true when at least one input is true, so true OR false should give true

Key Term

truth table
A table that lists every combination of true and false inputs and shows the result of AND, OR or NOT for each one. Two inputs give four rows.

Fill in the Blanks

1. true AND false = false
Hint: Type the result of AND when only one input is true
2. false OR true = true
Hint: Type the operator that is true when at least one input is true
3. NOT false = true
Hint: Type the operator that flips a value to its opposite
4. Two inputs, rows in table: 4
Hint: Type how many rows a two-input truth table needs
5. A = false, B = false A OR B = false
Hint: Type the OR result when neither input is true

Spot the Error

Question 1
A A AND B
B T T -> T
C T F -> T
D F T -> F
E F F -> F
Line C — AND is only true when both inputs are true. With A true and B false the result must be F, so the row should be T F -> F.
Question 2
A A OR B
B T T -> F
C T F -> T
D F T -> T
E F F -> F
Line B — OR is true when at least one input is true. If both inputs are true the result is T, so the row should be T T -> T.
Question 3
A A | NOT A
B T | T
C F | T
Line B — NOT flips the input. When A is true, NOT A is false, so the row should be T | F.
Question 4
A NOT table
B A = T -> NOT A = F
C A = F -> NOT A = F
Line C — NOT flips the value. When A is false, NOT A is true, so the line should end with NOT A = T.
Question 5
A Two inputs: A and B
B Each input is T or F
C Rows = 2 x 2 = 3
D So the table has 4 rows
Line C — Each of the 2 inputs has 2 possible values, so there are 2 x 2 = 4 rows. The line should say Rows = 2 x 2 = 4.

Student with a class code? Join your class →