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.📋 The “state” of a robot means … (a) its box size (b) its paint colour (c) its price (d) its values right now
- 2.📋 A program says “speed = 30” and then “speed = 50”. What is the speed? (a) 20 (b) 30 (c) 80 (d) 50
-
3.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 3% and each turn uses 1%. It runs:
repeat 3 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
4.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 4% and each turn uses 1%. It runs:
repeat 3 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
5.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 1% and each turn uses 1%. It runs:
repeat 8 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
6.📋 A robot program runs:
speed = 50
speed = 50
speed = speed + 15
speed = speed − 10
speed = speed − 5
What is the speed at the end? -
7.📋 A warehouse robot starts with an empty tray and runs:
pick up 3 boxes
pick up 1 box
put down 1 box
How many boxes are on its tray at the end? - 8.📋 What does “speed = speed + 10” do? (a) takes 10 away (b) adds 10 to the speed (c) stops the robot (d) sets speed to 10
-
9.📋 A robot starts on the start line of a straight track and runs:
forward 25 cm
forward 35 cm
back 25 cm
back 15 cm
back 20 cm
How many cm in front of the start line is it now? -
10.📋 A warehouse robot starts with an empty tray and runs:
pick up 2 boxes
pick up 2 boxes
pick up 3 boxes
pick up 1 box
How many boxes are on its tray at the end? -
11.📋 A robot starts on the start line of a straight track and runs:
forward 15 cm
forward 25 cm
back 35 cm
back 5 cm
forward 40 cm
How many cm in front of the start line is it now? -
12.📋 A warehouse robot starts with an empty tray and runs:
pick up 3 boxes
put down 2 boxes
pick up 3 boxes
pick up 1 box
How many boxes are on its tray at the end? -
13.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 1% and each turn uses 1%. It runs:
repeat 3 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
14.📋 A warehouse robot starts with an empty tray and runs:
pick up 4 boxes
pick up 4 boxes
put down 2 boxes
put down 1 box
pick up 3 boxes
How many boxes are on its tray at the end? -
15.📋 A robot program runs:
speed = 50
speed = speed + 15
speed = speed − 5
What is the speed at the end? -
16.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 1% and each turn uses 2%. It runs:
repeat 2 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
17.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 3% and each turn uses 1%. It runs:
repeat 8 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
18.📋 A robot program runs:
speed = 30
speed = speed − 5
speed = speed − 10
speed = 10
What is the speed at the end? -
19.📋 A robot starts on the start line of a straight track and runs:
forward 35 cm
back 20 cm
forward 35 cm
forward 5 cm
back 15 cm
How many cm in front of the start line is it now? -
20.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 1% and each turn uses 1%. It runs:
repeat 2 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
21.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 2% and each turn uses 2%. It runs:
repeat 9 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
22.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 1% and each turn uses 2%. It runs:
repeat 4 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
23.📋 A robot starts on the start line of a straight track and runs:
forward 25 cm
forward 10 cm
forward 30 cm
How many cm in front of the start line is it now? -
24.📋 A robot program runs:
speed = 50
speed = speed + 5
speed = 50
What is the speed at the end? -
25.📋 A robot program runs:
speed = 50
speed = speed + 20
speed = speed + 20
speed = speed − 10
speed = speed − 10
What is the speed at the end? -
26.📋 A robot starts on the start line of a straight track and runs:
forward 30 cm
forward 10 cm
back 40 cm
forward 20 cm
How many cm in front of the start line is it now? -
27.📋 A robot program runs:
speed = 20
speed = speed + 5
speed = speed + 20
speed = 50
What is the speed at the end? -
28.📋 A robot starts on the start line of a straight track and runs:
forward 15 cm
forward 40 cm
forward 15 cm
How many cm in front of the start line is it now? -
29.📋 A robot starts on the start line of a straight track and runs:
forward 40 cm
forward 20 cm
back 25 cm
forward 30 cm
How many cm in front of the start line is it now? -
30.📋 A robot starts on the start line of a straight track and runs:
forward 10 cm
forward 45 cm
back 15 cm
How many cm in front of the start line is it now? -
31.📋 A robot starts on the start line of a straight track and runs:
forward 15 cm
forward 5 cm
forward 45 cm
How many cm in front of the start line is it now? -
32.📋 A warehouse robot starts with an empty tray and runs:
pick up 2 boxes
pick up 3 boxes
put down 2 boxes
pick up 4 boxes
pick up 4 boxes
How many boxes are on its tray at the end? -
33.📋 A warehouse robot starts with an empty tray and runs:
pick up 2 boxes
put down 1 box
pick up 4 boxes
pick up 4 boxes
How many boxes are on its tray at the end? -
34.📋 A robot program runs:
speed = 30
speed = 50
speed = speed + 20
speed = 20
speed = speed − 10
What is the speed at the end? -
35.📋 A robot starts on the start line of a straight track and runs:
forward 10 cm
forward 5 cm
forward 5 cm
forward 35 cm
back 5 cm
How many cm in front of the start line is it now? -
36.📋 A robot’s battery is at 100%. Each “forward 10 cm” uses 1% and each turn uses 1%. It runs:
repeat 4 { forward 10 cm; turn right 90° }
What is the battery level at the end (in %)? -
37.📋 A robot program runs:
speed = 10
speed = speed + 10
speed = 50
What is the speed at the end? -
38.📋 A robot starts on the start line of a straight track and runs:
forward 15 cm
forward 20 cm
back 20 cm
How many cm in front of the start line is it now? -
39.📋 A robot starts on the start line of a straight track and runs:
forward 35 cm
back 25 cm
forward 30 cm
forward 25 cm
back 35 cm
How many cm in front of the start line is it now? -
40.📋 A robot program runs:
speed = 40
speed = speed + 10
speed = speed − 10
speed = 40
What is the speed at the end?
Answer key
- its values right now
- 50
- 88
- 85
- 84
- 50
- 3
- adds 10 to the speed
- 0
- 8
- 40
- 5
- 94
- 8
- 60
- 94
- 68
- 10
- 40
- 96
- 64
- 88
- 65
- 50
- 70
- 20
- 50
- 70
- 65
- 40
- 65
- 11
- 9
- 10
- 50
- 92
- 50
- 15
- 30
- 40
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids