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 temperature < 25 THEN heater ← ON | AData logging: the system records a sensor reading at regular intervals so readings can be collected over a long period without a person present | |
| 2WAIT 60 seconds; STORE reading | BThe wrong comparison is used. The heater should switch on when the temperature is BELOW the set value, not above it, otherwise the experiment gets hotter and hotter. | |
| 3A pH-controlled experiment: if the pH sensor reading is too high, the microprocessor makes a pump add acid | CKeeps an experiment at a set temperature by switching a heater on when the sensor reading drops below the stored value | |
| 4A probe in a dangerous place such as a volcano sends sensor readings to scientists instead of a person going there | DOUTPUT gas_reading TO base_station | |
| 5IF temperature > 25 THEN heater ← ON | EIF pH > 7.5 THEN pump ← ON | |
| 6WHILE experiment_running: STORE reading (no WAIT) | FThere is no time interval between readings, so the system stores huge amounts of data very quickly and the memory fills up long before a long experiment ends. |
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 science — Sensors and a microprocessor measure and control conditions in experiments, and collect data in places too dangerous or remote for people, such as volcanoes or space.IF temperature < 30 THEN
heater ← ON
ENDIFWHILE running = TRUE
reading ← ReadSensor(pH)
ENDWHILEreading ← ReadSensor(gas)
OUTPUT reading
WAIT 60IF pH < 7 THEN
alkaliPump ← ON
ENDIFIF temperature > 30 THEN
heater ← OFF
ENDIF