A-Level Computer Science / Unit 3: Hardware, Memory and Control

3.1.1 Components of a Computer System

🔒 Lesson slides are available to signed-in users. Sign in

3.1.1 Core Hardware Roles

A useful computer system must be able to receive data, work with it, keep it available while a task is running, store it for later, and communicate a result. Different hardware components take responsibility for different stages of this journey.

This page introduces the broad roles of hardware. Later pages examine memory technologies, storage devices, embedded systems, buffers, and individual input and output devices in greater detail.

By the end of this section, you should be able to:

  • Explain why computer systems require input and output hardware.
  • Distinguish between primary memory and secondary storage at a general level.
  • Explain why removable storage can be useful.
  • Classify hardware by the role it performs in a data-processing task.
  • Trace a simple journey from captured data to a stored or displayed result.

Five roles in a working computer system

The categories below describe what the hardware contributes to a task. A particular device can sometimes perform more than one role, so classification should always be based on how it is being used in the situation.

Hardware role Why the system needs it Example in a wildlife camera station
Input Provides data or instructions to the system. A motion sensor reports that an animal has entered the camera area.
Processing Applies instructions and makes decisions using the data. The processor decides whether the movement is large enough to trigger a photograph.
Primary memory Holds instructions and data that must be available during current processing. The current image and the active program are held while the photograph is processed.
Secondary storage Keeps programs and data for later use without relying on the current task remaining active. Photographs are saved after processing.
Output Communicates a result or causes an action outside the processing system. A status light confirms that an image has been captured.
Hardware role: the function performed by a physical component within a particular computer-based task.

Common mistake

Do not classify a device only by its name. A touchscreen provides output when it displays an image and input when it detects a touch.

Following data through a system

Consider a temperature-logging system used in a school greenhouse. The same piece of data may pass through several hardware roles before the task is complete.

  1. A temperature sensor supplies a reading as input.
  2. The reading is placed in primary memory so it can be used immediately.
  3. The processor compares the reading with the permitted range.
  4. A message is sent to a display as output.
  5. The reading is appended to a file in secondary storage for later analysis.

Exam tip

When explaining a hardware system, describe the direction of the data and the role played by each component. A sequence such as input → memory → processing → output/storage is often clearer than an unconnected list of devices.

Input and output depend on direction

Input transfers data or instructions into the processing system. Output transfers information, signals, or actions from the processing system to another destination.

Situation Classification Reason
A microphone sends a digital representation of speech to an application. Input Data is entering the system for processing.
A speaker produces an alert sound. Output The system is communicating a result to the user.
A file is loaded from an external drive. Input Stored data is being transferred into the active system.
A completed video is saved to an external drive. Output Data is being transferred away from the active system.
A touchscreen displays a menu and detects the selected option. Both The display is output; the detected touch is input.
Peripheral: a hardware device used to provide input, output, or storage alongside the main processing system. Some peripherals are built into a product; others are connected externally.

Primary memory and secondary storage

A computer needs one area that supports the work currently being carried out and another that keeps programs and data available between uses. These needs are met by primary memory and secondary storage.

Feature Primary memory Secondary storage
Main purpose Supports instructions and data needed by current processing. Retains programs, files, and other data for later use.
Processor access Designed for direct use by the processor. Data normally has to be transferred into primary memory before the processor uses it.
Typical capacity Lower. Higher.
Typical examples RAM and ROM. Solid-state drive, magnetic hard disk, optical disc.

Common mistake

Primary memory is not simply another name for RAM. RAM is one form of primary memory; ROM is also primary memory. Their differences are studied on a later page.

Exam tip

A strong comparison gives a paired difference. For example: primary memory supports current processing, whereas secondary storage is intended for longer-term retention.

Why removable storage is useful

Removable storage is secondary storage that can be detached from one system and used or kept separately. Examples include USB flash drives, memory cards, and removable optical discs.

Use Benefit Possible concern
Moving a presentation between computers Convenient physical transfer without depending on a network. The device can be lost, damaged, or infected with malware.
Collecting photographs from a field camera The storage can be replaced while the equipment remains in place. Capacity and physical durability may be limited.
Keeping an offline backup The copy can be disconnected from the main system. The backup must be stored securely and updated regularly.
Removable storage: secondary storage designed so that its medium or device can be detached from the computer system.

Interactive: Hardware Functionality Explorer

Use the first part of the tool to follow data through a computer system. The storage comparison is an extension preview showing why systems combine storage components with different performance characteristics.

System function

Input

Extension: comparing storage levels

Select a component to see a general comparison. The bars show broad trends for learning purposes; they are not measurements for a specific computer.

Access speed
Capacity
Cost per unit

Exam support

Explaining a need

Link each component to a purpose. Instead of writing “a computer has input devices”, explain that input hardware is needed so data and instructions can enter the system.

Using precise terms

Use primary memory, secondary storage, and removable storage accurately. Avoid using “memory” and “storage” as interchangeable labels in a comparison question.

Common mistakes

  • Giving examples without explaining why the hardware is required.
  • Claiming that secondary storage is directly used by the processor in the same way as primary memory.
  • Assuming every device must belong to only one category.
  • Describing detailed CPU architecture before it is relevant to the question.

Practice

Try these original questions

  1. Explain why a ticket machine requires both input and output hardware.
  2. Describe the different roles of primary memory and secondary storage while a photograph is being edited.
  3. A drone records video to a removable memory card. Explain two reasons why removable storage is suitable.
  4. Classify each action as input, output, or both: loading a saved game, saving a game, using a touchscreen menu, and playing music through speakers.
  5. Trace the journey of a barcode value from a scanner to a displayed product price and a stored sales record.
  6. Explain why a system cannot rely only on secondary storage while programs are running.
  7. A student writes, “RAM is primary memory and all other memory is secondary storage.” Explain what is wrong with this statement.

Review

Concept Key idea
Input Transfers data or instructions into the processing system.
Output Transfers information, signals, or actions out of the processing system.
Primary memory Makes current instructions and data available for processing.
Secondary storage Retains programs and data for later use.
Removable storage Allows secondary storage to be detached for transfer, collection, or backup.
Device classification Depends on the direction and purpose of the data transfer in the given context.