Flowcharts to block code: sequence – Year 7 Computing lesson
Why does the order of instructions matter? One complete Year 7 Computing lesson with slides, worksheets and a lesson plan.
Lesson 3 of 6 in unit 7.2 Algorithms and Block Programming, taught in Year 7, Autumn 2. It answers one big question: Why does the order of instructions matter?
By the end, pupils can plan a flowchart (typed as numbered steps that name each shape) for a sequence algorithm with the correct symbols and turn it into block code that runs in the right order.
- The Build (the main task)
- Type a flowchart for the sprite's whole route through the maze from Start to Goal, as numbered steps that name each shape, then build it in block code so the sprite reaches the goal.
- Support version
- Part-filled flowchart: Start, End and the first three steps are drawn; pupils choose the rest from a block bank.
- Challenge
- Explain what would happen if two of the turn blocks were swapped, and why.
- Real-world link
- Sat-nav directions and recipes only work if every step is exact and in order – like the sprite's route through the maze.
- Key words
- Flowchart, Sequence and Instruction, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “The order of the instructions does not matter, as long as all the steps are there”; “Any box shape will do in a flowchart”.
- National Curriculum
- NC1 (design, use and evaluate abstractions that model real-world problems and physical systems); NC2 (key algorithms (e.g. searching and sorting); compare alternative algorithms); NC3 (two or more languages, at least one textual; data structures; modular programs with procedures or functions).
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 need computers for the main task.
Also sold in the Algorithms and Block Programming 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 KS3 Computing
See allPupils learn to use decomposition, abstraction and algorithmic thinking to solve Bebras-style puzzles and explain their method.
Free sample lessonPupils learn to complete the 45-minute UK Bebras Challenge on their own, choosing a thinking tool for each task.
Free sample lessonPupils learn to spot repeated instructions in an algorithm and replace them with a repeat or forever loop to make the program more efficient.
Written for the specifications named. Not endorsed by or affiliated with any exam board.