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

Term 1 review

Week 11 · Review: Term 1 · 3 lessons
2

Data, charts and storage

Computing 5: Units 1–4, pp. 8–57
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.

DataTypeWhy
number of petsdiscretewe count whole pets: 0, 1, 2…
length of a snail in cmcontinuousit can have any value, such as 4.3
favourite petcategoricalthe answer is a name or a group
Worked examples
PetTallyTotalcat9dog6fish3rabbit2
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.
010001000100000101000100
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.
note: 2 KBphoto: 3 MBfilm: 2 GB
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?
SportTallyswimmingrunningcyclingclimbing
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.
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?
010000100100000101000100
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?