Flowcharts and pseudocode – OCR GCSE Computer Science lesson (J277)
Pupils learn to represent an algorithm as a flowchart using the correct symbols and as pseudocode, and convert between the two.
Lesson 10 of 13 in unit 10.1 Systems Architecture and First Programs, taught in Year 10, Autumn 1. It answers one big question: How can we plan an algorithm before writing any code?
By the end, pupils can represent an algorithm as a flowchart using the correct symbols and as pseudocode, and convert between the two.
- The Build (the main task)
- Draw a flowchart for an algorithm that inputs the number of pupils and outputs the full minibuses of 16 and the pupils left over, then write the same algorithm in pseudocode.
- Support version
- Part-filled flowchart: the symbols and arrows are drawn and the first box is filled in; pupils write in the rest, then complete gapped pseudocode.
- Challenge
- Explain why pseudocode is useful even though it cannot be run on a computer.
- Real-world link
- Planning the trip planner on paper before anyone types a line of code.
- Key words
- Flowchart, Pseudocode and Represent, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “Any box shape will do in a flowchart”; “Pseudocode must follow exact syntax, or it is wrong”.
- OCR J277 specification
- 2.1.2 (designing algorithms: inputs, processes, outputs, flowcharts, pseudocode).
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 Systems Architecture and First Programs unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
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
More for GCSE Computer Science (OCR)
See allPupils learn to describe a computer system as input, process, storage and output, and write an algorithm as precise numbered steps for a stated purpose.
Free sample lessonPupils learn to decompose a problem into smaller sub-problems in a structure diagram and use abstraction to decide which details a solution needs and which it can ignore.
Pupils learn to state the purpose of the CPU and describe von Neumann architecture, in which instructions and data are stored together in the same memory.
Written for the specifications named. Not endorsed by or affiliated with any exam board.