• 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.
Four stages
StageWhat happensExample devices
InputData goes inKeyboard, mouse, scanner, microphone
ProcessingData is worked onCPU, with memory
StorageData is keptRAM (short term), hard disk, SSD, pen drive (long term)
OutputResults come outMonitor, 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.

— Remember

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. 1. Which of the following is software?

    1. Mouse pad
    2. Web browser
    3. Monitor screen
    4. Keyboard keys
    Show answer

    Answer: B. A web browser is a program. The others are physical devices.

  2. 2. A speaker is an example of an

    1. Output device
    2. Input device
    3. Storage device
    4. Processing unit
    Show answer

    Answer: A. A speaker produces sound from the computer, so it is an output device.

  3. 3. A touch screen is called an input/output device because it

    1. Prints pages and files
    2. Stores music and video
    3. Takes touch and displays
    4. Cools down the CPU
    Show answer

    Answer: C. It takes input through touch and gives output by displaying.

  4. 4. In the cycle, the CPU's work is called

    1. Input
    2. Output
    3. Peripheral
    4. Processing
    Show answer

    Answer: D. The CPU processes the data.

  5. 5. A pen drive is mainly used for

    1. Processing
    2. Cooling
    3. Storage
    4. Display
    Show answer

    Answer: C. A pen drive keeps data, so it is a storage device.

Privacy · Terms · Refunds · Delivery