Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1robot.frame = "steel body" | AhasMechanicalStructure = True | |
| 2robot.wheels = 4 | Brobot.arm.joint = "elbow" | |
| 3A joint is a mechanical part that lets a robot arm bend and turn | CThe mechanical structure is the physical frame, arms, joints or wheels. It is not the software. | |
| 4A robot must have a physical body, not just a program | DSets the frame, the body that holds the robot's parts together | |
| 5robot = "program only" hasBody = False | EA program with no physical body is not a robot, because every robot needs a mechanical structure. | |
| 6structure = "the robot's software" | FGives the robot four wheels so that it can move across the ground |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
mechanical structure — The physical body or framework of a robot, such as its frame, joints, arms or wheels, that holds its parts together and lets it move. A program alone is not a robot.IF hasFrame = TRUE THEN
OUTPUT "Could be a robot"
ENDIFIF hasFrame = FALSE THEN
isRobot ← FALSE
ENDIFwheels ← 4
joints ← 2
OUTPUT wheelsIF wheels > 0 THEN
OUTPUT "Structure lets it move"
ENDIFhasProgram ← TRUE
hasFrame ← FALSE
isRobot ← hasProgram AND hasFrame