AQA GCSE Computer Science 8525
Algorithms
Programming
Data Representation
Computer Systems
Computer Networks
Cyber Security
Relational Databases and SQL
Ethical, Legal and Environmental Impacts of Digital Technology
Algorithms
Algorithms, decomposition and abstraction
- 3 things to know
- Paper 1
Overview
What an algorithm is and how it differs from a program, why each step must be unambiguous, decomposition and abstraction with worked examples, and the systematic approach to solving a problem.
What you need to know
Answer each one before you reveal it.
What is an algorithm?
How is an algorithm different from a computer program?
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is an algorithm?
Model answer
An algorithm is a precise sequence of instructions for carrying out a task. Each step is clear and the steps run in a fixed order.
- 2
How is an algorithm different from a computer program?
Model answer
A program is an algorithm turned into code in one particular language. The algorithm is the underlying method and exists independently of any language.
- 3
Why can the same algorithm be coded in Python, C# or VB.NET?
Model answer
An algorithm describes the logic of a solution rather than the syntax of a language. Any language able to carry out the steps can implement it.
- 4
Is a cooking recipe an algorithm?
Model answer
A recipe is an algorithm because it is a sequence of steps that completes a task. A recipe is not a program, because a person carries it out rather than a computer.
- 5
Why must each step of an algorithm be unambiguous?
Model answer
A step with only one meaning gives the same result whoever follows it. A computer cannot guess what a vague instruction was meant to say.
- 6
What is decomposition?
Model answer
Decomposition is breaking a problem down into smaller sub-problems. Each sub-problem performs one identifiable task and may be broken down further.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Algorithms, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.