Week 5 · Unit 2: Be a data storyteller · 3 lessons
1
What data do we need?
Computing 5: Unit 2, pp. 20–33
GoalWork out what data to collect to answer a question, what to ask each person and what kind of data the answers are.
New words
survey · a set of questions put to many people to collect dataoption · one of the answers that a person can choose from a listdiscrete data · data that is counted in whole numberscategorical data · data that is sorted into groups
Explanation
Data can answer a question, but first we must know exactly which data we need. Start with the question. Then decide what data is needed from each person. Next, write the question to ask each person. At the end, decide what kind of data the answers will be: discrete, categorical or continuous. Everyone in the group must be asked the same question in the same words. Then the answers can be counted and compared fairly. If the data does not match the question, it cannot answer it.
question→data needed→question to ask→kind of data
Worked examples
Step
Answer
question
Which animal do pupils most like to see?
data needed
each pupil’s favourite animal
question to ask
Which animal would you like to see most?
kind of data
categorical
Question: which animal would pupils most like to see on a zoo trip? We need each pupil’s favourite animal. We ask: ‘Which animal would you like to see most: elephant, lion, monkey or penguin?’. The answers are groups, so the data is categorical.
Step
Answer
question
How many brothers and sisters do pupils have?
data needed
a number for each pupil
question to ask
How many brothers and sisters do you have?
kind of data
discrete
Question: how many brothers and sisters do the pupils in Class 5 have? We need the number for each pupil. We ask: ‘How many brothers and sisters do you have?’. The answers are counted in whole numbers, so the data is discrete.
The data must match the question. To find the favourite animal, it does not help to ask how many animals each pupil owns. That answers a different question.
Class activity
Question detectives (pairs). Write three questions about your class, for example about travel time to school, favourite lessons or the number of pupils in each family. For each question write three things: the data needed, the question to ask each person, and the kind of data. Swap with another pair. Do their questions match their data? Is there anything that could confuse someone who is asked? Do not ask for private information such as an address or a phone number.
Practice
1
The school cook wants to know which lunch each pupil likes best: rice, soup or pasta. Write (a) the data needed, (b) the question to ask, (c) the kind of data.
Step
Answer
data needed
?
question to ask
?
kind of data
?
(a) each pupil’s favourite lunch. (b) ‘Which lunch do you like best: rice, soup or pasta?’ (c) categorical data.
2
A librarian wants to know how many books pupils borrow in a month. Which question should she ask? A ‘Do you like books?’ B ‘How many books did you borrow this month?’ C ‘Which book is your favourite?’
B. It gives a number for each pupil, which is the data she needs. A and C collect different data.
3
How could you collect data to find out how long pupils take to get to school? What kind of data is this?
Ask each pupil, ‘How many minutes does your journey to school take?’. The time is measured, so the data is continuous.
4
Sara says, ‘To find the most popular game I will only ask my best friends.’ What is the problem?
Her friends may not think like the rest of the class. She should ask everyone in the group the same question, or the result may not be fair.