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 | |
|---|---|---|
| 1if obstacle_detected: stop() | Afor i in range(100): weld(x + 5) | |
| 2power_level = 0 | BRobots cannot use human judgement. They only act on programmed instructions, so a robot would not decide this unless it was programmed to. | |
| 3A programming error makes a robot repeat the same mistake every time it runs the program. | CThe robot only reacts to situations it was programmed for, so it cannot cope with a new, unexpected problem. | |
| 4A robot is less flexible than a person because it only follows its programmed instructions. | Dtask = "paint car"; new_task = "" | |
| 5Robot sees a worker's dropped tool on the line and decides to stop to avoid damage, using its own judgement. | EA power failure or breakdown makes the robot stop working, so production stops until it is fixed. | |
| 6The factory loses power, but the robots keep working and production carries on as normal. | FRobots need power to work. If power fails or they break down, they stop and production stops. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
robot limitations — A robot can only do what it is programmed to do, cannot use human judgement, and stops working if it breaks down or loses power. It is less flexible than a person.WHILE power = "ON"
weld_joint()
ENDWHILEIF part = "door" THEN
weld()
ELSE stop_and_wait()FOR count ← 1 TO 500
drill(5)
NEXT countIF fault = TRUE THEN
halt_line()
ENDIFIF task = "weld" THEN
weld()
ENDIF