08 CDCT2203 - Topic04
08 CDCT2203 - Topic04
08 CDCT2203 - Topic04
4 Storage
LEARNING OUTCOMES
By the end of the topic, you should be able to:
1. Describe five advantages of secondary storage;
2. Explain two types of magnetic storage;
3. Recognise four types of optical storage; and
4. Identify other types of storage devices.
X INTRODUCTION
After our discussion on input and output in the previous topic, we shall now
move on to another computer component device; secondary storage. You will be
introduced to various types of secondary storage in the market, together with
their comparisons.
Primary storage holds data temporarily, while secondary storage does otherwise.
Secondary storage is the physical material on which a computer stores data,
instructions and information. A storage device is designed to store data and
instructions in a permanent form and to retrieve them back. This storage does not
Copyright © Open University Malaysia (OUM)
64 X TOPIC 4 SECONDARY STORAGE
Capacity of a storage medium refers to the number of bytes (characters) that can
be held. Figure 4.2 shows the capacity of a storage medium.
The speed of storage devices is defined by access time. Access time measures the
amount of time it takes to locate the required data on a storage medium.
Characteristics Advantages
Size Can accommodate large amounts of data.
Data stored can reach gigabyte (GB) or terabyte
(TB).
Reliability It can be considered safe.
Convenience Data can be accessed immediately.
Economic Storage costs can be reduced.
Lifetime It is permanent and can be used for archiving.
Some storage has a lifespan of up to 100 years.
ACTIVITY 4.1
As the tape is in roll form, data will be stored serially. Every tape column (seven
or nine tracks) will represent one character. For data that is stored serially, the
storage method used is serpentine, where data is stored one by one along one or
two tracks at one time. Data will be written from the beginning to the end of the
track concerned, and this will continue onto the part that has not yet been used,
as shown in Figure 4.3.
Besides that, there is also data that is stored in parallel. For the parallel type, data
will be written block by block or record by record. Every block of data will be
separated by a space, which is called inter-block gap. For record by record, the
space is called inter-record gap. The space is required because the tape cannot
stop immediately after it has been rolled. Normally, the use of tape is only
35%ă70%, depending on the blocking factor.
A magnetic tape drive is measured by how much data can be stored on the
magnetic tape and also the speed of the tape passing through the read/write
head. The combination of these two determines the rate of transfer or the number
of characters per second that can be sent to the primary storage. Tape density is
measured by character per inch or bit per inch. Data density varies from 800 bpi
to 7000 bpi. The tape length is normally 600 m, 366 m or 731 m.
Therefore, a tape of 366 m with 6,250 bpi can store up to 180 MB of data. The size
of data that can be stored is normally between 40 MB to 5 GB. The drive that can
upgrade its maximum loading is digital audio tape (DAT). A digital audio tape
drive consists of two read heads and two write heads which read/write one type
of magnetic pole only. Data on the tape will be accessed and written serially.
There are two types of magnetic tape ă magnetic tape unit for large computers
and tape cartridge unit for personal computers. Currently, most tapes are used
for safe storage and copy storage because they are portable and cheap. Storage
size of a normal magnetic tape is between 20 GBă40 GB.
The disadvantage of a magnetic tape is the slow rate of serial data access. Its
advantages are it is cheap, portable and long lasting.
SELF-CHECK 4.1
1. Give two advantages of secondary storage.
2. Various types of storage are available in the market. State three
types of magnetic storage commonly used.
The hard disk can store and access data faster and has a higher capacity. The
hard disk is a very sensitive device. Its read/write head floats on the disc surface
at a distance of 0.000001 inches. This very close distance allows dusts, atoms of
smoke, human hair and fingerprints to cause destruction to the read-write head.
This damage can cause some or all the data on the hard disc to be destroyed as
well.
An external hard disk is a separate hard disk that connects with a cable to a USB
port on the system unit or communicates wirelessly. Meanwhile, a removable
hard disk is a hard disk that you insert and remove from a drive. Compared to an
internal hard disk, external and removable hard disks (Figure 4.5) are better in
terms of:
(d) Add storage space to a notebook and desktop computer, without having to
open the system unit.
ACTIVITY 4.2
How does it look like in a hard disk drive? Visit the following link to
discover the components of a hard disk drive:
http://www.youtube.com/watch?v=kdmLvl1n82U
During the writing of data onto the surface of an optical device, a high powered
laser beam is used to form microscopic holes (pits) on the disc. Each pit
represents data „0‰ while part of the disc without a pit represents data „1‰.
During the reading of the optical disc, a low powered laser beam is directed on
the disc surface. A reflection of the laser beam depends on the holes on the
surface. If there are holes, the reflection of the beam disperses and cannot be
detected by the light detector. This portrays the „0‰ state. If there is no hole or if
the surface is flat (land), a reflection of the beam focuses and can be detected by
the light detector. This portrays the „1‰ state.
There are four optical disc technologies used by computers, as shown in Table 4.2.
The examples of Flash Memory Storage are solid state drives, memory cards and
USB flash drive.
(a) Solid state drives are a storage device that uses flash memory to store data,
instructions and information. It is used in all types of computers and
portable devices.
Solid state drives are better than a magnetic hard disk in terms of:
(iv) Lasts three to five years longer than a hard disk lifespan.
(b) Memory cards allow users to easily transport the digital content of their
camera, audio or video player, and other devices to a computer or vice
versa. A memory card is a removable flash memory device that you
normally insert and remove from a slot in a computer, mobile device or
card reader/writer.
(c) USB flash drives are a flash memory storage device that plugs into a USB
port on a computer or mobile device. It is one of the popular portable
storage nowadays, due to its size and weight. It is small and light, with
storage capacities ranging from 512 Mb to 64 GB.
(a) Access files from any device that has Internet access;
Some of the widely used cloud storage providers are as in Figure 4.8.
(a) A magnetic stripe card is a card with a stripe that contains information
identifying you and the card. Information stored in the stripe normally
includes your name, account number, or cardÊs expiration date. A magnetic
stripe card reader reads the information stored on the stripe. An example of
a magnetic stripe card is a membership card.
.
Figure 4.9: Magnetic stripe card and smart card
(b) A smart card, which is similar in size to an ATM or a credit card, stores data
on a thin microprocessor embedded in the card. A smart card contains a
processor and has input, process, output and storage capabilities. When a
smart card is inserted into a specialised card reader, the information on the
card is read, and if necessary, updated. An example of a smart card is
MyKad.
ACTIVITY 4.3
What is the history of computer storage? Visit the following link:
http://www.zetta.net/history-of-computer-storage
Note down the main points and compare your notes with your
coursemates.
Types of Cost/Storage
Cost Per MB Lifespan Size
Storage Size
Diskette RM 1/1.44 MB RM 0.69/MB 3ă5 years 1.44 MB
Hard Disc RM 400/8 GB RM0.05/MB 3ă5 years 320ă500 GB
CD-R RM 5/650 MB RM0.0076/MB 100 years 650 MB
CD-RW RM 30/650 MB RM 0.046/MB 100 years 650 MB
Magnetic Tape ă ă 5ă10 years 10 GBă30 GB
DVD ă ă 100 years 17 GB
RAM RM 200/64MB RM 3.13/MB Volatile 64 MBă1 GB
Zip RM 60/250 MB RM 0.24/MB 5ă10 years 250ă750 MB
(a) Bit ă It is represented by „0‰ and „1‰ that is operated with hardware.
(c) Field ă It is a unit of data that is made up of one or more characters. This is
the lowest logical level of the data unit. Examples of fields are:
(i) Name: It is usually fixed at 40 characters maximum. MOHD AKIL is
an example of data stored in such field; and
(ii) Identity Card (IC) Number: It is fixed at eight characters (old IC) and
10 digits/characters (new IC), such as 740820-03-1233.
(e) File ă This is a collection of several related records. An example of this is the
student personal file, containing several studentsÊ personal records.
Figure 4.11: RAID can make disk volumes more reliable and faster
Data files that have been compressed need to be de-compressed before they can
be used as normal. This technique is called „data decompression‰.
Normally data that has been compressed has a special suffix, such as .zip, .tgz, .Z,
.gz, .lha, .arc, .zoo, and .rar. Compression and decompression techniques are
called „codec‰. Sometimes, this process is also called „zip‰ and „unzip‰.
The two main techniques of data compression are shown in Table 4.4.
Technique Details
Lossless Where data compression is done by preserving all input data. In
Technique other words, all input data will be used in the compression process.
This enables data that have been decompressed to be the same as the
input data.
SELF-CHECK 4.2
Ć Secondary storage is a storage device that has been designed to store data
and instructions in a permanent form.
Ć The secondary storage has five advantages which are size, reliability,
comfort, economic and lifetime.
Ć There are two types of magnetic storage: magnetic tape and hard disk.
Ć A magnetic tape is a secondary storage medium whereby its data are stored
inside the tape roll.
Ć The hard disk uses a thick and strong metallic plate. It can store and access
data faster and has a higher capacity.
Ć An optical storage device provides an alternative for the need to store a lot of
data. This device uses the principle of light rather than the magnetic principle
of storing data.
Ć There are four types of optical storage, which are CD-ROM, CD-R, CD-RW
and DVD.
Ć The three ways to upgrade the performances of hard disks are racking the
disk, Redundant Arrays of Independent Disks and compressing/
decompressing the files.
Bit Lossless
Compressing/decompressing Lossy
Compact disc-read only memory Magnetic storage
(CD-ROM) Optical storage
Compact disc-recordable (CD-R) Racking the disc
Compact disc-rewriteable (CD-RW) Record
Digital video disk (DVD) Redundant arrays of independent
Field disks (RAID)
File Secondary storage
Hard disk Write once, read many (WORM)