KS3 · Computer Science
Decomposition: splitting problems up
"Plan a day at the Eiffel Tower." Where do you even start? Try "work out how you'll get there" instead. Easier, right? You just made the problem smaller. That's decomposition.
Computer Science · Structure
A day at the Eiffel Tower, split up
Tap any box. Main problem at the top, smaller subproblems underneath.
Tap any part of the diagram to see what it does.
Computer Science · Decomposition
Now you do the splitting
A game's player actions are one big problem. Pick an action, then pick the group it belongs to.
Still to sort
Move (0)
Actions about getting around
Item (0)
Actions about things the player has
Spells (0)
Actions about magic
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
How one overwhelming job turns into a set of small ones you can actually solve.
What you need to know
- Decomposition breaks a problem into smaller, more manageable subproblems, a bit like doing a jigsaw piece by piece.
- A subproblem can be decomposed again, as many times as needed, until everything is easy to solve.
- A structure diagram shows it: the main problem at the top, branches leading down to the subproblems.
- Understand the problem first with the Three W's. After decomposing, abstraction and algorithmic thinking take over.
The big picture
Decomposition means breaking a big problem into smaller, more manageable subproblems, and splitting a subproblem again if it still feels too big. A structure diagram shows the result with the main problem at the top. Decomposition is one computational thinking technique, alongside abstraction and algorithmic thinking, and it comes first: it splits the problem but does not solve it.
Key points
Worked example
Problem
Decompose a lunch order app into subproblems. Then say what you have done and what you haven't done yet.
⚠ Watch out
Thinking that once you've decomposed a problem, you've solved it, or that decomposition is the same as writing the algorithm. It only splits the problem into subproblems. Abstraction and algorithmic thinking come after.
Memory hook
Think jigsaw: you never solve it in one go, you solve it piece by piece. Big problem on top, smaller problems underneath.
Check yourself
Picture the Eiffel Tower diagram. Say out loud what sits at the top, what sits on the next layer, and what you'd do if a box still felt too big.
Flashcards
(14)What is decomposition?
What is a subproblem?
How many times can you decompose a subproblem?
What does a structure diagram show?
Which box sits at the top of a structure diagram?
Name the three computational thinking techniques in this lesson.
What is abstraction used for after decomposition?
What is algorithmic thinking?
What are the Three W's?
When do the Three W's come in?
How does the trip to the Eiffel Tower decompose on the first 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 9 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.