Lesson 4 - Using loops to create shapes
In this lesson, pupils will work with count-controlled loops in a range of contexts. First, they will think about a real-life example, then they will move on to using count-controlled loops in regular 2D shapes. They will trace code to predict which shapes will be drawn, and they will modify existing code by changing values within the code snippet.
Learning objectives
- To modify a count-controlled loop to produce a given outcome
- I can identify the effect of changing the number of times a task is repeated
- I can predict the outcome of a program containing a count-controlled loop
- I can choose which values to change in a loop
Show health and safety information
Please be aware that resources have been published on the website in the form that they were originally supplied. This means that procedures reflect general practice and standards applicable at the time resources were produced and cannot be assumed to be acceptable today. Website users are fully responsible for ensuring that any activity, including practical work, which they carry out is in accordance with current regulations related to health and safety and that an appropriate risk assessment has been carried out.
Downloads
-
Lesson plan - Repetition in shapes 402.79 KB
-
Slides - Repetition in shapes 1020.7 KB
-
Worksheet - Writing code for shapes 319.45 KB
-
Homework - Repetition in shapes 398.39 KB
Show downloads
Download all files as a .zip2.43 MB
Subject(s) | Computing |
---|---|
Tags | n.a |
Age | 7-11 |
Published | 2020 to date |
Log in to rate this resource | |
URL | https://www.stem.org.uk/rxhfxm |