Teaching Logic with recommendation systems
How to teach logic gates with recommendation systems?
Logic gates can feel weirdly abstract the first time you teach them.
The approach that has worked best for me is to teach logic gates through something pupils already recognise from real life... recommendation systems.

The moment pupils can say “Oh, like Netflix” or “Like the app store” you have instantly turned Boolean logic into a decision they understand and the logic symbols stop being mysterious symbols and start being a clear rule that decides whether something should be recommended.
In this post I am going to walk you through Lesson 1 of my three lesson unit Introduction to Boolean logic. You will see exactly how I teach AND, OR and NOT to KS3 using a simple games data table and recommendation rules.
At the end you can download the full Lesson pack (PowerPoint, lesson plan and worksheet) as a zip file.
What pupils are learning
In Lesson 1, pupils learn that:
A recommendation system suggests things you might like based on patterns in data.
A recommendation rule is a clear set of conditions that decides what should be suggested.
A logic gate is a simple decision tool that takes one or two true or false inputs and produces a true or false output.
A logic circuit is when more than one logic gate is linked so the output of one gate becomes the input for another gate.
You are not teaching “electronics”. You are teaching decision making.
Pupils are surrounded by systems that make decisions for them and are familiar with eh concept of “Because you watched…” and “You might also like…”. However they rarely stop to think about what rules might sit behind those suggestions.
This lesson gives them a way to talk about it and understand logic gates and logic circuits in a context they have seen working in real life.
Quick lesson overview
Objective: I can use AND, OR and NOT gates to test a recommendation rule and decide which games should be recommended.
This lesson is built to move pupils from real-world meaning to clear, testable rules without them feeling like they are doing abstract electronics.
It follows a simple teaching sequence:
1) Start with something pupils already recognise
Begin with recommendation systems (Netflix, YouTube, app stores). Pupils instantly understand the idea of a system making a decision based on patterns in data. This gives you a meaningful context before you introduce any symbols.
2) Introduce the three gates as decision tools
Teach AND, OR and NOT as three ways to combine or change true and false decisions.
AND narrows results because both conditions must be true
OR widens results because at least one condition must be true
NOT blocks something by flipping the condition
3) Build up to logic circuits and plain English rules
Once pupils can handle single gates, you show them how gates can be linked to create a longer rule. The key skill here is translation.
read one gate at a time
label the intermediate outputs
then combine them into one final recommendation rule in a full sentence
By the end, pupils are not just picking answers. They can explain why a game is recommended using the language of logic, which is exactly the foundation they need for later work in programming and spreadsheets.
Here is a little more information on each section of the lesson.
Part 1: Hook pupils with recommendations
Start by asking a question that makes pupils think about their own experience:
“What is a recommendation system and where have you seen one?”
They will likely give you Netflix, YouTube, Spotify, TikTok, online shopping etc.
Then explain that a recommendation system suggests content, products or videos based on patterns it spots in data.
You can explain that platforms use recommendation algorithms to help people find things faster, but they also use them to keep people engaged so they stay on the app for longer.
This can be followed by a short discussion moment to allow pupils to think a little deeper about recommendation systems:
Why might two people get different recommendations on the same platform?
What could go wrong if the data is inaccurate?
You’re helping pupils learn that that computers are not “guessing” but instead are following rules and data collected on each individual users action when using the site.
Part 2: Logic gates
This section keeps the cognitive load low. Pupils only have to focus on one idea at a time: a gate takes true or false inputs and produces a true or false output.
1) Teach the three gates one at a time
You introduce each gate with a clear rule and an accurate diagram that matches the standard symbols used in industry and exam boards. Pupils often meet logic gates in different places later, so using a sloppy or improvised version now can make them doubt themselves. OR is the one I see misdrawn most often, usually because people are fighting with PowerPoint shapes. It is worth getting it right so the symbol always means the same thing.
AND gate: the output is true only when both inputs are true

OR gate: the output is true when at least one input is true

Common misdrawn symbols for OR are as follows:

NOT gate: the output is the opposite of the input

2) Check understanding by recognition first, not calculation
Before pupils calculate anything, they practise identifying the gate from the symbol. This is a quick win for pupils who lack confidence because they can succeed early. An easy way to avoid muddling OR and AND is the AND gate looks like the D at the end of the word AND.
3) Then move to outputs with simple input examples
Once they can recognise the symbols, you shift to prediction questions that are still low-stakes:
For an AND gate, what is the output when the inputs are true and false?
For an OR gate, what is the output when the inputs are false and true?
For a NOT gate, how many inputs are there?
This is where misconceptions show up fast, especially confusing AND and OR.
Part 3: Move from gates to circuits
Once pupils are confident with what each gate means on its own, the next step is to apply that thinking to real data.
I use a simple games recommendation scenario because it feels familiar and purposeful. Pupils look at a table of game features then answer structured questions that lead them from single gates to simple logic circuits.
How to teach the translation
When pupils struggle with circuits, it is usually because they try to read the whole thing at once.

So I teach a simple routine:
Name what each gate is doing
Label the output in plain English
Only then combine the outputs
For example, in the circuit:
X is true when Genre is Mystery AND Puzzle level is High
Y is true when it is NOT Multiplayer
Z is true when X OR Y is true
Then pupils write the recommendation rule:
Recommend the game if the genre is Mystery and the puzzle level is High, or if it is not a Multiplayer game.
Now they can apply each gate to the table and list the recommended games. This help pupils understand that logic circuits are just structured sentences.
Pupils then work with a larger table of data and solve the given logic circuits, writing them in plain English first.

Download Lesson 1 (PowerPoint, lesson plan and worksheet)
If you would like to teach this lesson exactly as described, you can download Lesson 1 as a zip file here.
Want Lessons 2 and 3 as well?
Lesson 2 builds on this by helping pupils design their own logic circuits from recommendation requirements.
Lesson 3 takes the same idea into a spreadsheet where pupils write IF statements using AND, OR and NOT to generate recommendations automatically.
If that would save you planning time, you can find the full three lesson unit here.
Final thought
Logic gates and logic circuits are one of the clearest ways to show pupils that computers make decisions by following rules.
When you teach gates through recommendation systems, pupils get a modern, meaningful context and you get a lesson that feels like real computing, not symbol memorisation.
FAQs
1) What are logic gates in KS3 computing?
Logic gates are simple decision tools that take one or two inputs that are either true or false and produce one output that is also true or false. In KS3, pupils usually learn the three core gates first: AND, OR and NOT. They are a foundation for understanding how computers make decisions in programs, spreadsheets and digital systems.
2) How do you explain AND, OR and NOT to pupils without it feeling abstract?
Anchor each gate to a decision pupils recognise, then keep the language consistent.
AND means both conditions must be true for the output to be true
OR means at least one condition must be true for the output to be true
NOT flips the condition so true becomes false and false becomes true
Using a recommendation scenario helps because pupils can see the purpose of the rule straight away. They are not memorising symbols, they are deciding what should be recommended.
3) Why is it important to use accurate logic gate symbols?
Because pupils will meet these symbols again in different contexts, including exam board materials. If the diagram is slightly wrong, pupils can lose confidence. OR is the gate that is most often misdrawn when people recreate it in PowerPoint, so it is worth using a correct, standard symbol from the start.
4) What is the difference between a logic gate and a logic circuit?
A logic gate is one decision, like AND, OR or NOT. A logic circuit links more than one gate together so the output of one gate becomes the input for another. In lessons, the key skill is helping pupils translate a circuit step by step into a clear recommendation rule written in plain English, then applying that rule to decide what should be recommended.



