Algorithms and programs – AQA GCSE Computer Science lesson (8525)
Pupils learn to explain what an algorithm is, tell an algorithm from a program, and pick out the inputs, processing and outputs in one.
Lesson 1 of 13 in unit 10.1 Computer Systems and First Programs, taught in Year 10, Autumn 1. It answers one big question: Is an algorithm the same thing as a program?
By the end, pupils can explain what an algorithm is, tell an algorithm from a program, and pick out the inputs, processing and outputs in one.
- The Build (the main task)
- Write an algorithm of 6–8 numbered steps that a trip-booking kiosk follows to book one pupil onto a trip, and label each step input, processing or output. (4 marks) Define the term algorithm. (2 marks)
- Support version
- Part-filled algorithm: steps 1, 3 and 5 are written; pupils write the missing steps, label each one input, processing or output, and finish the definition.
- Challenge
- A school canteen till sells one meal to a pupil who pays with their school card. Write an algorithm of 5–7 numbered steps for the till, and label each step input, processing or output. (4 marks) Explain why a computer program is an implementation of an algorithm, but an algorithm is not a computer program. (4 marks) These steps for a bike-hire dock are jumbled: A Unlock a bike. B Rider scans their app code. C Show 'Ride started'. D Check the rider's account has credit. E Start the ride timer. Write the steps in a correct sequence (2 marks). Label each step input, processing or output (2 marks). Explain why the sequence of an algorithm matters, using this dock as your example (2 marks).
- Real-world link
- A self-service kiosk booking a pupil onto a school trip: inputs, processing and outputs in one familiar machine.
- Key words
- Algorithm, Program and Sequence, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “An algorithm only counts once it is written in code”; “An algorithm is a set of instructions in any order”.
- AQA 8525 specification
- 3.1.1 (representing algorithms: algorithm, decomposition, abstraction, pseudo-code and flowcharts, inputs, processing and outputs).
Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.
Pupils can do it all on paper.
Also sold in the Computer Systems and First Programs unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
Choose your school's Paper 1 language when you buy: C#, Python or VB.NET. You get that language's files: every program, code example, worked answer and programming task is written in it, and lessons with no code are the same in all three. Algorithms are also shown in AQA pseudo-code, as in the exam.
An independent resource written for AQA GCSE Computer Science (8525). It is not endorsed by AQA.
What's included
- Slide deck (PowerPoint)
- Lesson plan (Word)
- Worksheet (Word)
- Support worksheet with scaffolds (Word)
- Single-teacher licence: use and adapt it with your own classes
- Your choice of Paper 1 language: C#, Python or VB.NET
More for GCSE Computer Science (AQA)
See allPupils learn to explain decomposition and abstraction and use both on a real problem.
Pupils learn to define hardware and software, explain how they depend on each other, and describe the CPU's job with main memory.
Pupils learn to write a program that uses input, output, variables and a named constant with meaningful identifiers, and read the same steps in AQA pseudo-code.
Written for the specifications named. Not endorsed by or affiliated with any exam board.