The three characteristics of a robot together

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

The three characteristics of a robot together

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which list gives the three characteristics of a robot?
A Mechanical structure, a screen, a keyboard
B Mechanical structure, electrical components, a program
2. A device has a metal frame and a motor and is powered by a circuit, but it has no program. Is it a robot?
A No, because it has no program
B Yes, because it has a frame and a motor
3. A robot vacuum cleaner has a body, motors, sensors, circuits and a program. Which statement is correct?
A It is not a robot because it is used at home
B It is a robot because it has all three characteristics
4. Which exam answer describes a robot using the three headings?
A It has a mechanical structure (arm), electrical components (motors, sensors) and a program that controls it
B It is a machine that is very fast, very strong and never needs to be switched off
5. A toy car is made of plastic and has a battery and a motor. It is driven by a remote and has no program. Which is true?
A It is missing one characteristic, so it is not a robot
B It has two characteristics, so it counts as a robot

Match the Pairs

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

Left columnRight column
1mechanical structure + electrical components + program ANot a robot, because one of the three characteristics is missing (it cannot be programmed)
2mechanical structure + electrical components + NO program BThe three characteristics a device must have together to count as a robot
3Describing a robot using the three headings in an exam answer CA robot needs all three characteristics, not just a program. It also needs a mechanical structure and electrical components.
4Missing one characteristic means the device is not a robot DMechanical structure: metal arm | Electrical components: motors, sensors | Program: instructions it follows
5A toaster has a metal body and electrical parts, so it is a robot. Ehas_structure = True has_electrical = True has_program = False is_robot = has_structure AND has_electrical AND has_program
6A robot only needs a program to be a robot: is_robot = has_program FIt has no program that controls its actions, so one characteristic is missing. All three are needed.

Definitions

mechanical structure + electrical components + program

Fill in the Blanks

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

1.
IF structure AND electrical ___ program THEN OUTPUT "Robot" ENDIF
2.
IF program = _____ THEN OUTPUT "Not a robot" ENDIF
3.
count ← 3 IF count _ 3 THEN OUTPUT "Robot"
4.
FOR i ← 1 __ 3 OUTPUT characteristic[i] NEXT i
5.
IF ___ electrical THEN OUTPUT "Not a robot" ENDIF

Spot the Error

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

Question 1
A needed ← 2
B found ← 3
C IF found = needed THEN
D OUTPUT "Robot"
E ENDIF
Question 2
A mech ← TRUE
B elec ← TRUE
C prog ← TRUE
D IF mech OR elec OR prog THEN
E OUTPUT "Robot"
F ENDIF
Question 3
A // Toaster: no program inside
B mech ← TRUE
C prog ← TRUE
D elec ← TRUE
E OUTPUT mech AND elec AND prog
Question 4
A PROCEDURE IsRobot(m, e, p)
B RETURN m AND e AND p
C ENDFUNCTION
Question 5
A OUTPUT "A robot needs:"
B OUTPUT "Mechanical structure"
C OUTPUT "Wheels"
D OUTPUT "A program"

Answer Key

The three characteristics of a robot together
Section A: Quick Questions
Q1
B — Mechanical structure, electrical components, a program
Q2
A — No, because it has no program
Q3
B — It is a robot because it has all three characteristics
Q4
A — It has a mechanical structure (arm), electrical components (motors, sensors) and a program that controls it
Q5
A — It is missing one characteristic, so it is not a robot
Section B: Match the Pairs
Q1
mechanical structure + electrical components + program → The three characteristics a device must have together to count as a robot
Q2
mechanical structure + electrical components + NO program → Not a robot, because one of the three characteristics is missing (it cannot be programmed)
Q3
Describing a robot using the three headings in an exam answer → Mechanical structure: metal arm | Electrical components: motors, sensors | Program: instructions it follows
Q4
Missing one characteristic means the device is not a robot → has_structure = True has_electrical = True has_program = False is_robot = has_structure AND has_electrical AND has_program
Q5
A toaster has a metal body and electrical parts, so it is a robot. → It has no program that controls its actions, so one characteristic is missing. All three are needed.
Q6
A robot only needs a program to be a robot: is_robot = has_program → A robot needs all three characteristics, not just a program. It also needs a mechanical structure and electrical components.
Section C: Definitions
Q1
mechanical structure + electrical components + program — A device is a robot only if it has all three: a mechanical structure, electrical components and a program. If any one is missing, it is not a robot.
Section D: Fill in the Blanks
Q1
IF structure AND electrical AND program THEN OUTPUT "Robot" ENDIF
Q2
IF program = FALSE THEN OUTPUT "Not a robot" ENDIF
Q3
count ← 3 IF count = 3 THEN OUTPUT "Robot"
Q4
FOR i ← 1 TO 3 OUTPUT characteristic[i] NEXT i
Q5
IF NOT electrical THEN OUTPUT "Not a robot" ENDIF
Section E: Spot the Error
Q1
A — A device is a robot only if it has all three characteristics (mechanical structure, electrical components and a program), so needed should be 3, not 2.
Q2
D — OR would accept a device with only one characteristic. All three are needed, so the line should use AND: IF mech AND elec AND prog THEN.
Q3
C — The comment says a toaster has no program, so prog should be FALSE. Because one characteristic is missing, the toaster is not a robot.
Q4
A — This block returns a value (TRUE or FALSE) and ends with ENDFUNCTION, so it must start with FUNCTION, not PROCEDURE.
Q5
C — Wheels are not one of the three characteristics, because a robot can move in other ways. The second characteristic is electrical components.