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

Kinds of data and charts

Week 4 · Unit 2: Be a data storyteller · 3 lessons
1

Three kinds of data

Computing 5: Unit 2, pp. 20–33
GoalTell discrete, categorical and continuous data apart.
New words
discrete data · data that is counted in whole numbers, such as 3 goals or 25 pagescategorical data · data that is sorted into groups or labels, such as colours or sportscontinuous data · data that is measured and can be any value, such as a height or a timecategory · one group in a set of groups, such as ‘blue’ in a list of colours
Explanation

Data comes in three main kinds. Discrete data is counted in whole numbers. The number of goals in a match is discrete, because there can be 3 goals but not 3.5. Categorical data is sorted into groups. Colours, sports and kinds of weather are categories. Continuous data is measured, and the value can fall anywhere between two whole numbers. Heights, times, temperatures, masses and amounts of rain are continuous. A good tip: if you count it, it is discrete. If you name its group, it is categorical. If you measure it, it is continuous.

discrete: count it, e.g. 7 goalscategorical: name its group, e.g. greencontinuous: measure it, e.g. 36.4 °C
Worked examples
RecordExampleKind of data
eggs laid in a day14discrete
breed of henspeckledcategorical
mass of one egg58.3 gcontinuous
A farmer keeps three records about her hens. The number of eggs each day is counted, the breed is a group, and the mass of one egg is measured.
At sports day the number of jumps in a skipping game is counted, so it is discrete: 23. The name of the event, ‘long jump’, is categorical. The time for a race, 12.84 seconds, is measured, so it is continuous.
number 5shirt 10
A number is not always discrete. House number 5 and a football shirt with number 10 are only labels. We do not count or measure anything, and adding two house numbers means nothing. Labels like these are categorical data.
Class activity

Data hunt (at home or at school). Find 3 examples of each kind of data. Write each on a sticky note, for example ‘number of chairs in the room’, ‘colour of my bag’ and ‘length of my pencil’. Sort the notes under the three headings. Test each note with a friend: can the value be 2.5? Is it a count, a group or a measurement? Which notes did you argue about?

Practice
1
Write discrete, categorical or continuous for each: A the number of pages in a book, B the type of cloud, C the length of a leaf, D the number of goals, E a favourite colour, F the time to run round a field.
DataKind
Anumber of pages in a book?
Btype of cloud?
Clength of a leaf?
Dnumber of goals?
Efavourite colour?
Ftime to run round a field?
2
Ravi says that the numbers on three bus routes (5, 12 and 40) are discrete data because they are numbers. Is he right?
51240
3
Why can a height be continuous but the number of pupils in a class is discrete?
4
Give one example of a measurement that falls between two whole numbers.