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 | |
|---|---|---|
| 1pH sensor | AIF pH < 6.5 THEN sound_alarm() | |
| 2pH value = 3 | BA pH sensor measures how acidic or alkaline a liquid is, not its temperature. A temperature sensor measures temperature. | |
| 3A pH sensor in a fish tank keeps the water safe for the fish by checking the pH value | CA pH of 7 is neutral, not strongly acidic. Strongly acidic liquids have a pH close to 0. | |
| 4A pH sensor in soil testing lets a farmer know if the soil is too acidic or alkaline for crops | DThe liquid is strongly acidic, because it is well below 7 on the pH scale | |
| 5A pH sensor measures the temperature of a liquid | EIF soilPH > 7.5 THEN display("Too alkaline") | |
| 6IF pH = 7 THEN print("Strongly acidic") | FAn input device that measures how acidic or alkaline a liquid is and sends the pH value to a computer |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
pH sensor — An input device that measures how acidic or alkaline a liquid is on the pH scale and sends the pH value to a computer. Used in water treatment, fish tanks, soil testing and food production.phValue ← INPUT FROM phSensor
IF phValue < 7 THEN
OUTPUT "Acidic"IF phValue > 7 THEN
OUTPUT "Alkaline"
ENDIFphValue ← INPUT FROM phSensor
OUTPUT phValueIF phValue < 6.5 THEN
OUTPUT "Fish tank too acidic"
ENDIFCONSTANT neutral ← 7
IF phValue = neutral THEN
OUTPUT "Neutral"