Skip to content
Cambridge AS & A Level9618

Computers and their components

Computer Science 9618 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Computers and their components notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Computers and their components notes as text: skim, search, and jump between subtopics.

~15 min read

1. Input, output, primary memory and secondary storage

Input devices, such as a keyboard and a microphone, pass data into the computer. Output devices, such as a monitor and speakers, pass results out.

Primary memory is Random Access Memory (RAM) and Read Only Memory (ROM). It holds the currently running software and data, and the start-up instructions.

Secondary storage holds data permanently. It is needed for large files such as videos, which need very large storage capacity. Secondary storage includes removable devices, such as a solid state (flash) memory drive plugged into a port of the computer.

Examiner insight

“Responses were frequently generic with no application to the given context.”

Worked example 12 marks

Kiara has an embedded system in her washing machine. The washing machine’s embedded system makes use of both Random Access Memory (RAM) and Read Only Memory (ROM).

State the purpose of RAM and ROM within the washing machine's embedded system.

  1. 1

    RAM stores the wash program the user has entered, or the data read from the sensors [1]

  2. 2

    ROM stores the start-up instructions for the washing cycles [1]

2. Embedded systems

An embedded system is a combination of hardware and software designed for a specific function. It is built into a larger system and must contain a processor, memory and input / output.

It is dedicated to one task, needs little processing power and is not easily changed by the owner of the device.

The drawbacks are that it is difficult to change / update the firmware, errors cannot be fixed easily, and it cannot be adapted for another task. Faulty or outdated devices are often thrown away rather than repaired, leading to e-waste.

Examiner insight

“Many responses were simply generic descriptions of embedded systems.” “A better answer is ‘it is integrated into a larger system’.”

Worked example 12 marks

Many modern televisions are examples of embedded systems.

Explain why these televisions are embedded systems.

  1. 1

    the embedded system is built into / integrated into the TV [1]

  2. 2

    it is a combination of hardware and software designed for a specific function [1]

3. Magnetic, solid state and optical storage

A magnetic hard disk has one or more platters that can be magnetised, mounted on a spindle and rotating at high speed. A read/write head on an arm moves across the surface. Writing varies the current in the head, which varies the magnetic field on the disk. Reading is the reverse: changes in the magnetic field produce a change in the electric current.

Solid state (flash) memory is built from NAND or NOR logic gates. Each cell contains two transistors. A floating gate retains electrons without power. A control gate allows or stops current from passing. A computer that makes a large number of read/write operations, such as one recording video all the time, suits magnetic storage: it has more longevity and costs less per storage unit.

An optical disc reader/writer spins the disc and shines a laser on its spiral track. Writing burns pits. Reading detects the different reflection from pits and lands.

Examiner insight

“Few candidates mentioned anything about the number of read/write operations required.” “There also seemed to be a misconception that solid state drives could not be used for long term backup.”

Worked example 14 marks

A computer system is used to store data received from a temperature sensor every five seconds. The data is stored on an optical disc using an optical disc reader/writer.

Describe the principal operation of an optical disc reader/writer.

  1. 1

    The disc is spun at high speed [1]

  2. 2

    A laser is shone onto the disc to read / write, using an optical head to move it into position [1]

  3. 3

    When writing, the laser burns pits to represent the data [1]

  4. 4

    When reading, the laser reflects from pits and lands and the difference is interpreted as 1 or 0 [1]

4. Touchscreens, microphones, speakers and VR headsets

A resistive touchscreen has two layers. When the user touches the screen, the layers touch and a circuit is completed. A capacitive touchscreen has several layers. When the top layer is touched there is a change in the electric current. A microprocessor identifies the coordinates of the touch.

In a microphone, incoming sound waves cause a diaphragm to vibrate. In a dynamic microphone a coil moves past a magnet. In a condenser microphone the capacitance changes. An electrical signal is produced.

A virtual reality headset has one or two displays that output the image, and speakers that output surround sound. A gyroscope or accelerometer detects head movement. A microprocessor analyses the data to identify the direction and speed of movement.

Examiner insight

“There was some confusion between the two types of touchscreen and some candidates had them the wrong way round.” “There were some very vague words used instead of ‘co-ordinates’.”

Worked example 15 marks

A mobile telephone has a touchscreen. There are different types of touchscreen.

Complete the description of the principal operation of touchscreens.

A ________ touchscreen has two layers. When the user touches the screen, the layers touch and a ________ is completed.

A ________ touchscreen has several layers. When the top layer is touched, there is a ________ in the electric current.

A microprocessor identifies the ________ of the touch.

  1. 1

    resistive [1]

  2. 2

    circuit [1]

  3. 3

    capacitive [1]

  4. 4

    change [1]

  5. 5

    coordinates [1]

5. 3D printers, laser printers and buffers

A 3D printer uses additive manufacturing. It uses a digital 3D model or a Computer Aided Design (CAD) file. It builds the model one layer at a time, starting from the bottom. The material is fused or cured layer by layer. A temperature sensor prevents overheating and checks that the material is hot enough.

A buffer is a temporary store of data. A computer and a device send and receive at different speeds. The computer transfers data to the buffer at its higher speed, so it is not held up. The device takes the data from the buffer at its slower rate. When the buffer is empty, an interrupt is sent requesting more data.

A laser printer uses a buffer in this way: the data to be printed goes to the buffer first.

Examiner insight

“There was considerable confusion between the buffer and the print queue and statements about instructions being transferred to the buffer rather than the data to be printed.”

Worked example 14 marks

A laser printer is connected to a laptop computer.

Describe how the laser printer makes use of a buffer.

  1. 1

    The data to be printed is sent by the laptop to a buffer at laptop speed [1]

  2. 2

    The data is transferred from the buffer to the printer at printer speed [1]

  3. 3

    This allows the user and the processor to continue instead of waiting for the relatively slower printer [1]

  4. 4

    When the buffer is empty an interrupt is sent to the laptop requesting more data [1]

6. RAM, ROM and the types of ROM

RAM can be read from and written to. It is volatile, so it is temporary. It stores the currently running software, data and part of the Operating System. ROM can only be read. It is non-volatile, so it is permanent. It stores the start-up (boot-up) instructions, or the firmware of an embedded system.

PROM can be set once. EPROM and EEPROM can be overwritten many times. EPROM is erased using ultraviolet light, has to be removed from the circuit board and erases all the data. EEPROM is erased using an electrical signal, stays in the circuit (in situ) and can erase a particular byte or the whole of it.

Examiner insight

“There was some confusion between the contents of ROM and the contents of RAM and some candidates did not answer the question, and instead just described the ROM.” “Some candidates also need to be aware that at this level of study, it is not enough to respond with statements such as ROM is read only, which just repeat the expanded acronym.”

Worked example 12 marks

A health monitor contains Random Access Memory (RAM) and Read Only Memory (ROM).

Describe two differences between RAM and ROM.

  1. 1

    RAM can be read from and written to, ROM can only be read [1]

  2. 2

    RAM is volatile, ROM is non-volatile // RAM is temporary, ROM is permanent [1]

7. SRAM and DRAM

SRAM uses transistors arranged as flip-flops or latches. DRAM uses transistors and capacitors. DRAM requires constant refreshing. SRAM does not.

SRAM has a faster access time and lower capacity per chip. It is used for CPU cache, where speed is needed. DRAM has a lower cost per unit and a higher bit density, so more data can be stored per chip. It suits a device that stores a lot of data and does not need fast access.

Examiner insight

“DRAM has a lower cost per unit and a higher bit density is more precise.” “Better statements include ‘static RAM has a faster access time’.”

Worked example 12 marks

A 3D printer contains 1 GB of Dynamic RAM (DRAM) to store print data.

State two advantages of the printer having Dynamic RAM instead of Static RAM (SRAM).

  1. 1

    Dynamic RAM has a lower cost per unit [1]

  2. 2

    Higher bit density: more data can be stored per chip [1]

8. Monitoring and control systems

A monitoring system records or transmits data. It takes no action, has no actuator and does not use feedback. Its output does not affect the next input.

A control system uses an actuator and feedback. It acts autonomously to change the environment if values are out of a prescribed range. Its output affects the next input.

Sensors supply the input: for example temperature (to keep a refrigerator between 4 and 6 degrees Celsius), infra-red (to detect an object or check a height), pressure (to check a weight, or an intruder in a seat) and sound. An actuator causes an action, such as pushing an arm. It does no processing: the microprocessor does that.

Examiner insight

“Candidates should understand that the actuator does not do any processing of sensor readings. It initiates an action when prompted by the microprocessor.” “There was considerable confusion with the sort of feedback obtained from a survey of users of the system, rather than an explanation of how system output affects subsequent system input.”

Worked example 13 marks

Explain the importance of feedback in a control system.

  1. 1

    to ensure the system operates with the given criteria [1]

  2. 2

    ... by enabling system output to affect subsequent system input [1]

  3. 3

    ... thus allowing conditions to be automatically adjusted [1]

Recap

  • Primary memory is RAM and ROM. Secondary storage holds data permanently and in large amounts.
  • Embedded system: hardware and software designed for a specific function, integrated into a larger system.
  • Hard disk: platters, spindle, read/write head. Optical: laser, pits and lands. Solid state: floating gate.
  • Resistive: two layers, circuit completed. Capacitive: change in current. The microprocessor finds the coordinates.
  • A buffer is temporary storage that evens out the speed difference between a computer and a device.
  • RAM is volatile and read/write. ROM is non-volatile. EEPROM is erased electrically, in situ.
  • SRAM: faster access time. DRAM: lower cost per unit, higher bit density.
  • Control system: actuator and feedback. Monitoring system: neither.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Name two types of primary memory.2 marks
    Answer
    1. Random Access Memory (RAM) [1].
    2. Read Only Memory (ROM) [1].

    Trap: A magnetic hard disk and a solid state drive are secondary storage, not primary memory.

  2. A fitness tracker holds its start-up instructions and the heart-rate readings it is processing now. State which is stored in RAM and which in ROM. Give one property of RAM that explains your choice.3 marks
    Answer
    1. The heart-rate readings are in RAM [1].
    2. The start-up instructions are in ROM [1].
    3. RAM can be read from and written to, so its contents can change [1].

    Trap: Swapping the contents of RAM and ROM, a confusion examiners reported.

  3. A smart thermostat is built into a central heating boiler and does nothing except control the heating. Explain why it is an embedded system.2 marks
    Answer
    1. It is integrated into a larger system, the boiler [1].
    2. It is designed for a specific function, controlling the heating [1].

    Trap: ‘It is embedded into a larger system’ only rewords the term.

  4. Describe how data is read from a magnetic hard disk.3 marks
    Answer
    1. The platters rotate at high speed on a spindle [1].
    2. A read/write head is moved across the surface on an arm [1].
    3. Changes in the magnetic field produce a change in the electric current [1].

    Trap: Reversing the direction. Writing varies the current to vary the field. Reading is the reverse.

  5. An optical disc is read by an optical disc reader/writer. Explain how the reader detects a 1 or a 0.3 marks
    Answer
    1. A laser is shone onto the spinning disc [1].
    2. The reflection from a pit is different from the reflection from a land [1].
    3. The difference is interpreted as 1 or 0 [1].

    Trap: Saying the laser burns pits. That is writing, not reading.

  6. A kiosk has a touchscreen with several layers. A second kiosk has a touchscreen with two layers. (a) Name the type of touchscreen in the first kiosk and say what happens when its top layer is touched. (b) Name the type in the second kiosk and say what happens when it is touched.4 marks
    Answer
    1. (a)
    2. Capacitive [1]. There is a change in the electric current [1].
    3. (b)
    4. Resistive [1]. The two layers touch and a circuit is completed [1].

    Trap: Swapping the two types.

  7. A computer sends a large document to a printer far faster than the printer can print it. Explain how a buffer lets the computer carry on working.4 marks
    Answer
    1. The computer and the printer work at different speeds [1].
    2. The computer transfers the data to be printed to the buffer at its own higher speed [1].
    3. The printer takes the data from the buffer at its slower rate [1].
    4. The computer is not held up, so the processor can carry on other tasks [1].

    Trap: Saying the buffer holds the print instructions or the queue. It holds the data to be printed.

  8. A games headset must have its firmware updated by customers at home without opening the headset. (a) Name the type of ROM that suits this. (b) Give one difference from EPROM, and two reasons it suits the headset.4 marks
    Answer
    1. (a)
    2. EEPROM [1].
    3. (b)
    4. EPROM is erased with ultraviolet light. EEPROM is erased by an electrical signal [1].
    5. EEPROM allows multiple read/write/erase operations, so the firmware can be changed in situ, without removing the chip from the headset [1].
    6. It can erase a particular byte instead of all the contents [1].

    Trap: Describing EPROM. It has to be removed from the circuit board and erased completely.

  9. A server room has a temperature sensor and a motor that opens a vent. A microprocessor reads the sensor every minute. If the temperature is above a set limit, it signals the motor to open the vent. Cooler air comes in and the sensor then reads a lower value. (a) Explain why this is a control system and not a monitoring system. (b) Describe the role of the motor. (c) Explain the importance of feedback in this system.6 marks
    Answer
    1. (a)
    2. It uses an actuator, the motor, to change the environment when the temperature is out of range [1]. It uses feedback: its output affects the next input [1].
    3. (b)
    4. The motor is the actuator. It does no processing of the sensor readings [1]. It initiates an action, opening the vent, when prompted by the microprocessor [1].
    5. (c)
    6. Feedback ensures the system operates within the set limit [1]. Opening the vent lowers the next reading, so conditions are adjusted automatically [1].

    Trap: Giving the microprocessor's job to the actuator, or treating feedback as the opinions of users of the system.

  10. A dashboard camera in a car records video frames faster than its removable flash memory card can store them. The frames wait in a 4 GB memory buffer before they are written to the card. The camera's processor also has a small cache. (a) For the cache and for the 4 GB buffer, choose SRAM or DRAM and justify each choice precisely. (b) Explain how the buffer stops the processor being held up while the card writes.7 marks
    Answer
    1. (a)
    2. Cache: SRAM [1], because it has a faster access time, as it does not need to be refreshed [1].
    3. Buffer: DRAM [1], because it has a lower cost per unit and a higher bit density, so 4 GB fits on fewer chips; fast access is not needed [1].
    4. (b)
    5. The processor and the card send and receive at different speeds [1].
    6. The processor transfers the frames to the buffer, a temporary store, at its higher speed, so it is not held up [1].
    7. The card takes the data from the buffer at its slower rate [1].

    Trap: Writing ‘SRAM is faster’ or ‘DRAM is cheaper’, which examiners do not credit, or describing a queue of instructions instead of the data held in the buffer.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
‘DRAM is cheaper’ or ‘DRAM can store more data’DRAM has a lower cost per unit and a higher bit density
‘static RAM is faster’static RAM has a faster access time
‘it is embedded into a larger system’it is integrated into a larger system
‘ROM is read only’ROM stores the start-up (boot-up) instructions

Frequently asked questions

What is the difference between RAM and ROM?
RAM can be read from and written to. It is volatile, so it is temporary, and it stores the currently running software, data and part of the Operating System. ROM can only be read. It is non-volatile, so it is permanent, and it stores the start-up (boot-up) instructions or the firmware of an embedded system.
What is the difference between SRAM and DRAM?
SRAM uses transistors arranged as flip-flops or latches and does not need refreshing. It has a faster access time and lower capacity per chip, so it is used for CPU cache. DRAM uses transistors and capacitors and requires constant refreshing. It has a lower cost per unit and a higher bit density, so more data can be stored per chip.
What is an embedded system?
An embedded system is a combination of hardware and software designed for a specific function. It is integrated into a larger system and must contain a processor, memory and input / output. It is dedicated to one task, needs little processing power and is not easily changed by the owner of the device.
How do magnetic, solid state and optical storage store and read data?
A magnetic hard disk has platters that rotate on a spindle, and a read/write head moves across the surface. Changes in the magnetic field produce a change in the electric current when reading. An optical disc reader/writer shines a laser on a spiral track: writing burns pits, and reading detects the different reflection from pits and lands. Solid state memory uses a floating gate that retains electrons without power.
What is the difference between a monitoring system and a control system?
A monitoring system records or transmits data. It takes no action, has no actuator and does not use feedback. A control system uses an actuator and feedback, and it acts to change the environment if values are out of a prescribed range. Its output affects the next input.
Is a buffer the same as a print queue?
No. A buffer is a temporary store of the data to be printed, not the instructions. A computer and a printer send and receive at different speeds, so the computer transfers the data to the buffer at its higher speed and the printer takes it from the buffer at its slower rate. When the buffer is empty, an interrupt requests more data.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters