Matching sensors to the data they capture

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

This Matching sensors to the data they capture worksheet is part of the IGCSE Computer Science 0478 — 3.2 Input and Output Devices journey. Print it as a booklet?

Matching sensors to the data they capture

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. A greenhouse system must measure the amount of water vapour in the air. Which sensor captures this data?
A Humidity sensor
B Moisture sensor
2. A garden system must check how wet the soil is before watering the plants. Which sensor captures this data?
A Moisture sensor
B Humidity sensor
3. An intruder alarm must detect the body heat of a person entering a room. Which sensor captures this data?
A Proximity sensor
B Infra-red sensor
4. A car reversing system must warn the driver how close the bumper is to a wall. Which sensor captures this data?
A Proximity sensor
B Infra-red sensor
5. A smart alarm must detect the sound of breaking glass. Which sensor captures this data?
A Pressure sensor
B Acoustic sensor

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1moisture sensor Ainfra-red sensor
2humidity sensor BMeasures the amount of water vapour in the air
3Data captured: heat given off by a moving person, as used in a burglar alarm CSound is captured by an acoustic sensor. A pressure sensor measures force on a surface or the pressure of a gas or liquid.
4Data captured: how close an object is, as used in a car parking aid Dproximity sensor
5Soil dryness in a greenhouse -> humidity sensor EMeasures the amount of water in soil or another solid material
6Loudness of a crowd -> pressure sensor FHumidity measures water vapour in the air. Soil water content is moisture, so it needs a moisture sensor.

Definitions

data first, then sensor

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
data ← "water content of soil" sensor ← "________ sensor"
2.
data ← "water vapour in the air" sensor ← "________ sensor"
3.
data ← "heat given off by a person" sensor ← "_________ sensor"
4.
data ← "force pressing down on a bed mat" sensor ← "________ sensor"
5.
data ← "sound level in a classroom" sensor ← "________ sensor"

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A sensor = "humidity"
B data = "water in the soil"
C print(sensor, "measures", data)
Question 2
A data = "brightness of a room"
B sensor = "proximity"
C print("Use a", sensor, "sensor")
Question 3
A data = "loudness of a classroom"
B print("Data:", data)
C sensor = "pressure"
Question 4
A data = "water moving in a pipe"
B sensor = "level"
C print(data, "->", sensor)
Question 5
A m = {}
B m["air vapour"] = "humidity"
C m["soil water"] = "moisture"
D m["acidity"] = "gas"

Answer Key

Matching sensors to the data they capture
Section A: Quick Questions
Q1
A — Humidity sensor
Q2
A — Moisture sensor
Q3
B — Infra-red sensor
Q4
A — Proximity sensor
Q5
B — Acoustic sensor
Section B: Match the Pairs
Q1
moisture sensor → Measures the amount of water in soil or another solid material
Q2
humidity sensor → Measures the amount of water vapour in the air
Q3
Data captured: heat given off by a moving person, as used in a burglar alarm → infra-red sensor
Q4
Data captured: how close an object is, as used in a car parking aid → proximity sensor
Q5
Soil dryness in a greenhouse -> humidity sensor → Humidity measures water vapour in the air. Soil water content is moisture, so it needs a moisture sensor.
Q6
Loudness of a crowd -> pressure sensor → Sound is captured by an acoustic sensor. A pressure sensor measures force on a surface or the pressure of a gas or liquid.
Section C: Definitions
Q1
data first, then sensor — Each sensor captures one type of data, so identify the data first (e.g. moisture in soil, humidity in air), then name the sensor that measures it.
Section D: Fill in the Blanks
Q1
data ← "water content of soil" sensor ← "moisture sensor"
Q2
data ← "water vapour in the air" sensor ← "humidity sensor"
Q3
data ← "heat given off by a person" sensor ← "infra-red sensor"
Q4
data ← "force pressing down on a bed mat" sensor ← "pressure sensor"
Q5
data ← "sound level in a classroom" sensor ← "acoustic sensor"
Section E: Spot the Error
Q1
A — Water in soil is measured by a moisture sensor. A humidity sensor measures water vapour in the air. Line 1 should be sensor = "moisture".
Q2
B — Brightness is measured by a light sensor. A proximity sensor detects how close an object is. Line 2 should be sensor = "light".
Q3
C — Sound level is captured by an acoustic sensor. A pressure sensor measures force on a surface, not sound. Line 3 should be sensor = "acoustic".
Q4
B — Water moving along a pipe is measured by a flow sensor. A level sensor measures how full a container is. Line 2 should be sensor = "flow".
Q5
D — Acidity is the data captured by a pH sensor. A gas sensor detects gases in the air. Line 4 should be m["acidity"] = "pH".