GoalReview how data is collected, shown in charts, stored and written in bits and bytes.
New words
categorical data · data that is sorted into groups, such as colours or namesdiscrete data · data that we count in whole numberscontinuous data · data that we measure and that can have any value in a rangebyte · a group of 8 bits that stores one character
Explanation
A statistical investigation starts with a question. We plan, collect, look at the data, understand it and then give a conclusion. Data can be categorical, discrete or continuous. We count the data with tallies and show it in a summary table. A bar chart compares, a pie chart shows shares and a line chart shows change over time. Inside a computer all data is stored in binary, as bits. Eight bits make one byte, and one byte stores one character. Files are measured in KB, MB and GB: 1 KB is 1024 bytes and 1 MB is 1024 KB. Files are kept on storage devices such as hard disk drives, solid-state drives, USB flash drives and memory cards.
Data
Type
Why
number of pets
discrete
we count whole pets: 0, 1, 2…
length of a snail in cm
continuous
it can have any value, such as 4.3
favourite pet
categorical
the answer is a name or a group
Worked examples
Class 5 asked 20 pupils which pet they have. The tally makes a summary table. The total is 9 + 6 + 3 + 2 = 20, so no answer is missing. The shares are 45%, 30%, 15% and 10%, which add up to 100%. A pie chart would show the shares, and a bar chart would compare the pets.
The code table gives each character its own byte. These three bytes are D, A and D, so they spell DAD. Three characters need 3 bytes, which is 3 × 8 = 24 bits.
File sizes grow from KB to MB to GB. Put these in order from smallest to largest: a short note (2 KB), a photo (3 MB), a film (2 GB). The unit is the quick clue: KB, then MB, then GB.
Class activity
Sports survey and secret bytes (groups of 3 or 4). Each person asks 8 others, with their permission: ‘Which do you like best: swimming, running, cycling or climbing?’ Tally the answers, make a summary table and check that the total is 8 for each person. Draw a bar chart on squared paper. Is the data categorical, discrete or continuous? Then choose a word of three letters from A, B, C, D and E. Write it as three bytes, using the code table from the lesson on bits and bytes. How many bits is that?
Practice
1
A tally shows swimming 6, running 4, cycling 8 and climbing 2. How many pupils answered? What percentage chose cycling? Which chart shows the shares best?
6 + 4 + 8 + 2 = 20 pupils. Cycling is 8 ÷ 20 × 100 = 40%. A pie chart shows how the whole is shared.
2
Say whether each is categorical, discrete or continuous: (a) the colour of a kite, (b) the number of goals in a match, (c) the time that a runner takes to run round a field.
(a) categorical. (b) discrete, because we count whole goals. (c) continuous, because time is measured and can have any value.
3
Use the code table: B is 0100 0010, A is 0100 0001 and D is 0100 0100. Decode the three bytes. How many bits are there?
The bytes are B, A and D, so the word is BAD. There are 3 × 8 = 24 bits.
4
Which unit would you use for the size of (a) a short text note, (b) a photo, (c) a whole film? (d) How many kilobytes are in 3 MB?