01 / 11
First, there are only five units
The insides of a computer look complicated, but divided by role there are only five units.
- Input unit … keyboard, touch panel. Takes things in from outside
- Output unit … screen, printer. Puts things out
- Storage unit … holds the program and the data
- Control unit … reads instructions and directs the other units
- Arithmetic unit … does the calculating and comparing
These are the five major units. And the important part is that the control unit and the arithmetic unit together are the CPU (central processing unit).
So what a CPU does is only two things: give directions and calculate. Remembering data and dealing with the outside world are jobs outside the CPU.
input -> [ CPU ] -> output control unit arithmetic unit ^ v storage unit