Professional Documents
Culture Documents
COMPUTER MEMORY.
PRIMARY AND SECONDARY STORAGE DEVICES
LESSON NOTES
Lesson/Learning Objectives
At the end of this lesson, students will be able to:
1. Meet the expectations of the Course Curriculum coded as: TFV.01E, TF2.01E, TF2.02E, TF2.03E,
TF2.04E, IC1.02E, SPV.01E;
2. Explain the function and interaction of the primary (RAM, ROM) and secondary storage devices
(magnetic and optical);
5. Explain how data is stored on the surface of magnetic and optical disks;
6. Uninstall and re-install main and secondary storage devices: RAM, FDD, HD, CD-ROM;
7. Use safe practices in the handling of computer hardware and electronic components.
Introduction
Computer memory can be divided into two broad categories:
Primary storage (also called main memory), and
Secondary storage.
Primary storage is closely connected to the CPU and is used for temporary storage of data and
instructions during processing.
Secondary storage is relatively permanent but ``further away'' from the CPU.
Primary storage is fast; secondary storage is slow (relatively).
Primary storage is volatile (i.e. contents are lost when power is removed); secondary storage is
non-volatile.
Primary storage is based on electronic technology; secondary storage is usually based on magnetic
(or optical) and mechanical technologies.
1
R.H. KING ACADEMY INFORMATION TECHNOLOGY TEE2O COURSE
Secondary Storage
Secondary storage for computers is non-volatile (i.e. does not require electrical power to retain its
contents.
The basic types of secondary storage are:
- magnetic tape
- magnetic disk (``hard'' and ``floppy'')
- optical disk (CD-ROM, WORM, MO).
Magnetic Tape
This is oldest, and originally the only, form of secondary storage.
It is still used, mostly for backup or archival storage, and for batch processing.
Data is stored on tracks on the tape - most tapes have 9 tracks.
There are several varieties of magnetic tape:
- 14" reels of 1/2" wide tape (2400' long)
- Cartridges of 1/4" tape
- Cassettes (very similar to audio cassettes)
- Digital Audio Tape (DAT).
Bytes of data (i.e. 8 bits) are stored across the width of the tape.
The 9th bit is a parity bit. It helps to detect storage errors. Two types of parity can be used.
With even parity, the parity bit is set so that the group of 9 bits has an even number of `1' bits.
With odd parity, the parity bit is set so that the group of 9 bits has an odd number of `1' bits.
Data is stored at different densities (e.g. 1600 and 6250 bpi, where ``bpi'' means ``bytes per inch'').
2
R.H. KING ACADEMY INFORMATION TECHNOLOGY TEE2O COURSE
It is very inexpensive
It is relatively robust
And the following disadvantages: 1. It only allows access to data sequentially and is therefore very
slow compared to other secondary storage technologies; 2. May need manual intervention to
mount/dismount.
Magnetic Disks
This is the most common form of secondary storage used today. Magnetic disks come in two forms:
hard disks
floppy disks
Hard disks are (usually but not always) permanently mounted inside the computer. All magnetic disks
have a magnetizable iron oxide coating and read/write heads that can move over the surface of the
disk, which is spinning underneath it . The disk head works in a similar way to the head in an audio tape
recorder. The read/write head in a floppy disk drive actually contacts the magnetic disk, but that in a
hard disk ``flies'' a few thousandths of an inch above it.
3
R.H. KING ACADEMY INFORMATION TECHNOLOGY TEE2O COURSE
4
R.H. KING ACADEMY INFORMATION TECHNOLOGY TEE2O COURSE
Optical Disks
Optical disks are becoming more common. They come in several varieties:
5
R.H. KING ACADEMY INFORMATION TECHNOLOGY TEE2O COURSE
MO (magneto-optical).
CD-ROM
Useful for distributing information that should not be changed (e.g. encyclopaedias) and programs
(e.g. new versions of software) and, inevitably, games.
New technology, known as DVD, will store up to 4G per disk. DVD disk drives are required to read
these disks.
Typical data access time: 30-50 msec, although this is steadily improving and should shortly be
comparable with magnetic hard disks.
WORM
These are the optical version of magnetic hard disks - that is, data can be written to them and
erased from them.
Similar in storage capacity and access time to the other types of optical disks.
Data is written by heating a spot on the disk with a laser beam, in the presence of a magnetic field,
the direction of which determines whether a `0' or `1' is written.
Data is read by shining a lower power laser beam onto the disk spot (without the magnetic field)
and detecting the polarization of the light that is reflected.
Lesson Review
6
R.H. KING ACADEMY INFORMATION TECHNOLOGY TEE2O COURSE
List four types of magnetic and four types of optical storage devices.
Explain how data is stored on the surface of magnetic and optical disks.
7. A land reflects light back to its source, representing a bit value of 1 (on). T F
8. A pit, does not reflect the light back and this represents a bit value of 0 (off). T F
Sources:
http://pcwebopedia.com
http://www.dis.unimelb.edu.au/staff/tanya/hwtute/Peripheral_devices/storage.htm
http://courses.wccnet.org/computer/mod/g05c.htm
http://en.wikipedia.org/wiki/Computer_memory
http://ioc.unesco.org/oceanteacher/resourcekit/Module2/Computers/Hardware/storage.html
http://www.ib-computing.com/primsecmem.htm