Year 6TechnologySupport
A loop repeats the instructions inside its brackets. An if/else decision checks whether something is true and chooses what to do. The robot starts facing right.
ALoops
Do what is inside the brackets, then go back and do it again.
- 1.
What does a loop do in a program?
1 mark- repeats a set of instructions
- chooses between two things to do
- stops the program
- 2.
Program: repeat 3 times [ clap, stamp ]. How many claps and how many stamps are there altogether?
1 mark - 3.
Rewrite this program using a loop: move 2 steps, move 2 steps, move 2 steps, move 2 steps. Sentence starter: repeat ...
1 mark - 4.
Program: repeat 4 times [ move 5 steps, turn right 90° ]. What shape does the robot draw?
1 mark- a square
- a triangle
- a straight line
BDecisions
- 5.
Program: if it is raining then take an umbrella, else wear a sunhat. It is raining. What happens?
1 mark- take an umbrella
- wear a sunhat
- both
- 6.
An if/else decision lets a program do different things depending on whether something is true.
1 mark- True
- False