Sensor data to monitor a person's health

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

Sensor data to monitor a person's health

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. A smartwatch records your heart rate every few seconds without you typing anything. What kind of data collection is this?
A Automatic collection by a sensor
B Manual collection by a survey
2. Which of these is an example of sensor data from a wearable?
A 8,432 steps recorded in one day
B A written comment about how you feel about exercise
3. Heart rate readings from a fitness tracker are which type of data?
A Quantitative data
B Qualitative data
4. A wearable saves a heart rate reading every 5 minutes all day. Why is this useful for health monitoring?
A One reading is enough to show a long-term trend
B Regular readings can show trends over time
5. Which statement about sensor data is true?
A Health sensor data is never personal because a device collects it
B Health sensor data can be personal and sensitive information

Match the Pairs

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

Left columnRight column
1sensor data Aaverage(sleep_hours, last 7 days)
2heart_rate = 72 BSensor data is linked to one person's account or device, so it is personal and can be sensitive health information. It needs protecting.
3A wearable records a reading automatically at regular intervals Crecord(steps, every 60 seconds)
4Sensor readings compared over several days can show a health trend DMeasurements such as heart rate or steps that a wearable records automatically at regular intervals
5Heart rate sensor data is qualitative because a device collects it ESensor readings such as heart rate are numbers, so they are quantitative data. How the data is collected does not change its type.
6Wearable heart rate data is not personal because no name is typed in FA quantitative sensor reading, in beats per minute, recorded by a wearable

Definitions

sensor data

Fill in the Blanks

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

1.
=_______(B2:B25)
2.
=___(B2:B25)
3.
=COUNTIF(B2:B25,"_100")
4.
_____ watchOn = TRUE heartRate ← ReadSensor() END WHILE
5.
heartData ← _______(heartData)

Spot the Error

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

Question 1
A sensor ← Wearable
B heart_rate ← 'fast'
C unit ← 'bpm'
Question 2
A steps ← 0
B FOR EACH minute IN hour
C steps ← steps - reading
D OUTPUT steps
Question 3
A interval ← 'sometimes'
B WAIT interval seconds
C RECORD heart_rate
Question 4
A total ← 0
B FOR EACH hr IN hrs
C total ← total + hr
D avg ← total * COUNT(hrs)
Question 5
A FOR EACH day IN week
B hr ← GET resting_hr(day)
C APPEND 'good' TO trend
D OUTPUT trend

Answer Key

Sensor data to monitor a person's health
Section A: Quick Questions
Q1
A — Automatic collection by a sensor
Q2
A — 8,432 steps recorded in one day
Q3
A — Quantitative data
Q4
B — Regular readings can show trends over time
Q5
B — Health sensor data can be personal and sensitive information
Section B: Match the Pairs
Q1
sensor data → Measurements such as heart rate or steps that a wearable records automatically at regular intervals
Q2
heart_rate = 72 → A quantitative sensor reading, in beats per minute, recorded by a wearable
Q3
A wearable records a reading automatically at regular intervals → record(steps, every 60 seconds)
Q4
Sensor readings compared over several days can show a health trend → average(sleep_hours, last 7 days)
Q5
Heart rate sensor data is qualitative because a device collects it → Sensor readings such as heart rate are numbers, so they are quantitative data. How the data is collected does not change its type.
Q6
Wearable heart rate data is not personal because no name is typed in → Sensor data is linked to one person's account or device, so it is personal and can be sensitive health information. It needs protecting.
Section C: Definitions
Q1
sensor data — Measurements, such as heart rate or steps, that a device like a wearable records automatically at regular intervals. It is quantitative data and can reveal a person's health trends.
Section D: Fill in the Blanks
Q1
=AVERAGE(B2:B25)
Q2
=MAX(B2:B25)
Q3
=COUNTIF(B2:B25,">100")
Q4
WHILE watchOn = TRUE heartRate ← ReadSensor() END WHILE
Q5
heartData ← ENCRYPT(heartData)
Section E: Spot the Error
Q1
B — Heart rate from a sensor is quantitative data, so it must be stored as a number such as 72, not as a word like 'fast'.
Q2
C — A step count adds each new reading to the running total, so it should be steps + reading, not subtract.
Q3
A — Sensors record automatically at regular intervals, so the interval must be a fixed number such as 60, not a vague word.
Q4
D — An average is the total divided by the number of readings, so it should use / and not *.
Q5
C — A health trend is built from the numeric readings so changes can be compared. It should append hr, not the text 'good'.