Decomposition and abstraction

Computational thinking is how programmers tackle big problems. Two key skills are breaking problems down and hiding unnecessary detail.

Practise this lesson free (6 questions)

More tools

Decomposition

Decomposition means breaking a problem into smaller, more manageable sub-problems.
Each part can be solved, tested and even shared between team members separately.

Abstraction

Abstraction means removing unnecessary detail to focus on what matters.
A London Underground map is an abstraction: it shows stations and connections, not real distances or streets.

Why it helps

Smaller parts are easier to understand, write and test.
Abstraction makes models simpler, so programs are quicker to write and run.
Together they let programmers tackle problems that would be too complex in one go.
Worked example

Decompose the problem: "Create a quiz game."

  1. Store the questions and answers.
  2. Display a question and get the player's answer.
  3. Check the answer and update the score.
  4. Show the final score at the end.

Answer: Store questions, ask, check and score, show result.

Key idea

Decomposition breaks a problem into smaller sub-problems. Abstraction removes unnecessary detail. Both make complex problems manageable.

Key words
Decomposition
Breaking a problem into smaller, more manageable sub-problems.
Abstraction
Removing unnecessary detail from a problem to focus on what matters.

All GCSE and International GCSE Computer Science key terms and definitions →

Common mistakes
Quick check

Try two quick questions

See if it has sunk in. Answers are marked straight away.

Extra practice

2 more questions

Try each one, then tap to check.

  1. A programmer splits a timetable app into login, timetable display and reminders. What is this?

    1. Decomposition
    2. Abstraction
    3. Iteration
    4. Selection
    Show the answer

    Answer: Decomposition

    Breaking a problem into smaller parts is decomposition.

  2. Which statement best describes abstraction?

    1. Breaking a problem into parts
    2. Testing a program
    3. Focusing on the important details and ignoring the rest
    4. Writing comments
    Show the answer

    Answer: Focusing on the important details and ignoring the rest

    Abstraction removes unnecessary detail.

Check you have got it

Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.

Video for this lesson coming soon. Subscribe on YouTube

Sources and references

Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.

What do exam command words like explain and evaluate mean? →

Related lessons