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 and databases

Computing 4: Units 1–4, pp. 8–61
GoalRemember what a database is and how forms, data, information and sorting fit together.
New words
field · one kind of fact in a database, such as an agerecord · all the facts about one thinginformation · data that has been processed so that it has meaning
Explanation

A database is an organised collection of related data. Each row is a record about one thing, and each column is a field that holds one kind of fact. A form collects data in a set way, with short-answer, checkbox and multiple-choice questions. Raw data is only facts. When we sort, count or add the data, we get information that has meaning. We sort a table by choosing one column and an order, ascending or descending. The whole table must move together, so that each row stays as one record. A small database can be on paper. A big one is better on a computer, which can search and sort it in a moment.

ABC
1NameAgeLane
2Pia93
3Jon81
4Lu114
5Eli102
Worked examples
ABC
1NameAgeLane
2Lu114
3Eli102
4Pia93
5Jon81
This swimming club table has 3 fields (Name, Age and Lane) and 4 records, one for each swimmer. Sorted by Age from largest to smallest it looks like this. Every swimmer keeps their own lane.
01234MonWedFrichildren
Eight children answered the question “Which day is your swim lesson? Mon, Wed or Fri”. The raw data is Mon, Wed, Wed, Fri, Wed, Mon, Wed, Fri. After counting we get information: Wednesday is the most common day, with 4 of the 8 children.
UnclearClear
What sports do you like to watch and play?Which sport do you play most? Football, swimming or running
How old are you and where do you live?How old are you? 7, 8, 9 or 10
A clear question asks one thing and gives choices. The first question in each pair is unclear.
Class activity

Make a database (with family): choose a topic such as your family’s pets, toys or books. Write four cards, each with three facts (fields). Say how many records and fields you have. Sort the cards by one field in ascending order and write the order down. Then sort by another field from largest to smallest. Which sort answers the question “Which is the oldest?” Never ask questions about strangers: only use your own family and things.

Practice
1
How many records and how many fields does this table have?
ABC
1PetKindAge
2Bodog4
3Kitcat2
4Pipfish1
2
Sort the table by Kg from largest to smallest.
AB
1FruitKg
2apple5
3fig2
4lime8
3
Is “6, 2, 9, 2” data or information? What about “The number 2 appears twice”?
4
A school has 800 pupils. Should it keep its records on paper or in a digital database? Why?