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.

The calculator in terms of the IPO model.

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:

  1. Input: the scanner reads the barcode.
  2. Processing: the processor looks up the price and adds it to the total.
  3. Output: the screen shows the new total, and at the end the printer prints the receipt.
DeviceInput throughOutput through
CalculatorKeysDisplay
Phone taking a photoCameraScreen
Voice assistantMicrophoneSpeaker
Office PCKeyboard, mouseScreen, 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

Every computer follows the IPO model: input devices take in data, the processor processes it, and output devices put out the result.

Tasks

Three tasks complete the lesson. The order does not matter, the text above stays where it is.

Task 1 · Sorting

Input device or output device? Sort each device.

Drag every card into its group, or tap the group.

6 cards left

Headphones

Task 2 · Fill in

Fill in the words.

Tap a word, it goes into the marked gap.

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?

One answer is right.

Go deeper

Three more tasks, optional. They do not count for completing the lesson.

Task 4 · Choice · optional

Your phone turns the picture when you hold it sideways. What provides the input for that?

One answer is right.

Task 5 · Several right · optional

You speak your destination into a navigation device. It shows the map and announces the route. What is true?

Several answers are right. Pick all of them.

Task 6 · Pairs · optional

At the produce scale in the supermarket: match each part to its job.

Drag every card to its place, or tap it and then the place.

  • Scale measures the weight
  • Processor works out the price
  • Printer prints the label

Back to the chapter