Decomposition means splitting one big, complicated problem into smaller, easier pieces. It's the very first skill computer scientists — and good problem-solvers — use before they start solving anything. Let's practice it with things from your everyday life!
😵 One Big Problem
"Clean the whole house"
Feels huge and overwhelming
Hard to know where to start
Hard to share with family members
➡️
😊 Decomposed Into Parts
4 manageable subtasks
🛋️ Tidy the living room
🍽️ Clean the kitchen
🛏️ Organize the bedroom
🚿 Scrub the bathroom
Why bother?
Why Decomposition Matters
Breaking things down isn't just a "computer science trick" — it makes any problem in life easier to handle.
🧠
Less overwhelming
Small tasks feel doable. A giant task feels scary and easy to avoid.
🤝
Easier to share
You can split subtasks between friends or family — teamwork made simple.
🔍
Easier to find mistakes
If something goes wrong, you can check part by part instead of everything at once.
⏱️
Flexible order
You can often work on parts in any order, or even at the same time as others.
Look around you
Decomposition Is Everywhere
Every one of these everyday tasks is really a "big task" made of smaller subtasks:
🎒Packing a suitcase
Clothes → toiletries → electronics → documents
🎥Making a YouTube video
Script → filming → editing → thumbnail → upload
🏗️Building a treehouse
Design → gather materials → build frame → paint
🧺Doing the laundry
Sort → wash → dry → fold → put away
📚Writing a book report
Read → take notes → outline → draft → edit
🎪School festival
Budget → booths → performers → cleanup
Practice · Activity 1
Sort the Subtasks
🎮 Try it — Video Creator
Break down the big task!
You're making a YouTube video 🎥. Click the tasks that are actually part of creating the video. Some options are unrelated distractions — leave those out!
🎥 Big Task: Make a YouTube Video
Write the script
Film the footage
Water the plants
Edit the clips
Do the dishes
Design a thumbnail
Feed the cat
Upload and add a title
Subtasks collected:
Practice · Activity 2
Build a Decomposition Tree
Decomposition can go more than one level deep. A big task breaks into categories, and each category breaks into detailed steps. Click each branch below to reveal its steps 🌳
🎮 Try it — Garage Sale Planner
Explore the tree, level by level
Click each category to expand it and see its smaller steps.
🏡 Big Task: Plan a Garage Sale
📦 Preparation▸
Sort items to sell
Clean each item
Set a date
🏷️ Pricing▸
Check similar prices online
Write price tags
Stick tags on items
🪑 Selling Day▸
Set up tables outside
Make a cash box
Greet customers
🧹 Cleanup▸
Pack unsold items
Fold the tables
Count the earnings
Practice · Activity 3
Match Each Subtask to Its Big Task
🎮 Try it — Sort Into 3 Baskets
Where does each subtask belong?
Click a subtask below, then click the correct basket it belongs to.
Spread the butter
Sweep the floor
Make a summary sheet
Slice the bread
Review old quizzes
Wipe the whiteboard
Add the lettuce & cheese
Arrange the chairs
Practice past questions
🥪 Make a Sandwich
🧹 Clean the Classroom
📝 Study for a Test
Practice · Activity 4
Good Decomposition or Bad?
Not every breakdown is a good one! A good decomposition uses clear, specific, actionable subtasks. Pick the better option in each pair.
🎉 Big Task: Plan a Birthday Party
Option A
Do everything
Party stuff
Make it fun
Option B
Send invitations
Order the cake
Buy decorations
Plan party games
🔬 Big Task: Write a Science Report
Option A
Introduction
Materials & method
Results
Conclusion
Option B
Write it
Finish it
Turn it in
🧱 Big Task: Build a LEGO Castle
Option A
Step 1
Step 2
Step 3
Option B
Build the base
Build the towers
Add the walls
Add decorations
Quick Recap
True or False?
1. Decomposition means solving the whole problem at once.
2. Breaking a task into parts makes it easier to share work with teammates.
3. Good subtasks should be vague, just in case things change.
4. You can decompose a category into even smaller steps (multi-level decomposition).
Your Turn
Decompose Something From Your Own Life
Think of a big task you have this week (a school project, a chore, a hobby goal). Write it down, then list 3–4 subtasks.
🎯 Key Takeaways
Decomposition = breaking a big problem into smaller, manageable parts.
Good subtasks are specific and actionable — not vague words like "do stuff."
You can decompose in multiple levels: big task → categories → detailed steps.
Decomposition makes problems less overwhelming and easier to share with a team.
You already use decomposition every day — from packing a bag to planning a party!