levo

Decomposition and Abstraction

Abstraction

  • 3 things to know
  • Papers 1 and 2
Start revising · £5/month

Overview

Removing unnecessary detail to model the real world, from underground maps to games, and programming abstractions such as a bank account.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

Why is abstraction useful when modelling the real world?

Key term

What is abstraction?

Key term

Give an example of abstraction in a map of an underground railway

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is abstraction?

    Model answer

    Abstraction is removing unnecessary detail from a problem so that only the important features are modelled.

  2. 2

    Give an example of abstraction in a map of an underground railway.

    Model answer

    The map shows stations, lines and connections. Real distances and street details are left out because travellers do not need them.

  3. 3

    Why is abstraction useful when modelling the real world?

    Model answer

    A real situation has too many details to program. Abstraction keeps only the details that affect the result, so the model is simpler to build.

  4. 4

    What details might be kept in an abstraction of a football match for a computer game?

    Model answer

    The game might keep the positions of the players and the ball, the score and the time. Details such as the weather or the crowd's noise could be left out.

  5. 5

    What is the risk of removing too much detail in an abstraction?

    Model answer

    The model may no longer behave like the real situation. Results from the model may then be wrong.

  6. 6

    How can a real-world object be represented in a program?

    Model answer

    The important features become variables or a record. A car might be stored as its make, colour and speed.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Algorithms
Searching and Sorting Algorithms
Decomposition and Abstraction
Developing and Testing Code

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

Denary is a base system.
1028

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

Nibble means a group of four bits.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Decomposition and Abstraction, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.