Lesson 1 of 4 · Open
Input, processing, output
One pattern that every device follows, from a calculator to a phone.
You type 12 · 7 into a calculator, and 84 appears on the display. You cannot see what happens in between. Still, the way from one to the other splits into three parts, and you find the same three parts in every computer: in a phone, in a laptop, at the supermarket checkout.
First comes the input: you press keys. Then the processing: the device calculates by following the steps of a program. Last comes the output: the result appears on the display. You know input and output from algorithms. This three-part pattern is called the IPO model, after its initials: input, processing, output.
Devices for the way in and the way out
An input device brings data into the computer: keyboard, mouse, microphone, camera, scanner. An output device brings the result back out so that you can see it, hear it, or hold it in your hand: screen, speaker, printer. What counts is the direction in which the data flow.
The processing is done by the processor, a small chip inside the device. It carries out the steps of programs. The processor in a phone manages billions of simple steps every second. Along the way the device has to keep data somewhere, such as the 12 while you type the 7. That is what memory is for, and a later lesson is about it.
New terms
- IPO model
- every computer works in three parts: input, processing, output
- input device
- brings data into the computer, such as a keyboard, microphone, or camera
- output device
- brings the result out, such as a screen, speaker, or printer
- processing
- what the computer does with the data between input and output
- processor
- the chip that carries out the steps of programs
Example
At the self-checkout
You pass a carton of milk over the scanner. The checkout works in three parts:
- Input: the scanner reads the barcode.
- Processing: the processor looks up the price and adds it to the total.
- Output: the screen shows the new total, and at the end the printer prints the receipt.
| Device | Input through | Output through |
|---|---|---|
| Calculator | Keys | Display |
| Phone taking a photo | Camera | Screen |
| Voice assistant | Microphone | Speaker |
| Office PC | Keyboard, mouse | Screen, printer |
Quick check
A projector throws the picture from a laptop onto the wall. What kind of device is it?
When a device is both
The touchscreen on a phone, the screen you tap, shows pictures, so it is an output device. But it also senses where your finger touches it, so at the same time it is an input device. In fact there are two layers on top of each other: a screen, and on it a thin, clear layer that measures touch.
Some input devices work without you doing anything. A sensor measures something in the surroundings, such as light, heat, movement, or position. The light sensor in a phone measures how bright it is. The processor works with that value, and the screen gets brighter or dimmer.
Typical mistake
Taking the screen for the computer. At a desk it is the first thing you see, and everything shows up on it. But it does not run your programs: it is an output device and only shows what the processor in the case has processed. If you plug in a second screen, you do not have two computers.
Remember
Tasks
Task 1 · Sorting
Input device or output device? Sort each device.
6 cards left
Task 2 · Fill in
Fill in the words.
At the ATM you type in your PIN: that is the . The inside the machine checks it, and that is the . The screen shows you whether it is right. It is an .
Task 3 · Choice
An all-in-one device in the office can print and scan. What kind of device is it?
Go deeper
Task 4 · Choice · optional
Your phone turns the picture when you hold it sideways. What provides the input for that?
Task 5 · Several right · optional
You speak your destination into a navigation device. It shows the map and announces the route. What is true?
Task 6 · Pairs · optional