What a robot is

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

What a robot is

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which statement best describes a robot?
A A machine that carries out tasks automatically by following a program
B Any machine that has a person controlling every single movement
2. Does a robot have to look like a human?
A No, it can look like an arm, a vacuum or a drone
B Yes, it must have a head, arms and legs
3. A machine moves only when a person pushes the buttons for each action. Is it acting on its own?
A Yes, because it is a machine
B No, a person controls each action
4. Which is a real robot?
A A robot arm that welds car parts by following a program
B A talking robot character that only exists in a film
5. What tells a robot which tasks to carry out?
A A human operator pressing a button for every move
B A program

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1robot Awhile True: run_program()
2automatic task BA robot works automatically by following a program, usually without a person controlling each action.
3A robot does not have to look like a human. A robot arm that welds car parts is still a robot. Crobot_arm = Robot("welding")
4A real robot follows a stored program to act on its own, unlike a film robot that is only acted or animated. DA job the machine does by itself, following its program, without a person controlling each step
5A robot must always look like a person. ERobots do not need a human shape. Many real robots, such as factory arms and robot vacuum cleaners, look nothing like people.
6A robot needs a person to control every action. FA machine that carries out tasks automatically by following a program, usually without a person controlling each action

Definitions

robot

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
_____ floorIsDirty = TRUE CALL cleanFloor() ENDWHILE
2.
mode _ "automatic"
3.
IF obstacleAhead = TRUE ____ CALL turnAway() ENDIF
4.
___ step ← 1 TO 4 CALL flyForward() NEXT step
5.
IF batteryLevel _ 20 THEN CALL returnToCharger() ENDIF

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A hasProgram ← TRUE
B personControls ← FALSE
C IF hasProgram AND NOT personControls
D THEN OUTPUT "Not a robot"
E ELSE OUTPUT "Not a robot"
Question 2
A robot ← "vacuum"
B mode ← "manual"
C OUTPUT robot & " runs " & mode
Question 3
A IF looksHuman = TRUE THEN
B OUTPUT "Robot"
C ENDIF
Question 4
A filmRobot ← "talks and feels"
B realRobot ← "follows a program"
C OUTPUT "Real robots " & filmRobot
Question 5
A task ← "weld car doors"
B programmed ← FALSE
C IF programmed THEN
D OUTPUT task & " automatically"
E ENDIF

Answer Key

What a robot is
Section A: Quick Questions
Q1
A — A machine that carries out tasks automatically by following a program
Q2
A — No, it can look like an arm, a vacuum or a drone
Q3
B — No, a person controls each action
Q4
A — A robot arm that welds car parts by following a program
Q5
B — A program
Section B: Match the Pairs
Q1
robot → A machine that carries out tasks automatically by following a program, usually without a person controlling each action
Q2
automatic task → A job the machine does by itself, following its program, without a person controlling each step
Q3
A robot does not have to look like a human. A robot arm that welds car parts is still a robot. → robot_arm = Robot("welding")
Q4
A real robot follows a stored program to act on its own, unlike a film robot that is only acted or animated. → while True: run_program()
Q5
A robot must always look like a person. → Robots do not need a human shape. Many real robots, such as factory arms and robot vacuum cleaners, look nothing like people.
Q6
A robot needs a person to control every action. → A robot works automatically by following a program, usually without a person controlling each action.
Section C: Definitions
Q1
robot — A machine that carries out tasks automatically by following a program, usually without a person controlling each action. It does not have to look human.
Section D: Fill in the Blanks
Q1
WHILE floorIsDirty = TRUE CALL cleanFloor() ENDWHILE
Q2
mode ← "automatic"
Q3
IF obstacleAhead = TRUE THEN CALL turnAway() ENDIF
Q4
FOR step ← 1 TO 4 CALL flyForward() NEXT step
Q5
IF batteryLevel < 20 THEN CALL returnToCharger() ENDIF
Section E: Spot the Error
Q1
D — The machine has a program and no person controls each action, so it is a robot. The THEN branch should output "Robot".
Q2
B — A robot carries out tasks automatically by following a program. The mode should be "automatic", not "manual".
Q3
A — A robot does not have to look human. The test should be whether the machine runs a program (runsProgram), not what it looks like.
Q4
C — This line describes real robots, so it must use realRobot (follows a program). filmRobot describes the film version, which is not how real robots work.
Q5
B — A robot works by following a program, so programmed should be TRUE. With FALSE the machine would not carry out the task automatically.