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 | |
|---|---|---|
| 1magnetic field sensor | AA magnetic field sensor does not measure temperature. It detects the presence and strength of a magnetic field. A temperature sensor measures temperature. | |
| 2magnetic field strength | BThe data captured by a magnetic field sensor, which is sent to the microprocessor | |
| 3A door alarm uses a magnetic field sensor to detect when a magnet on the door moves away from the frame | CIF magnetic_sensor < 5 THEN sound_alarm() | |
| 4A metal detector uses a magnetic field sensor to detect a change in the magnetic field caused by metal | DAn input device that detects the presence and strength of a magnetic field | |
| 5A magnetic field sensor measures the temperature of a room | EA wheel speed counter uses a magnetic field sensor to detect a magnet on the wheel passing by each turn, not light. | |
| 6Wheel speed counter: sensor detects light from the wheel | FIF field_strength > 80 THEN beep() |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
magnetic field sensor — An input device that detects the presence and strength of a magnetic field. Used in door alarms, compasses, wheel speed counters and metal detectors.strength ← READ(magneticSensor)heading ← READ(compassSensor)
OUTPUT headingIF fieldStrength < 10 THEN
alarm ← ON
ENDIFIF magnetDetected = TRUE THEN
rotations ← rotations + 1
ENDIFIF strength > 80 THEN
OUTPUT "Metal found"
ENDIF