AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Questions and data

Week 16 · Unit 7: Be a data scientist · 3 lessons
2

Numbers or names?

Computing 2: Unit 7, pp. 92–105
GoalSay whether data is numerical or categorical.
New words
numerical data · data that is a number that was counted or measuredcategorical data · data that is sorted into groups with namesmeasure · to find out how long, heavy or tall something is
Explanation

Data can be numerical or categorical. Numerical data is a number that we count or measure, such as the number of teeth you have lost or the length of a jump in centimetres. We can add numerical data and compare it. Categorical data is sorted into groups with names, such as the colour of a hat or a favourite food. We can count how many are in each group, but we cannot add the names.

Numericallength of a jumptime to runapples in a bagCategoricalcolour of a hatfavourite foodfavourite sport
Worked examples
ChildTeeth lost
Ana2
Ayaan0
Omar3
Teeth lost is numerical data. Each number is a count, and we can add the numbers: 2 + 0 + 3 = 5 teeth.
ChildColour of hat
Anared
Ayaanblue
Omarred
The colour of a hat is categorical data. The groups are red and blue. We can count the groups (red 2, blue 1) but we cannot add the colours.
shirt 4shirt 7shirt 9
Numbers can be names too. Three players wear shirts 4, 7 and 9. The numbers only name the players. 4 + 7 + 9 = 20 does not tell us anything. So shirt numbers are categorical data, even though they look like numbers.
Class activity

Sort the cards: write eight cards, for example “number of teeth I have lost”, “my favourite toy”, “the length of my foot in cm”, “my favourite season”, “the number of windows in my home”, “the colour of my front door”, “my age in years” and “my favourite song”. Sort them into two piles: numbers and names. With an adult, measure the length of your foot with a ruler. Ask three friends for their favourite season. Make one small table for each kind of data.

Practice
1
Numerical or categorical? A: the number of teeth lost by five children (0, 2, 1, 3, 2). B: the favourite toy of five children (doll, car, ball, ball, kite). C: the minutes that three children take to walk to school (5, 12, 8).
Data
Ateeth lost: 0, 2, 1, 3, 2
Bfavourite toy: doll, car, ball, ball, kite
Cminutes to walk to school: 5, 12, 8
2
Lockers at the swimming pool are numbered 5, 8 and 11. Does 5 + 8 + 11 tell us anything useful?
3
Which one is numerical data?
number of apples in a bagcolour of the bag
4
Give one example of numerical data and one example of categorical data about your family.