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 | |
|---|---|---|
| 1humidity sensor | AIF humidity > 70 THEN start_dehumidifier | |
| 2humidity = readSensor() | BIF humidity < 60 THEN start_mister | |
| 3A greenhouse uses a humidity sensor to keep the air moist enough for plants | CAn input device that measures the amount of water vapour in the air | |
| 4An air conditioning system uses a humidity sensor to remove extra water vapour from the air | DA humidity sensor measures water vapour in the air, not water in soil. A moisture sensor is used for soil. | |
| 5A humidity sensor measures the amount of water in the soil | EStores the water vapour reading from the humidity sensor in a variable | |
| 6A weather station uses a humidity sensor to measure air temperature | FA humidity sensor measures moisture in the air. Air temperature needs a temperature sensor. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
humidity sensor — An input device that measures the amount of water vapour (moisture) in the air. Used in weather stations, greenhouses and air conditioning systems.humidity ← GetHumidity()IF humidity > 70 THEN
OUTPUT "Turn on air conditioning"
ENDIFIF humidity < 40 THEN
OUTPUT "Start the greenhouse sprayers"
ENDIFWHILE humidity > 60 DO
humidity ← GetHumidity()
ENDWHILEweatherHumidity ← GetHumidity()
OUTPUT weatherHumidity