Skip to content
Menu

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.

Whiteboard video lesson: Winning, losing and selection

13-minute video lesson

Teaching, worked examples and 20 practice questions solved step by step.

Watch free for a month

What your child will learn

  • Explain selection and conditions
  • Use comparison operators
  • Write win and lose rules
  • Debug selection errors

The method

  1. Rule.
  2. If ... then.
  3. Inside forever.
  4. 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?

  1. Step 1: Choose

Answer: choosing what happens using a condition

Question 2

Name the block used for selection.

  1. Step 1: if...

Answer: if ... then

Question 3

A condition is either ___ or ___.

  1. Step 1: T / F

Answer: true or false