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 | |
|---|---|---|
| 1driverless_car.detect(obstacle) | AA driverless car with no sensors cannot detect obstacles, so it could crash into people or other vehicles | |
| 2drone.deliver(parcel, address) | Bwarehouse_robot.move(stock, packing_area) | |
| 3A warehouse robot moves stock from a shelf to the packing area | CA delivery drone flies a parcel to a customer's address, moving goods without a human driver | |
| 4A sensor on a transport robot stops it when an obstacle is too close | DIF distance < 1 THEN stop() | |
| 5driverless_car.drive() // no sensors fitted | EA self-driving car uses its sensors to detect an obstacle on the road so it can avoid it | |
| 6warehouse_robot.move(stock) // no destination | FThe warehouse robot has no destination, so it does not know where to carry the stock |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
robots in transport — Robots move people and goods, for example driverless cars, delivery drones and warehouse robots, using sensors to detect obstacles.IF obstacle = TRUE THEN
stop_car()
ENDIFIF distance < 2 THEN
hover()
ENDIFWHILE parcels_left > 0 DO
carry_to_van()
ENDWHILEobstacle ← read_sensor()
IF obstacle = TRUE THEN stop_car() ENDIFIF blocked = TRUE THEN turn()
ELSE go_on()
ENDIF