Year 6 · Computing · Variables and games · Lesson 3
Winning, losing and selection
Selection in games: if...then and if...then...else, true/false conditions, comparison operators, win and lose rules, and common selection bugs.

13-minute video lesson
Teaching, worked examples and 20 practice questions solved step by step.
Watch free for a monthWhat your child will learn
- Explain selection and conditions
- Use comparison operators
- Write win and lose rules
- Debug selection errors
The method
- Rule.
- If ... then.
- Inside forever.
- Test true and false.
Key words: selection, if then, condition, operator, forever, else.
Worked examples
The first three practice questions from the lesson, with every step.
Question 1
What is selection?
- Step 1: Choose
Answer: choosing what happens using a condition
Question 2
Name the block used for selection.
- Step 1: if...
Answer: if ... then
Question 3
A condition is either ___ or ___.
- Step 1: T / F
Answer: true or false