Revise Computingrevisecomputing.co.uk
Free student revisionSee questionsFor schoolsSchool enquiry
Free revisionSee questionsFor schoolsSchool enquiry
Knowledge/A Level/H446/02 Algorithms and programming/Thinking abstractly/The nature of abstraction

The nature of abstraction

The nature of abstraction.

2.1.1 Thinking abstractly

Thinking abstractly — Note 1 of 4

Candidates need to understand the term abstraction and its purpose in the design and creation of computer programs.

What you need to know

Abstraction means removing unnecessary detail from a problem so that you can focus on the parts that matter. It is one of the most important ideas in computer science, used when designing programs, data structures and whole systems.

What to know

Key terms

Abstraction

The process of removing unnecessary details and including only the relevant details needed to solve a problem.

  • Layers of abstraction: computer systems are built in layers (hardware, machine code, high-level language, application), each hiding the complexity of the layer below.
Representational abstraction

Representing something real by a simpler model that keeps only the important features, e.g. a map of the Underground that shows stations and connections but not distances.

Abstraction by generalisation

Grouping things by their common characteristics, e.g. treating cars, buses and lorries as 'vehicles'.

Procedural abstraction

Using a subroutine knowing WHAT it does, without needing to know HOW it does it.

Data abstraction

Using a data structure (e.g. a stack) through its operations without knowing how it is stored.

Exam technique

  • Tip:Answers must be applied to the scenario: say what detail is REMOVED and what is KEPT, and why.
Next note →The need for abstraction2.1.1 Thinking abstractly

Back to Thinking abstractly

Thinking abstractly

Note 1 of 4

  1. 1The nature of abstraction
  2. 2The need for abstraction
  3. 3The differences between an abstraction and reality
  4. 4Devise an abstract model for a variety of situations
Topic overview