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 pressure > 8 THEN open_valve | AA sensor cannot close a valve. Sensors only send readings. The microprocessor decides and an actuator (the valve) does the action. | |
| 2IF level >= 100 THEN close_valve | BThe robotic arm is an actuator, so it is an output device. It does not take readings. A sensor should send the data and the microprocessor should control the arm. | |
| 3An infra-red sensor on a production line detects an item and the microprocessor starts a motor on the conveyor belt | CIF temp > 90 THEN heater_off | |
| 4A temperature sensor in a chemical plant is read repeatedly so the microprocessor can switch the heater off when it is too hot | DThe microprocessor compares the pressure sensor reading with a stored limit and opens a valve to release pressure in a chemical plant | |
| 5IF level >= 100 THEN sensor_close_valve | EIF item_detected THEN start_motor | |
| 6IF robot_arm_moved THEN read_temperature | FThe level sensor shows the tank is full, so the microprocessor closes the filling valve to stop the liquid |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Automated system in industry — Sensors send readings to a microprocessor, which controls actuators like motors, valves and robotic arms to run a production line or chemical plant with little human control.IF temperature > 80 THEN
SWITCH_ON coolingPump
ENDIFWHILE level < 100 DO
OPEN fillValve
ENDWHILEIF proximitySensor < 5 THEN
STOP conveyorMotor
ENDIFIF pressure > maxPressure THEN
OPEN releaseValve
ENDIFIF partInPlace THEN
MOVE roboticArm TO weldPoint
ENDIF