GCSE · Computer Science · Eduqas · Spec C500QS

Abstraction

Imagine a route planner that stores the colour of every train. Daft, right? But why is it daft, and what would make that colour suddenly matter?

Abstraction · Keep or leave out?

Build the model for a route planner

You're building the model for a route planner. For each detail of the real railway, ask: does this purpose need it? Start with the quickest route, then switch the purpose.

Which details does a quickest-route planner need?

Still to sort

Keep (0)

The purpose needs it.

Where the line is: Keep a detail only if the stated purpose needs it. Being real, or interesting, is not enough.

Leave out (0)

The purpose doesn't need it.

Where the line is: A detail can be perfectly true about the railway and still be left out, because this purpose never uses it.

6 of 6 still to sort.

Sort each detail of a real railway for the purpose you're given. Then switch the purpose and sort again.

Predict, then check

What if the planner's model leaves out something it needs?

A route planner's model keeps the stops and which stops are connected, but leaves out the journey times. It is asked for the quickest route between two stops. What happens?

​

Abstraction · From the real thing to a program

One game ball, three ways of writing it down

  1. 1 Explore
  2. 2 Translate
  3. 3 Translate

Model. A game ball is modelled here by three features only. The tabs show the same three features written in different ways.

Step 1 · Explore

Tap Position, then Speed, then Direction, and look at all three tabs. In which tab is each feature stored, and in which is it used?

Linked parts: select one to follow it through every representation

The ball sits at a place on the screen: its

It moves at a certain

It is heading in a certain

What the ball does, in plain words

Linked parts tried: 0 of 2.

Abstraction · Which idea is yours?

What do you think abstraction is?

Four pupils try to explain abstraction to a friend. Each says something a bit different.

Which is closest to what you think right now?
How sure are you?

Abstraction · Your turn

Apply it to a problem you haven't seen

A cinema is writing a program that shows customers which seats are free, so they can pick one. A real seat has: its row letter, its seat number, whether someone has booked it, the colour of its fabric and the year it was bought. Explain which details the program needs and which it can ignore, and justify your choices. [4 marks]

0 words · your answer stays on this page and is not sent anywhere.

UK note

In the Eduqas Computer Science (C500QS) specification, abstraction sits under Systems Analysis. Applying it means identifying the details that are needed, identifying the details that can be ignored, and justifying the choice by reference to the purpose.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Keep the details the problem needs. Leave out the rest.

What you need to know

  • Abstraction is one part of a systematic approach to solving problems in computer science.
  • Abstraction means keeping only the details the purpose needs, and leaving out (removing or hiding) the ones it doesn't.
  • Which details count as relevant depends on the purpose, so one real thing can be abstracted differently for different problems.
  • Have a goYour friend insists the filling of a sandwich can never be a relevant detail. Can you think of a purpose where it would be?

    Yes, for example a lunch-ordering program, where the filling is exactly what the customer is choosing.

    Relevance belongs to the purpose, not to the thing. Change the purpose and a detail your friend would bin can become one you must keep.

  • It makes a problem simpler to understand and solve, because you can focus on the essential features, not unnecessary detail.
  • Leave out a detail the purpose needs, and the model gives incorrect or incomplete results.
  • Keep detail you don't need, and the solution ends up more complex than it needs to be.
  • Have a goA route planner stores the stops and journey times, and also the colour of every train. What does the colour add?

    Nothing useful: it just makes the solution more complex than it needs to be.

    The tempting answer is 'more detail, more accuracy'. But detail the purpose doesn't use only makes the solution more complex than it needs to be.

  • In an algorithm or program, abstraction models selected parts of the real world, representing only the features the program needs.
  • Kept features become data, for example variables or data structures. Kept behaviour becomes processing: the steps of the algorithm.
  • Have a goA quiz program stores each player's score, and has a step that adds 1 when an answer is right. Which is the data and which is the processing?

    The score is data. The 'add 1' step is processing.

    The score is a kept feature, so it sits in a variable as data. 'Add 1 when right' is behaviour, so it is a step of the algorithm: processing.

  • To apply it, name the needed details, name the ignorable ones, and justify your choice by the purpose.

The big picture

Abstraction means keeping the details a problem's purpose needs and leaving out the rest. Which details count depends on the purpose. In a program, the kept features become data and the kept behaviour becomes processing.

Key points

1Abstraction = keep what the purpose needs, leave out the rest.
2The purpose decides: the same thing can be abstracted differently for different problems.
3Too little detail gives incorrect or incomplete results. Too much makes the solution more complex than it needs to be.
4In a program, kept features become data and kept behaviour becomes processing.

Worked example

Problem

A school wants a program that tells each pupil which locker is theirs. A real locker has: a locker number, the name of the pupil it belongs to, the colour of its door and a dent in the door. Decide what the program keeps, what it ignores, and why.

⚠ Watch out

Thinking abstraction means throwing away as much as possible. It means keeping exactly what the purpose needs. Bin a needed detail and the results go wrong. Hoard details you don't need and the solution gets more complex than it has to be.

🧠

Memory hook

Purpose picks the details: ask 'what is this for?' before you keep or bin anything.

✓

Check yourself

A school wants a program that tells pupils which room their next lesson is in. Pick one detail the program needs and one it can ignore, and say why for each.

Flashcards

(12)
What is abstraction?
Keeping only the details relevant to the purpose of the problem and leaving out (removing or hiding) the details that are not needed.
Where does abstraction fit when solving problems?
It is one part of a systematic approach to solving problems in computer science.
What decides which details are relevant?
The purpose of the problem.
Can one real-world thing be abstracted in more than one way?
Yes. Different problems have different purposes, so they keep different details.
Why does abstraction make a problem simpler to solve?
The solver can concentrate on the essential features without being distracted by unnecessary detail.
What is abstraction used for in an algorithm or program?
To model selected parts of the real world, representing only the features the program needs.
In a program, how are the chosen real-world features represented?
As data, for example variables or data structures.
In a program, how is the relevant real-world behaviour represented?
As processing: the steps of the algorithm.
What three jobs make up applying abstraction to a problem?
Identify the details needed, identify the details that can be ignored, and justify the choice by the purpose.
What goes wrong if you leave out a detail the purpose needs?
The model, and so the algorithm or program, gives incorrect or incomplete results.
What goes wrong if you keep unnecessary detail?
The solution becomes more complex than it needs to be.
In a route planner, what does the model keep?
The stops and the connections between them, with journey times or distances where needed.

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 posted

More Eduqas GCSE Computer Science topics

See the full Eduqas Computer Science curriculum →

How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)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 16 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.