- Foundation
- About 11 min
- 5 practice questions
Hardware, software and the input-process-output cycle
Tell hardware from software, and follow data through input, processing, storage and output with everyday examples.
If something looks wrong, please tell us.
Everything a computer does can be described in a simple cycle: something goes in, the computer works on it, and something comes out. To understand peripherals, you first need to see where each device fits in this cycle.
Hardware and software
Hardware is every physical part of a computer that you can touch: the keyboard, monitor, mouse, printer, the case and the parts inside. Software is the set of instructions that tells the hardware what to do. You cannot touch software; you see its results. Examples are a web browser, a word processor, a game and the operating system. A computer needs both. Hardware without software is like a body without a mind, and software without hardware has nothing to run on.
The input-process-output cycle
- Input: data is entered into the computer. Devices: keyboard, mouse, scanner, microphone, camera.
- Processing: the CPU (central processing unit) works on the data, following instructions.
- Storage: data and results are kept, in memory for a short while or on a disk for a long time.
- Output: results are shown or produced. Devices: monitor, printer, speakers.
| Stage | What happens | Example devices |
|---|---|---|
| Input | Data goes in | Keyboard, mouse, scanner, microphone |
| Processing | Data is worked on | CPU, with memory |
| Storage | Data is kept | RAM (short term), hard disk, SSD, pen drive (long term) |
| Output | Results come out | Monitor, printer, speakers, projector |
Peripherals
A peripheral is any device connected to the main computer unit that adds a function. Input devices, output devices and external storage devices are all peripherals. Some devices do both jobs. A touch screen is an input device because it accepts your touch, and an output device because it displays. Such a device is called an input/output device.
The main parts inside the case
- Motherboard: the main circuit board to which everything connects.
- CPU: the processor, the 'brain'.
- RAM: temporary working memory.
- Storage drive: hard disk or SSD that keeps files.
- Power supply: changes the electricity from the wall into the form the parts need.
Worked examples
Example 1. Classify each as hardware or software: keyboard, Windows, mouse, a spreadsheet program, printer. Hardware: keyboard, mouse, printer. Software: Windows (an operating system) and the spreadsheet program.
Example 2. Arun types a letter, the computer shows it on the screen, he saves it, and he prints it. Name the stage for each step. Typing is input. Showing it on the screen is output. Saving is storage. Printing is output. The CPU's work in between is processing.
Example 3. Which of these is both an input and an output device: scanner, touch screen, speaker? The touch screen. A scanner is input only, and a speaker is output only.
Example 4. A pen drive plugged into a computer holds your photos. Is it input, output or storage? It is a storage device. It is also a peripheral, because it is connected to the main unit from outside.
Input, process, store, output. Hardware you can touch; software you cannot.
Key takeaways
- Hardware is physical; software is the set of instructions.
- The cycle is input, processing, storage and output.
- Peripherals are connected devices; some do two jobs, like a touch screen.
Check your understanding
-
1. Which of the following is software?
- Mouse pad
- Web browser
- Monitor screen
- Keyboard keys
Show answer
Answer: B. A web browser is a program. The others are physical devices.
-
2. A speaker is an example of an
- Output device
- Input device
- Storage device
- Processing unit
Show answer
Answer: A. A speaker produces sound from the computer, so it is an output device.
-
3. A touch screen is called an input/output device because it
- Prints pages and files
- Stores music and video
- Takes touch and displays
- Cools down the CPU
Show answer
Answer: C. It takes input through touch and gives output by displaying.
-
4. In the cycle, the CPU's work is called
- Input
- Output
- Peripheral
- Processing
Show answer
Answer: D. The CPU processes the data.
-
5. A pen drive is mainly used for
- Processing
- Cooling
- Storage
- Display
Show answer
Answer: C. A pen drive keeps data, so it is a storage device.
Sign in to keep track of the lessons you finish.