3
Ways computers collect data
Computing 2: Unit 2, pp. 24–39
GoalName ways that computers collect data and the three kinds of question on a form.
New words
electronic form · a page on a screen with questions to answerbarcode · black lines that hold facts about an itemcheckbox · a little box that you tick
Explanation
Computers can collect data for us. An electronic form is a page on a screen with questions. People type or tick their answers. Questions can be yes or no, checkboxes, or a rating such as 1 to 3. A shop till reads the barcode on an item. A traffic system counts the cars and bicycles on a road.
Worked examples
| Question | Type |
|---|---|
| Did you enjoy lunch? | yes / no |
| Which would you eat? [ ] pear [ ] yoghurt [ ] bread | checkbox |
| How tasty was it? 1 2 3 | rating scale |
In a shop, each item has a barcode. The till reads it and learns what the item is and how much it costs. At the end of the day the shop can count how many of each kind it sold.
A traffic system counts the vehicles on a road and puts them in categories.
Class activity
Paper form: make a form with three questions about the games you play at break time. Question 1 is a yes or no question. Question 2 has checkboxes for three games. Question 3 is a rating from 1 to 3. Ask five people to fill it in. Then count the answers to each question in a tally table. Which question type was the quickest to answer?
Practice
1
Look at this form about a school trip. Which question is a checkbox question?
| Question | |
|---|---|
| 1 | Did you like the trip? yes / no |
| 2 | Tick what you saw: [ ] lions [ ] birds [ ] fish |
| 3 | How fun was it? 1 2 3 |
Question 2. You tick the boxes for the animals you saw.
2
Match each question to its type: A Do you like swimming? B Tick the sports you play. C Rate the film from 1 to 3.
A is yes or no. B is checkbox. C is rating scale.
3
Amir buys milk and bread. The till beeps two times. What did the till read, and what data did the shop collect?
It read the barcode on each item. The shop now knows that it sold one milk and one bread, and their prices.
4
What can a traffic system count?
The vehicles that drive past, such as cars, buses, lorries and bicycles.