Year 5 - Computing
Using conditions to build quiz questions
Using selection in programming to develop a quiz
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 5 - Computing
Using selection in programming to develop a quiz
In this unit pupils will discover how to write programs that ask questions and use selection to control the outcomes based on the answers given. They will design a quiz in response to a given task and implement it as a program. They will then evaluate their programs against given criteria.
You will learn to explain how selection directs the flow of the program.
Conditions can be used to control program flow. A condition can direct program flow in one of two ways.
part of a program where if a condition is met, then a set of commands is run. Add one real device or system example to prove understanding.
Mistake: The program understands that 'twelve' is the same as '12' in the user input. Correction: The user's input needs to be an exact match to what you put in the condition.
Browse all guides in the Year 5 Computing guide library.