Robotics Worksheet: Robot State
Robot tip (Trace and write): Set (=) replaces the value; + adds; − takes away. Write the value after every line; the last change is the answer. In a loop, multiply: repeat 10 { 3% } uses 30%.
NameDateTime takenScore ___ / 40
-
1.📋 A robot starts on the start line of a straight track and runs:
forward 20 cm
forward 20 cm
forward 35 cm
back 10 cm
forward 10 cm
How many cm in front of the start line is it now? -
2.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 1% and each turn uses 1%. It runs:
repeat 9 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
3.📋 A robot program runs:
speed = 30
speed = 40
speed = speed − 20
What is the speed at the end? - 4.📋 A program says “speed = 30” and then “speed = 50”. What is the speed? (a) 50 (b) 20 (c) 30 (d) 80
-
5.📋 A robot starts on the start line of a straight track and runs:
forward 45 cm
forward 5 cm
forward 25 cm
How many cm in front of the start line is it now? -
6.📋 A robot starts on the start line of a straight track and runs:
forward 15 cm
forward 40 cm
back 30 cm
forward 35 cm
forward 25 cm
How many cm in front of the start line is it now? -
7.📋 A robot starts on the start line of a straight track and runs:
forward 40 cm
back 5 cm
forward 15 cm
back 10 cm
How many cm in front of the start line is it now? -
8.📋 A warehouse robot starts with an empty tray and runs:
pick up 1 box
pick up 2 boxes
pick up 4 boxes
pick up 1 box
How many boxes are on its tray at the end? -
9.📋 A robot program runs:
speed = 20
speed = 10
speed = speed + 20
speed = speed − 20
speed = speed + 20
What is the speed at the end? -
10.📋 A warehouse robot starts with an empty tray and runs:
pick up 4 boxes
put down 1 box
put down 3 boxes
How many boxes are on its tray at the end? -
11.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 1% and each turn uses 2%. It runs:
repeat 5 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
12.📋 A warehouse robot starts with an empty tray and runs:
pick up 3 boxes
pick up 3 boxes
put down 4 boxes
How many boxes are on its tray at the end? -
13.📋 A robot starts on the start line of a straight track and runs:
forward 25 cm
forward 30 cm
back 40 cm
back 15 cm
forward 40 cm
How many cm in front of the start line is it now? -
14.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 2% and each turn uses 1%. It runs:
repeat 9 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
15.📋 A robot program runs:
speed = 40
speed = speed − 20
speed = speed − 10
speed = 20
speed = speed + 15
What is the speed at the end? -
16.📋 A warehouse robot starts with an empty tray and runs:
pick up 4 boxes
pick up 4 boxes
put down 3 boxes
pick up 2 boxes
pick up 2 boxes
How many boxes are on its tray at the end? -
17.📋 A robot starts on the start line of a straight track and runs:
forward 25 cm
back 10 cm
forward 25 cm
How many cm in front of the start line is it now? -
18.📋 A warehouse robot starts with an empty tray and runs:
pick up 4 boxes
pick up 4 boxes
put down 4 boxes
How many boxes are on its tray at the end? -
19.📋 A warehouse robot starts with an empty tray and runs:
pick up 2 boxes
pick up 1 box
pick up 3 boxes
pick up 4 boxes
How many boxes are on its tray at the end? - 20.📋 What does “speed = speed + 10” do? (a) sets speed to 10 (b) stops the robot (c) adds 10 to the speed (d) takes 10 away
-
21.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 4% and each turn uses 2%. It runs:
repeat 8 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? - 22.📋 The “state” of a robot means … (a) its paint colour (b) its values right now (c) its price (d) its box size
-
23.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 1% and each turn uses 1%. It runs:
repeat 10 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
24.📋 A robot starts on the start line of a straight track and runs:
forward 5 cm
forward 15 cm
back 10 cm
forward 35 cm
How many cm in front of the start line is it now? -
25.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 2% and each turn uses 2%. It runs:
repeat 2 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
26.📋 A warehouse robot starts with an empty tray and runs:
pick up 1 box
put down 1 box
pick up 2 boxes
put down 2 boxes
pick up 1 box
How many boxes are on its tray at the end? -
27.📋 A warehouse robot starts with an empty tray and runs:
pick up 1 box
pick up 2 boxes
pick up 3 boxes
How many boxes are on its tray at the end? -
28.📋 A robot program runs:
speed = 20
speed = speed − 15
speed = speed − 5
speed = speed + 5
speed = 50
What is the speed at the end? -
29.📋 A warehouse robot starts with an empty tray and runs:
pick up 2 boxes
put down 1 box
put down 1 box
pick up 3 boxes
How many boxes are on its tray at the end? -
30.📋 A robot program runs:
speed = 10
speed = 20
speed = speed − 20
speed = speed + 5
speed = 50
What is the speed at the end? -
31.📋 A warehouse robot starts with an empty tray and runs:
pick up 1 box
pick up 2 boxes
pick up 1 box
How many boxes are on its tray at the end? -
32.📋 A robot program runs:
speed = 40
speed = speed − 15
speed = speed + 10
What is the speed at the end? -
33.📋 A robot starts on the start line of a straight track and runs:
forward 25 cm
back 20 cm
forward 35 cm
forward 20 cm
How many cm in front of the start line is it now? -
34.📋 A robot starts on the start line of a straight track and runs:
forward 20 cm
back 15 cm
forward 10 cm
forward 10 cm
How many cm in front of the start line is it now? -
35.📋 A robot program runs:
speed = 10
speed = 10
speed = speed + 20
What is the speed at the end? -
36.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 3% and each turn uses 1%. It runs:
repeat 5 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
37.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 3% and each turn uses 2%. It runs:
repeat 3 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
38.📋 A robot program runs:
speed = 20
speed = speed + 15
speed = speed − 20
speed = speed + 15
What is the speed at the end? -
39.📋 A robot program runs:
speed = 30
speed = speed − 5
speed = 40
speed = speed + 5
speed = speed − 20
What is the speed at the end? -
40.📋 A warehouse robot starts with an empty tray and runs:
pick up 2 boxes
pick up 4 boxes
put down 3 boxes
put down 2 boxes
pick up 2 boxes
How many boxes are on its tray at the end?
Answer key
- 75
- 82
- 20
- 50
- 75
- 85
- 40
- 8
- 30
- 0
- 85
- 2
- 40
- 73
- 35
- 9
- 40
- 4
- 10
- adds 10 to the speed
- 52
- its values right now
- 80
- 45
- 92
- 1
- 6
- 50
- 3
- 50
- 4
- 35
- 60
- 25
- 30
- 80
- 85
- 30
- 25
- 3
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids