Skip to topic
    ← Back to course topics

    Input, output and storage — OCR A-Level Computer Science

    Test yourself on Input, output and storage with OCR A-Level practice questions.

    Start free

    7 days Premium · Then free forever · No card, no charge

    Input, output and storage explained

    This topic covers the application of various input, output, and storage devices to solve specific computational problems.

    Read the full explanation

    It includes the functional differences and appropriate use cases for magnetic, flash, and optical storage, as well as the distinction between RAM and ROM and the concept of virtual storage.

    What to demonstrate

    1. Application of input/output devices to specific problem scenarios
    2. Comparison of magnetic, flash, and optical storage media
    3. Distinction between RAM and ROM characteristics and uses
    Show all 4 objectives
    1. Explanation of virtual storage concepts

    Input, output and storage exam tips

    Topic Overview

    Input, output and storage are fundamental concepts in computer science that describe how data enters, leaves, and is retained within a computer system. Input devices (e.g., keyboards, sensors) convert real-world data into digital signals for processing. Output devices (e.g., monitors, speakers) present processed data to users. Storage devices (e.g., hard drives, SSDs) hold data and instructions permanently or temporarily. Understanding these components is crucial for designing efficient systems and for the OCR A-Level exam, where you'll need to compare technologies in terms of speed, capacity, and cost.

    This topic connects to the fetch-execute cycle, memory management, and data representation. For example, input devices often use analogue-to-digital conversion, while output devices may use digital-to-analogue conversion. Storage is categorised into primary (RAM, cache) and secondary (magnetic, optical, solid-state). You'll need to evaluate trade-offs: RAM is fast but volatile, SSDs are fast but expensive per GB, and HDDs are cheaper but slower. These decisions impact system performance and are common in exam scenarios.

    Mastering this topic helps you understand how computers interact with the real world and how data persists. In the exam, you may be asked to justify device choices for specific contexts, such as a gaming PC (fast SSD + ample RAM) versus a file server (large HDDs). You'll also need to explain how storage technologies work at a hardware level, including read/write mechanisms and data organisation (e.g., sectors, blocks). This foundational knowledge supports later topics like databases, networks, and operating systems.

    Key Concepts
    • →Input devices convert external data into digital signals; examples include keyboards, mice, microphones, and sensors (e.g., temperature, pressure).
    • →Output devices convert digital data into human-readable form; examples include monitors (LCD, OLED), speakers, printers (laser, inkjet), and actuators.
    • →Storage devices are categorised as primary (volatile: RAM, cache) or secondary (non-volatile: HDD, SSD, optical). Tertiary storage (e.g., tape) is used for archiving.
    • →Key performance metrics: capacity (bytes), speed (access time, data transfer rate), cost per byte, durability, and power consumption.
    • →Magnetic storage (HDD) uses spinning platters and read/write heads; optical storage (CD/DVD/Blu-ray) uses lasers to read pits on a disc; solid-state storage (SSD) uses NAND flash memory with no moving parts.
    Marking Points
    • Application of input/output devices to specific problem scenarios
    • Comparison of magnetic, flash, and optical storage media
    • Distinction between RAM and ROM characteristics and uses
    • Explanation of virtual storage concepts
    Examiner Tips
    • 💡Always link the choice of device to the specific requirements of the scenario provided in the question
    • 💡Be prepared to explain the trade-offs between different storage types (e.g., speed, capacity, cost, portability)
    • 💡Ensure you can distinguish between primary and secondary storage
    • 💡When comparing storage devices, always use specific metrics: e.g., 'SSDs have an access time of ~0.1ms, while HDDs are ~10ms, making SSDs 100x faster for random reads.' Avoid vague terms like 'fast' or 'slow'.
    • 💡In questions about choosing devices for a scenario, justify your choice with at least two factors. For example, 'A laptop needs an SSD because it is more durable (no moving parts) and consumes less power, extending battery life.'
    • 💡Remember that input and output devices often involve conversion processes. Be prepared to explain how an ADC (analogue-to-digital converter) works for a microphone, or how a DAC (digital-to-analogue converter) drives a speaker.
    Common Mistakes
    • Confusing the volatile nature of RAM with the non-volatile nature of ROM
    • Failing to justify the choice of a specific storage device for a given scenario
    • Misunderstanding the role of virtual storage in memory management
    • Misconception: RAM is a type of secondary storage. Correction: RAM is primary storage (volatile) used for temporary data during processing; secondary storage (e.g., HDD) is non-volatile and holds data long-term.
    • Misconception: SSDs are always faster than HDDs in every aspect. Correction: While SSDs have much faster random access times, HDDs can sometimes have higher sequential transfer rates for large files. Also, SSDs can slow down when full due to write amplification.
    • Misconception: Optical discs store data magnetically. Correction: Optical discs use a laser to read pits (reflective/non-reflective areas) on a polycarbonate layer; they are not magnetic.
    Frequently Asked Questions
    What is the difference between primary and secondary storage?
    Primary storage (e.g., RAM, cache) is directly accessible by the CPU, is volatile (loses data when power is off), and is used for currently executing programs and data. Secondary storage (e.g., HDD, SSD) is non-volatile, holds data permanently, and is not directly accessed by the CPU; data must be copied to primary storage first. Primary storage is much faster but smaller and more expensive per byte.
    Why are SSDs faster than HDDs?
    SSDs use NAND flash memory with no moving parts, allowing near-instantaneous data access (typically 0.1ms). HDDs rely on spinning magnetic platters and a moving read/write head, which introduces mechanical latency (seek time + rotational latency), typically 5-10ms. SSDs also have higher data transfer rates for random reads/writes, though HDDs can be competitive for large sequential transfers.
    What is the difference between RAM and ROM?
    RAM (Random Access Memory) is volatile and used for temporary storage of data and programs currently in use; it can be read and written. ROM (Read-Only Memory) is non-volatile and stores firmware or boot instructions; it is typically read-only (though some types like EEPROM can be rewritten slowly). RAM is much larger and faster, while ROM is small and retains data without power.
    How does a touchscreen work as both an input and output device?
    A touchscreen is an output device (displaying visuals) and an input device (detecting touch). Capacitive touchscreens use a grid of electrodes; when a finger touches the screen, it changes the capacitance at that point, which the controller detects. Resistive touchscreens use two flexible layers that make contact when pressed. The screen then sends coordinates to the CPU for processing.
    What is the difference between optical, magnetic, and solid-state storage?
    Magnetic storage (HDD, floppy disk) uses magnetised particles on a spinning platter; data is read/written by a head. Optical storage (CD, DVD, Blu-ray) uses a laser to read pits on a reflective disc; data is written by burning pits. Solid-state storage (SSD, USB flash) uses NAND flash memory cells that trap electrons; no moving parts. Magnetic is cheap and high capacity but slow; optical is portable and cheap but slow and low capacity; solid-state is fast, durable, and power-efficient but more expensive per GB.
    Why is cache memory faster than RAM?
    Cache memory is built directly into the CPU (or very close) using high-speed SRAM (Static RAM), which is faster than the DRAM (Dynamic RAM) used for main memory. Cache stores frequently accessed data to reduce the time the CPU spends waiting for data from RAM. It is smaller and more expensive, but its proximity and technology give it access times of ~1ns compared to ~10ns for RAM.