Revision Notes - 17 Data storage
Revision Notes - 17 Data storage
Science
Data storage
teachcomputerscience.co
m
1
.
Revision notes
teachcomputerscience.co
m
Introduction
Random access memory and read-only memory were explained
in detail in the previous topic. We learnt how CPU access RAM
for programs and data that are currently in use. The contents of
RAM are lost when power is switched off. ROM is used for
storing a pre-programmed set of instructions such as boot
process. The contents of ROM remained intact even when power
is switched off. The user now needs a storage device to store
media and other files that require large space. This problem is
solved by storage devices that work based on magnetic, optical
and solid-state principles. In this article, these storage devices
are explained in detail.
teachcomputerscience.co
m
Figure 1: Parts of a hard
disk
The access time of a hard disk drive is high compared to RAM.
This is due to a large number of head movements. Latency is
defined as the time taken for a specific block of data to rotate
around to the read-write head. The effect of latency becomes
significant when a user receives messages such as ‘not
responding’ and ‘please wait’.
Solid-state drives
The latency is reduced in SSD compared to HDD as the data is
no read/write head that needs to be moved. Data is stored and
retrieved using the electronic properties in NAND chips. In the
previous article, we discussed flash memory. This type of
memory is used in USB devices to transfer information from one
device to another. This is a type of solid-state device. Solid-state
drives are a larger version of flash memory.
Digital data is stored in millions of transistors within the chip.
SSD is a non-volatile rewritable memory. These are used in
portable devices such as tablets and mobile phones.
teachcomputerscience.co
m
Hard disk drives Solid state drives
teachcomputerscience.co
m
Optical Storage Systems
CD, DVD and Blu-ray discs use optics to store data. The surface
of CDs and DVDs are made of light-sensitive organic dyes or
metal alloys. Data is read and written using laser light. DVDs
(4.7GB) can store large amounts of data compared to CDs (800
MB). Blu-ray discs use blue laser light and can hold up to 50 GB.
These optical storage systems are used to store music, movies
and games.
The layers of CD-RW are shown in the figure below. The clear
plastic layer on the surface allows the laser light to pass through
it. The colour changes in the dye layer when light falls on it. This
change in colour is reflected and is detected by the computer
while the data is read.
teachcomputerscience.co
m
Calculating the required
capacity
A user has to consider the size, number and types of files while
deciding the storage device. A text file occupies only a few
kilobytes of space but a video occupies up to several gigabytes.
Some examples of file sizes are given in the table below.
Photograph (postcard-size) 6 MB
DVD film 4 GB
teachcomputerscience.co
m
File File size
8 photographs 48 MB
The total space required is 547.8 MB and this would fit into a CD.
This could also be transferred from one device to another using a
flash drive.
teachcomputerscience.co
m
2
.
Activities
teachcomputerscience.co
m
Activity-1
Duration: 10 minutes
5 minutes of music
8 minutes of video
12 photographs
teachcomputerscience.co
m
Activity-2
Duration: 15 minutes
Flash drive
CD-ROM
(CD-Read only)
DVD-ROM
CD-RW
Blu-ray disc
teachcomputerscience.co
m
3
.
End of topic
questions
teachcomputerscience.co
m
End of topic questions
1. Why do computers need storage devices apart from primary
memory and ROM?
2. What is the principle behind the functioning of hard disk
drives?
3. What are solid state drives? What are its advantages over
hard disk drives?
4. What are the different discs available to a user in optical
storage systems? What is the memory available within each
type?
5. How is data read from a CD-RW?
6. Why do people use flash drives for basic file transfers rather
than a CD?
7. What are the various parameters considered when choosing
a storage device?
8. How is accessing memory in DVDs different from videotapes?
teachcomputerscience.co
m