Yes or no questions
Today I can tell a condition from a command and explain why some conditions must be checked again and again.
A Look back3 min
- 1.
The robot starts on the top-left square. Write the arrows to reach the star. Use → for right.
- 2.
Circle the one that is an algorithm.
A picture of a keyboardA set of steps to finish a task in orderA type of mouse - 3.
The robot cannot move onto a rock. Write one route to the star without touching the rock.
B Watch me, then you4 min
Ola's cat must turn round when it reaches the edge of the screen. Read the code, then try the questions.

The forever loop keeps the check running.
The condition is: is the cat touching the edge?
Yes means turn round. No means do nothing.
- 1.
Circle the one that is a condition.
Turn 180 degrees.Is the cat touching the edge?What is your favourite colour?
C Your turn5 min
Look at each row. Decide what is a yes or no question, and what is a command.

- 1.
Circle the one that is a condition.
Move 10 steps.Is the key pressed?What is your favourite food? - 2.
Circle the one that is a condition about a number.
Add 1 to the score.Is the score 10 or more?Make the score bigger. - 3.
Write each card in the right column.
Is the sprite touching the wall?Make the sprite jump.Is the score over 20?How many lives are left?A condition Not a condition - 4.
A race game. Write one yes or no condition that checks if the sprite has won.
Say it out loud: What is the same about every condition you picked? What do the commands have in common?
D Spot the mistake3 min
- 1.
Is Kit right? Write one sentence to explain why.
E Think deeper4 min
- 1.
Write two if/then rules for this maze, one about a rock and one about the star. Say which part is the condition.