GCSE Computer Science Theory

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

Secondary Storage

File-Sizing Protocols

Secondary storage sizes are measured in bytes and multiples thereof:

Number of Bytes Name Abb.
103 Kilo 1kB
106 Mega 1MB
109 Giga 1GB
1012 Tera 1TB
1015 Peta 1PB
1018 Exa 1EB
1021 Zetta 1ZB
1024 Yotta 1YB

Basics

Disk Types

There are three main different types of secondary storage: magnetic storage, optical storage and solid-state storage.

Magnetic Storage

Magnetic storage disks contain iron particles. These particles can be arranged in one of two directions, each represented either 12 or 02. The drive also contains a head that can reade the direction of the particles and change the direction of the particles using an electromagnetic field. The disk is spun rapidly and the head moves back and forth, reading different parts of the disk.

Advantages Disadvantages
Very fast access to data Data can be altered by magnetic fields
Many magnetic discs are comparatively cheap The discs gradually lose their charge

Optical Storage

Optical storage discs contain dents and flat spots. A laser shone on the disc will not be reflected if it hits a pit; this represents a 02. On the other hand, the laser will reflect when it hits a flat spot; this represents a 12. The disc, similarly to magnetic storage, is spun rapidly and the laser is guided over different parts of the disc.

Advantages Disadvantages
Has the potential to last a long time Require special drives to read/write
Easily transported as they are the same size as CDs Can suffer from compatibility issues between drives
Allow for random access without regards to the order the data was stored

Solid-State Storage

Solid-state discs contain billions of transistors arranged to make memory cells. The cells can be set to allow current to flow - representing a 12 - or not to flow - representing a 02. By detecting if current is flowing or not flowing through a particular cell, the 1 or 0 can be read.

Advantages Disadvantages
Faster startup time because they don’t have to ‘spin up’ Considerably more expensive than other secondary storage devices
They have a somewhat longer lifetime than other disc types Vulnerability to abrupt power loss, magnetic fields and electric charges
Some solid state discs can be waterproof