Reading AQA pseudo-code and writing code on paper – AQA GCSE Computer Science lesson (8525)
Pupils learn to read AQA pseudo-code accurately and write code in the class's language on paper that earns design and program marks.
Lesson 10 of 14 in unit 11.2 Software, Translators and Databases, taught in Year 11, Autumn 2. It answers one big question: How do we write precise code on paper for the exam?
By the end, pupils can read AQA pseudo-code accurately and write code in the class's language on paper that earns design and program marks.
- The Build (the main task)
- Write the algorithm as a program. You should use indentation, meaningful identifiers and the class's language syntax. (6 marks) This algorithm should output each character of a name in turn, but line 3 has an error. Write the corrected line 3. (1 mark)
- Support version
- A side-by-side table of AQA pseudo-code and the class's language for every construct used.
- Challenge
- Write this algorithm in the class's language in two different ways. (4 marks) Write a program with a subroutine lastThree(word) that returns the last three characters of word. The program should input a word and output what lastThree returns. (4 marks) Write this algorithm as a program. (5 marks)
- Real-world link
- The booking app's algorithm, handed over in pseudo-code.
- Key words
- Pseudo-code, Indentation and Precise, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “AQA's SUBSTRING(2, 5, s) is s[2:5] in Python or s.Substring(2, 5) in C# and VB.NET”; “Pseudo-code keywords like OUTPUT can go in a coded answer”.
- AQA 8525 specification
- 3.1.1; 3.2.
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 Software, Translators and Databases 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 what system software and application software are, give examples of each, and explain why utility programs are needed.
Pupils learn to explain the need for an operating system and how it manages the processor, memory, input/output devices, applications and security.
Pupils learn to explain what a database is and describe tables, records, fields and data types.
Written for the specifications named. Not endorsed by or affiliated with any exam board.