Storage Notes
Storage Notes
Theory
Storage
Introduction
All computer systems need to store data. This is done:
Temporarily while a program is running. This is stored in main memory.
Long-term to preserve programs and data while not in use. This is called
backing storage.
So you can see how a computer system uses two types of memory: Main memory
holds all of the essential memory that tells your computer how to be a computer.
Backing storage holds the information that you store on backup storage devices.
Note: Memory is another term used for storage.
Block Diagram of the Computer System showing the Main & Backing Storage
The Central Processing Unit (CPU) is the unit responsible for the processing of data.
The CPU is made up of 2 parts: the Control Unit (CU), the Arithmetic and Logic Unit
(ALU)
CPU = CU + ALU
1 / 12
K Aquilina
Student Notes
Theory
Main Memory
Main memory holds programs and data that the user is currently working with. For example:
A word-processed document that is being edited will be loaded into Main memory.
An email program that is currently transmitting a message will be loaded into main
memory.
When you switch on the computer system, a program found in main memory will boot
(start up) the computer system.
The process of transferring data/programs from backing store into RAM so they can
be used is known as loading.
The process of transferring data/programs from RAM to backing store so that they
will be retained when a computer is turned off is known as saving.
2 / 12
K Aquilina
Student Notes
Theory
Storage Exercise 1:
1. In what type of memory are often used instructions and programs permanently stored
inside the computer?
2. Who provides the programs stored in ROM?
3. Can programs in ROM be changed?
3 / 12
K Aquilina
Student Notes
Theory
Backing Storage
If data needs to be kept whilst a computer is turned off then it must be stored on
backing store. Any programs or data that are not currently being used by a
computer will be kept on backing store. When programs or data are used they are
copied (loaded) into main memory (RAM) for faster access.
The purpose of storage in a computer is to hold data and get that data to the CPU as
quickly as possible when it is needed. Computers use disks for storage: most
commonly, hard disks that are located inside the computer (non-removable), and
floppy or compact disks that are used externally (removable). Three types of Backing
Storage media we will overview in this topic are; Magnetic, Optical and Electronic
media.
4 / 12
K Aquilina
Student Notes
Theory
Magnetic Media
Magnetic tape
Magnetic tape is a narrow plastic ribbon coated with an
easily magnetisable material on which data can be recorded.
It is used in sound recording, audiovisual systems
(videotape), and backups.
Tape is still used to make backup copies of
important data. Information is recorded on the tape
in binary form, with two different strengths of signal
representing 1 and 0.
The device that reads the tape is the Tape Drive or
Tape Unit.
Magnetic tape comes mainly in two different forms:
Reel to Reel
Cartridges
Large reels of tape which must be loaded into a reel-to-reel tape drive. This type
of tape is usually used by mainframe computers.
The tape is supplied in a small cartridge rather like a music tape. This type of
tape is used on PCs (microcomputers) and the device used to read/write the
tapes is called a tape streamer. Capacities of cartridges vary from 10Gb to
200Gb.
5 / 12
K Aquilina
Student Notes
Theory
Floppy Disks
Consists of a plastic case that measures 3 1/2 by 5 inches. Inside that case is a
very thin piece of plastic (see picture at right) that is coated with microscopic iron
particles (magnetic). This disk is much like the tape inside a video or audio
cassette. Never touch the inner disk - you could damage the data that is stored
on it.
Floppy disks are the smallest type of storage, holding only 1.44MB.
Access to data is much slower than for hard disk. The data on the disk can be
protected by sliding a small write-protect tab which prevents the contents of the
disk from being changed.
Some hardware companies now produce storage devices (Zip disks) which are
very similar to floppy disks but can store 100Mb or even 250Mb of data. These
devices are also much faster than standard floppy disk drives.
6 / 12
K Aquilina
Student Notes
Theory
Double sided
3. A Filing system (with root directory) is created to list where things are on the
disk.
Magnetic Disk Advantages
Storage Exercise 2:
1. Why are disk storage devices popular?
2. How is data stored on all magnetic disks?
3. How is the storage capacity of a disk determined?
7 / 12
K Aquilina
Student Notes
Theory
Optical Media
An optical disk is a storage medium in which laser technology is used to record and
read large volumes of digital data.
Compact Disks
CDs use ________ (microscopic indentations) and ____________ (flat surfaces) to
store information much the same way floppies and hard disks use magnetic and nonmagnetic storage. Inside the CD-Rom is a laser that reflects light off of the surface of
the disk to an electric eye.
Compact disks are exchangeable and easy to transport. Access to data is faster
than access to floppy disks but slower than hard disks. CDs typically hold 650 or 700
megabytes of data, and are used in distributing large
amounts of text and graphics, such as encyclopedias,
catalogues, and technical
manuals.
As with a hard disk the drive
head in an optical drive can
move directly to any file on
the disk so optical disks are
direct access.
CD-ROM (Compact Disk - Read Only Memory) - The data is written onto the CDROM disk before it is sold and can not be changed by the user. CD-ROMs are used
for applications such as distributing software, digital videos or multimedia products.
CD-R (Compact Disk - Recordable) - A CD-R disk is blank when it is supplied. The
user can write data to it just once. After data has been written to the disk it can not be
changed. CD-Rs are often used for making permanent backups of data and
distributing software when only a small number of copies are required.
CD-RW (Compact Disk - Rewriteable) - CD-RW disks can be read from and written
to.
DVDs
DVD-ROM (Digital Versatile Disk - Read Only Memory) - DVD disks are able to
store much more data than CD disks. The DVD standard includes disk capacities up
to 30Gb. DVD-ROM disks can be read from but can not be written to.
DVD-RAM (Digital Versatile Disk - Random Access Memory) - DVD-RAM disks
have all of the benefits of DVD-ROM disks and can be written to as well. These very
high capacity disks are ideal for producing backups.
Because of their high capacity, DVD disks are used to store high quality video such
as complete movies.
Storage Exercise 3:
1. How is data stored on an optical disk?
2. What is the difference between a CD and a DVD?
8 / 12
K Aquilina
Student Notes
Theory
Electronic Media
These new storage devices use electricity to read and write data. Unlike
hard disks and CDROMs they do not have any moving parts.
Flash memory and pen drives are very common today. Flash memory is
usually found in digital cameras, digital camcorders and mobile phones.
A suitable drive is needed to read/write on flash memory.
Pen drives use the same technology to read and write data. Today pen
drives are capable of storing more than 1GB of information. Recent pen drives are
coming out with a built in mp3 player. Normally a USB drive is required to connect a
pen drive to your computer.
Common flash memory:
1. Compact Flash
media
2. XD-Picture card
3. Smart
(SM)
card
4. Secure digital
(SD) card
5. MultiMedia card
(MMC)
9 / 12
K Aquilina
Student Notes
Theory
Folder Folder
Folder
Folder
SubF1 SubF2
10 / 12
Folder
SubF3
SubF4
K Aquilina
Student Notes
Theory
11 / 12
K Aquilina
Student Notes
Theory
Typical access time (time to seek data) is between 9ms and 12ms. The lower the
access time, the more costly a device is. Access time for most disk drives is, in fact
under 25 milliseconds.
Storage Level
Typical capacity
CPU registers
Instantaneous
A few bytes
Cache memory
15 - 30 ns
64 KB 256 KB
Main Memory
50ns 200 ns
16MB 512 MB
Hard Disk
10ms 30 ms
12 GB 180 GB
Pen Drives
256 MB 16GB
CD-ROM
100ms 600 ms
650 MB 700 Mb
Tape
> 0.5 s
2 GB 100 GB
Advantages
Backing Storage
Backing storage is nonvolatile and
contents stored is relatively more
permanent when compared with memory.
Backing storage provides a cheap and
almost an unlimited amount of storage.
Disadvantages
12 / 12
K Aquilina