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

Choose the right data

Week 27 · Unit 11: Be a data designer · 3 lessons
1

The format tells us

Computing 3: Unit 11, pp. 161–177
GoalUse the format of data to decide what we can do with it to solve a problem.
New words
calculation · a sum, such as adding numberstotal · all the numbers added togetherheading · the label at the top of a column
Explanation

We use data to solve problems, and different problems need different data. To pick the right data, ask three questions. What do I want to find out? Which heading matches it? What is the format of that column? The format tells us what we can do. We can do calculations, such as adding up a total, with Number and Currency data. We cannot add up Text or Date data, but we can read them and list them. The first row holds headings, so the data we need starts in row 2.

ABCD
1BusChildrenDateFare
2Red bus1814/05/2027$36.00
3Blue bus2214/05/2027$44.00
4Green bus1521/05/2027$30.00
5Yellow bus2021/05/2027$40.00
Worked examples
ABCD
1BusChildrenDateFare
2Red bus1814/05/2027$36.00
3Blue bus2214/05/2027$44.00
4Green bus1521/05/2027$30.00
5Yellow bus2021/05/2027$40.00
Problem: how many children went on the school trips? The heading is “Children”, in column B. The format is Number, so we can add. The cells are B2 to B5: 18 + 22 + 15 + 20 = 75 children.
ABCD
1BusChildrenDateFare
2Red bus1814/05/2027$36.00
3Blue bus2214/05/2027$44.00
4Green bus1521/05/2027$30.00
5Yellow bus2021/05/2027$40.00
Problem: how much more did the blue bus cost than the green bus? The heading is “Fare”, in column D. The format is Currency, so we can do a calculation. The blue bus is in D3 and the green bus is in D4: $44.00 − $30.00 = $14.00.
ProblemHeadingFormatCalculate?
how many childrenChildrenNumberyes, add
blue fare − green fareFareCurrencyyes, take away
buses on 14/05/2027DateDateno, only read
Problem: which buses went out on 14/05/2027? The heading is “Date”, in column C, and the format is Date. We do not calculate anything. We read down the column and find the rows with that date: the red bus and the blue bus.
Class activity

Problem cards (in pairs): copy the bus table on paper. Write six problems on cards, such as “How many children went on the green bus?” and “List the names of the buses”. Take turns to pick a card. Say which heading you need, what its format is and whether you add numbers or only read them. Then do it and say your answer. Check each other’s work.

Practice
1
This is the school snack stall sheet. Which range holds the number of packs sold, and what is the total?
ABCD
1DaySnackPacksTakings
203/06/2027popcorn12$6.00
303/06/2027apples8$4.00
404/06/2027raisins15$7.50
504/06/2027carrots10$5.00
2
The shaded cells in the snack sheet help to solve one problem. Is it (a) the total takings, (b) a list of the days, or (c) the total packs?
ABCD
1DaySnackPacksTakings
203/06/2027popcorn12$6.00
303/06/2027apples8$4.00
404/06/2027raisins15$7.50
504/06/2027carrots10$5.00
3
Why can we not add up a column of dates?
4
Match each problem to a heading and a format: (a) list all the snacks (b) find the total takings (c) find the total packs.