GCSE Computer Science Theory

Notes for the AQA GCSE Computer Science (4512/1) theory examination Content based on BourneToCode

Memory

Basics

In modern computers, the term Read Only Memory is somewhat of a misnomer. ROM refers to a class of memory where the data is hardwired and therefore can not be changed. In reality, modern ROM can be altered, but not within the normal operations of the computer system. ROM is classed as non-volatile memory.

In any computer system, there are two types of storage, the volatile storage and the non-volatile storage.

The main difference between volatile and non-volatile storage is what happens when you turn off the power. With non-volatile storage, as long as the data has already been written, it will remain for a considerable amount of time; typically hundreds of years. However, volatile memory needs constant power in order to retain the stored data. Once the power goes out, the data is lost almost instantly.

Uses

Non-volatile storage

E.g. Read Only Memory

ROM

ROM

The main set of instructions stored on ROM is the BIOS. BIOS stands for Basic Input/Output System. The BIOS provides instructions for the processor allowing it to interact with the Hard Disk and therefore boot the Operating System. Without the BIOS, the Operating System could not be booted. Needs to be non-volatile as it would otherwise be lost

Volatile storage

E.g. Random Access Memory, CPU cache

RAM

Cache Memory

Cache is required because processors are so fast, that if they had to retrieve all data and instructions from RAM, they would spend a long time waiting.
Cache memory is much faster than RAM.
In general, there are three levels of CPU cache.
Cache memory holds the most regularly accessed data or instructions so that they're more quickly available, increasing a computer's performance.

Static RAM and DRAM

(Dynamic RAM)

PC Buses

RAM Latency

Virtual Memory

Virtual memory is a common part of most operating systems on desktop computers. It has become so common because it provides a big benefit for users at a very low cost.

Hard Disks

All of these storage methods can be summed up by the following:

Storage Hierarchy