GCSE · Computer Science · OCR · Spec J277
Abstraction
Two people need a map of the same theme park. Should they get the same map? Working out why not is the whole idea of abstraction.
Sort it before you're told
One theme park, two maps
A theme park needs maps. For each detail, decide: does it go on the map, or get left off? Then switch to the other map and sort the same details again. Watch what moves.
This map helps visitors find their way around the park. Which details do visitors need to navigate?
Still to sort
Keep on the map (0)
A detail this map's user needs.
Where the line is: Keep what the map's user needs for its job.
Leave off (0)
A detail this map's user doesn't need.
Where the line is: Leaving a detail off doesn't mean it's useless. It means it isn't needed for this map's purpose.
Same park, same details. The only thing that changes is who the map is for.
Your call, games tester
The only thing you care about is how the player moves around the town.
A game's town map is being simplified so the team can test how the player moves around. What should the simplified map keep?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Keep the details that matter, leave off the ones that don't. Who it's for decides which is which.
What you need to know
- Computational thinking is a structured, logical approach to solving problems. Its techniques include decomposition, abstraction and algorithmic thinking.
- Abstraction focuses on the important parts of a problem and ignores irrelevant details.
- Removing the details that don't matter makes the important ones easier to focus on.
- Using abstraction reduces the complexity of a problem and makes finding a solution easier and faster.
Have a goFire drill! Plan A of the school shows every pipe and bin. Plan B shows only the corridors and exits. Which one gets you out faster, and what has Plan B done?
Plan B. It has left out details that don't matter for getting out.
Removing irrelevant details reduces the complexity of the problem, so finding the answer, here the way out, is easier and faster.
- What counts as important depends on the purpose: details that matter to one user may not matter to another.
Have a goYour classmate says: 'The best map is always the one with the most detail.' Two people need a map of the same cinema: a ticket buyer and a cleaner. Is your classmate right?
Not necessarily. Each needs the details that matter for their own purpose.
Details that matter to one user may not matter to another, so the purpose decides what to keep. A map crammed with everything isn't automatically the better one.
- A visitor map of a theme park keeps what visitors need to navigate. It leaves off staff toilets and the car park, which matter to staff.
- Describing a car by its wheels and seats, without a specific make or model, is an example of abstraction.
Have a goWhich one is abstraction: 'a car has wheels and seats', or 'the red car outside, one particular make and model'?
'A car has wheels and seats.'
It names important features of a car without a specific make or model. The other describes one particular car.
- A game map can be simplified with abstraction, by leaving out detail that would distract from what is being tested.
- Don't mix up abstraction with decomposition, which is breaking a problem into smaller parts.
The big picture
Abstraction is a computational thinking technique: focus on the important parts of a problem and ignore the irrelevant details. Which details count depends on the purpose, so a theme park's visitor map and staff map keep different things. Leaving out what doesn't matter reduces the complexity of a problem and makes finding a solution easier and faster.
Key points
Worked example
Problem
Practice question: A shopping centre wants a floor map for shoppers who are looking for a particular shop. It could show the shop names, the escalators and lifts, the delivery doors at the back, the cleaners' store cupboard, and the pattern of the floor tiles. Which should the map keep, and which should it leave off?
⚠ Watch out
Thinking abstraction means cutting out as much as possible, or that it means breaking a problem into smaller parts. Abstraction removes the details that don't matter for the purpose and keeps the ones that do. Breaking a problem into smaller parts is decomposition.
Memory hook
Ask 'Who's it for?' Keep what they need, drop what they don't. The purpose picks the details.
Check yourself
Cover the page. Pick a place you know well, like your school canteen. Say what a visitor's map would keep, what a worker's map would change, and why.
Flashcards
(9)What is computational thinking?
What is abstraction?
What does abstraction remove?
How does abstraction help when solving a problem?
Why isn't there one right set of details for every user?
A theme park's visitor map leaves off the staff toilets and the car park. Why?
Is describing a car by its wheels and seats, with no make or model, abstraction?
You're testing player movement on a game map. What does abstraction keep and leave out?
Which technique breaks a problem into smaller parts: abstraction or decomposition?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Computer Science topics
How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 13 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.