Week 6 · Unit 3: Selecting hardware and software · 3 lessons
3
The processor
Computing 6: Unit 3, pp. 40–51
GoalExplain the role of the processor and compare processor speeds in gigahertz.
New words
processor · the chip in a computer that follows the instructions of programsCPU · central processing unit, another name for the processorinstruction · one small step that the processor carries outgigahertz (GHz) · a unit for processor speed, one billion steps each second
Explanation
The processor, or CPU, is the part of a computer that does the work. It takes in data, follows the instructions of a program and sends out the result. That is input, process and output. Whenever you type, play a game or work out a sum, the processor is busy calculating, sorting and searching. Its speed is measured in gigahertz. A 1 GHz processor can carry out about one billion instructions each second. A 3 GHz processor can carry out about three billion. A faster processor can do more work in the same time. About 2 GHz is enough for everyday jobs such as writing and browsing. Games and video editing need a faster one, and about 3.5 to 4 GHz is good for games.
input data→processor follows instructions→output result
Worked examples
Speed
Instructions each second
1 GHz
1 000 000 000
2 GHz
2 000 000 000
3 GHz
3 000 000 000
The table shows how many instructions each speed can carry out in one second.
Tom presses a key on the keyboard. This is the input. The processor follows the program’s instructions and decides which letter to draw. The letter on the screen is the output. All of this takes a tiny fraction of a second.
The processor is only one part of the computer. A fast processor still has to wait if the memory is too small or the storage is slow. A good computer has parts that suit each other.
Class activity
Be the processor (no computer): write ten simple sums on cards, such as 6 + 7 or 12 − 5. You are the processor. Take the cards one at a time, work out the answer and say it, which is the output. Time how many you do in one minute. Do it again after practice. Did you get faster? A real processor does about a billion steps in the time that you take for one. If you have a computer or tablet, find the processor speed in its settings.
Practice
1
A processor runs at 3 GHz. How many instructions can it carry out in one second?
About three billion, which is 3 000 000 000.
2
Which is faster, a 2 GHz or a 3 GHz processor? How many more instructions can it carry out each second?
The 3 GHz processor is faster. It can carry out about one billion more instructions each second.
3
Lola types two numbers and the total appears on the screen. Which part of the computer does the middle step, and what does it do there?
two numbers typed→?→total shown on the screen
The processor, or CPU. It follows the instructions of the program to add the two numbers, and then sends the total to the screen as the output.
4
Give two examples of work that a processor does when you use a computer.
For example, working out the total in a spreadsheet, sorting a list into order, searching for a word or deciding what to draw on the screen.