Testing a quiz
I can create a program that uses selection.
Testing a quiz
I can create a program that uses selection.
These resources will be removed by end of Summer Term 2025.
Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.
These resources were created for remote use during the pandemic and are not designed for classroom teaching.
Lesson details
Key learning points
- Designs can be used to guide program development
- Conditions should be tested so that the correct outcomes are run
- By testing a program, bugs can be identified and fixed
Keywords
Condition - a statement that can be either True or False
Test - to run a program to check if it works the way that you planned
Common misconception
You only need to test your program when you have finished writing it.
Test your program often, especially after you finish a section.
To help you plan your year 5 computing lesson on: Testing a quiz, download all teaching resources for free and adapt to suit your pupils' needs...
To help you plan your year 5 computing lesson on: Testing a quiz, download all teaching resources for free and adapt to suit your pupils' needs.
The starter quiz will activate and check your pupils' prior knowledge, with versions available both with and without answers in PDF format.
We use learning cycles to break down learning into key concepts or ideas linked to the learning outcome. Each learning cycle features explanations with checks for understanding and practice tasks with feedback. All of this is found in our slide decks, ready for you to download and edit. The practice tasks are also available as printable worksheets and some lessons have additional materials with extra material you might need for teaching the lesson.
The assessment exit quiz will test your pupils' understanding of the key learning points.
Our video is a tool for planning, showing how other teachers might teach the lesson, offering helpful tips, modelled explanations and inspiration for your own delivery in the classroom. Plus, you can set it as homework or revision for pupils and keep their learning on track by sharing an online pupil version of this lesson.
Explore more key stage 2 computing lessons from the Using selection in programming to develop a quiz unit, dive into the full primary computing curriculum, or learn more about lesson planning.
Equipment
Pupils will need access to a device with block-based programming software. Examples in this lesson use Scratch https://oak.link/scratch
Licence
Prior knowledge starter quiz
6 Questions
Q1.What does the 'if' block do in Scratch?
Q2.What do we call a plan with choices and different results?
Q3.Match each definition to its keyword.
in a program, the text or numbers that a user types in
part of a program where, if a condition is met, then commands are run
decision-making flow with a condition and two outcomes
the message shown after a choice