KS3 · Computer Science
Decomposition: splitting problems up
"Plan a day at the Eiffel Tower." Where do you start? Try "work out how to get there". Easier, right? You just made the problem smaller. That's decomposition.
Computer Science · Structure
A day at the Eiffel Tower, split up
Tap each box, top to bottom. What's the main problem? What's a subproblem? Why is there a second layer?
Tap any part of the diagram to see what it does.
Computer Science · Decomposition
Your turn to split: a game's player actions
A game's player actions are one big problem, already split into three subproblems. Pick an action, then pick the subproblem it belongs under.
Still to sort
Move (0)
Getting the player around
Item (0)
Things the player can carry
Spells (0)
Magic
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
One overwhelming job, turned into smaller problems you can actually solve.
What you need to know
- Computational thinking is a structured way of solving problems. Decomposition is one of its techniques, alongside abstraction and algorithmic thinking.
- Decomposition breaks a big problem into smaller, more manageable subproblems, like doing a jigsaw piece by piece.
Have a goYour mate groans: "Organising my birthday party is one massive job, so I'll just do the whole thing tonight." What would decomposition tell them to do instead?
Split it into smaller subproblems (say guests, food, place) and tackle them one at a time.
Doing it all at once is exactly what makes it overwhelming. Smaller subproblems are more manageable, so you solve the big job piece by piece.
- A subproblem is simply a smaller part of the main problem.
- Still too big? Decompose that subproblem again. Repeat as many times as needed, until every piece is manageable.
Have a goYou split "run a school cake sale" into three subproblems, but "baking" still feels huge. What's your next move?
Decompose "baking" again into smaller subproblems.
There's no one-split limit. A subproblem can be broken down again, as many times as it takes to make it manageable.
- A structure diagram shows the split: the main problem at the top, branches leading down to its subproblems.
- Those lines mean "is part of". They don't tell you which part happens first.
Have a goSam looks at a structure diagram and says, "The box on the far left is the one you do first." Agree or disagree?
Disagree. The diagram shows parts, not order.
It's tempting to read it like a list, left to right. But a line in a structure diagram means "is part of", so it says nothing about which part runs first.
- Understand the problem before using computational thinking. The Three W's ask: what must the solution do, why solve it, who'll use it?
- After decomposition, abstraction focuses on each subproblem's important details, and algorithmic thinking creates the step-by-step instructions.
- No computer needed: trips, game controls and apps can all be decomposed.
The big picture
Decomposition breaks a big problem into smaller, more manageable subproblems, and you can split a subproblem again as many times as you need. A structure diagram shows the result: the main problem at the top, branches down to its subproblems. The lines mean 'is part of', not 'do this first'. Decomposition is one computational thinking technique, alongside abstraction and algorithmic thinking, and it works with or without a computer.
Key points
Worked example
Problem
Decompose a lunch order app into subproblems and describe its structure diagram. Then say what you have done, and what you haven't done yet.
⚠ Watch out
Treating a structure diagram like a flowchart. Its lines show that a box is part of the box above, not that it happens next. And decomposing a problem doesn't solve it or write the algorithm: it just gives you smaller problems to solve.
Memory hook
Think jigsaw: nobody does it in one go. Big problem on top, smaller pieces underneath, and if a piece is still too big, split it again.
Check yourself
Close the diagram and rebuild it in your head: what sits at the top of the Eiffel Tower trip, what's on the layer underneath, and why did each of those get a second layer?
Flashcards
(14)What is decomposition?
What is a subproblem?
How many times can you decompose a subproblem?
What does a structure diagram show?
What does a line in a structure diagram mean?
Name the three computational thinking techniques in this lesson.
What does abstraction do?
What does algorithmic thinking do?
What are the Three W's?
Trip to the Eiffel Tower: first layer?
Trip to the Eiffel Tower: second layer?
How do a game's player actions decompose?
How can a homework app be decomposed?
Does decomposition need digital technology?
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 KS3 Computer Science topics
How this lesson was checked. This KS3 Computer Sciencelesson 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 27 October 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.