What is an algorithm?
At KS3 you met algorithms as sets of instructions. GCSE Computer Science expects you to read, follow and write them precisely.
Algorithms
A good algorithm is unambiguous (each step has one meaning), the steps are in the right order, and it finishes.
A recipe and the directions to a friend's house are everyday algorithms. A program is an algorithm written in a programming language.
Ways to show an algorithm
Written description: numbered steps in plain English.
Flowchart: shapes joined by arrows.
Pseudocode: structured, code-like English that is not tied to one language.
Program code: for example Python, which a computer can run.
Flowchart symbols
| Shape | Meaning |
|---|---|
| Rounded rectangle | Start or stop (terminator) |
| Rectangle | Process, such as a calculation |
| Diamond | Decision, with a Yes path and a No path |
| Parallelogram | Input or output |
| Arrow | The direction to follow |
Follow this algorithm with the number 7.
1. Take a number.
2. Double it.
3. Add 4.
4. Halve the result.
5. Output the answer.
- Double 7: 7 × 2 = 14
- Add 4: 14 + 4 = 18
- Halve: 18 ÷ 2 = 9
Answer: 9
An algorithm is a precise, ordered set of steps that finishes. It can be shown as a written description, a flowchart, pseudocode or code. Flowcharts: rounded rectangle start/stop, rectangle process, diamond decision, parallelogram input/output.
- Algorithm
- A precise sequence of steps to solve a problem.
- Flowchart
- A diagram of an algorithm using standard symbols joined by arrows.
All GCSE and International GCSE Computer Science key terms and definitions →
- Not “Rectangle”. A rectangle is a process.
- Not “Parallelogram”. A parallelogram is input or output.
- Not “Rounded rectangle”. A rounded rectangle is start or stop.
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
Which flowchart shape is used for a process, such as total ← total + 5?
- Diamond
- Parallelogram
- Rectangle
- Rounded rectangle
Show the answer
Answer: Rectangle
Processes use a rectangle.
Which flowchart shape is used to display a result to the user?
- Diamond
- Rectangle
- Parallelogram
- Rounded rectangle
Show the answer
Answer: Parallelogram
Outputs use a parallelogram.
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.
- Pearson Edexcel GCSE Computer Science (1CP2) specification, topic Starter: builds on KS3 for algorithms
- Pearson Edexcel International GCSE Computer Science (4CP0) specification, topic Starter: builds on KS3 for algorithms
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? →