3
Fast and exact
Computing 2: Unit 11, pp. 149–163
GoalSay that computers are fast and follow instructions exactly, so people must give good instructions.
New words
calculate · to work out an answer with numbersexact · just right, with no differencesinstruction · a step that tells a computer what to do
Explanation
Computers are very fast. They can calculate millions of things in one second. A computer follows its instructions exactly, every time. If a computer gives a wrong answer, the instructions were usually wrong. People make mistakes when they hurry or get tired. People write the instructions, so people must check them.
| Who | Time to add 30 prices |
|---|---|
| a person with a pencil | a few minutes |
| a computer | less than a second |
Worked examples
A shop till adds all the prices on a long receipt in a flash. A person adding with a pencil may make a mistake.
The program says move right 5. The child wanted 4. The computer moves exactly 5. The mistake is in the instruction, not in the computer.
What is better for a computer and what is better for a person?
Class activity
Number race: write the numbers from 1 to 50 as fast as you can while a grown-up times you. Then check: did you skip a number or write one twice? A computer could write all the numbers up to a thousand in much less than a second, and it never skips one if its instructions are right. Talk about which is faster and which is more exact.
Practice
1
A computer adds 200 prices in one second. Why is that useful in a shop?
The customer gets the right total very quickly.
2
Lola’s program says “Hello”, but she wanted it to say “Hi!”. The character says “Hello”. Whose mistake is it?
Lola’s. The computer did exactly what the block said. She must change the say block to “Hi!”.
3
Say who is better, a computer or a person, for each job.
Counting the votes of 1,000 children: a computer. Comforting a sad friend: a person.
4
Why must people check their instructions before a computer runs them?
A computer does exactly what it is told, even if the instruction is wrong.