Unit 1.6 Secondary Memory
Unit 1.6 Secondary Memory
Definition and Characteristics of Computer System, Computer Generation from First Generation to Fifth
Generation. Classifications of Computers: Micro, Mini, Mainframe and super computers.
Computer Hardware: Major Components of a digital computer, Block Diagram of a computer, Input-
output devices, Description of Computer Input Units, Output Units, CPU.
Computer Memory: Memory Hierarchy, Primary Memory - RAM and its types, ROM and its types,
Secondary Memory, Cache Memory, Secondary Storage Devices- Hard disk, Compact Disk, DVD, Flash
memory.
Secondary Memory (Auxiliary Memory )
3
The need of secondary memory arises due to the basic 2 reasons of Primary memory i.e.
2. Volatile in nature i.e., data stored in it is lost when the power is turned off or due to any kind of failure.
Secondary memory which is also known as Auxiliary memory is used to overcome the limitations of
primary memory.
❖ It has virtually unlimited capacity because the cost per bit of storage is very low
❖ It has an operating speed far slower than that of the primary storage
❖ It is non-volatile memory
Example are stored disk, magnetic tapes, floppy devices, CD ROM etc.
Access Mechanism
4
(Access means read/write of data)
The accessing of data/information will be in Any location in storage can be accessed at any
serial order, one after another, starting from time in approximately the same amount of time.
the beginning
Well suited for Primary & Secondary storage.
Example: Magnetic tape.
Example: Magnetic disk, Optical disk, Primary
memory.
Classification of commonly used Secondary Storage Devices
5
Direct/Random Access Storage Device
MAGNETIC DISKS, OPTICAL DISKS, MEMORY STORAGE
DEVICES
I. Magnetic Disks
7
• Commonly used direct-access secondary storage device.
• Data are recorded on the disk in the form of tiny invisible magnetized and
non-magnetized spots (representing 1s and 0s) on the coated surfaces of
the disk
The disk drive consists of a read/write head that is attached with disk arm.
During reading/writing the motor of the drive rotates at very high speed.
12
Features of Magnetic Disk
13
• It is a cheap storage device
Storage capacity =
no. of recording surfaces X no. of tracks/surface X no. of sectors/track X no. of
bytes/sector
14 Question
A disk pack has 10 disk platters/plates, 2655 tracks per plate, 125 sectors
per track and 512 bytes per sector. What will be the capacity of the disk in
terms of Bytes and Giga byte (billion of characters)?
Storage capacity =
no. of recording surfaces X no. of tracks/surface X no. of sectors/track X no. of
bytes/sector
15
Access Time
16
Accessing data on the disk requires the following:
The read/write head is positioned to the desired track where the data is to be read
from or written to. The time taken to move the read/write head to the desired track is
called the seek time.
Once the read/write head is at the right track, then the head waits for right sector to
come under it (disk is moving at high speed). The time taken for desired sector of the
track to come under read/write head is called the latency time.
Once the read/write head is positioned at the right track and sector, the data has to be
written to disk or read from disk. The rate at which data is written to disk or read from
disk is called data transfer rate.
The sum of seek time, latency time and time for data transfer is the access time of
the disk
• It is a flat, round, single disk coated with magnetic oxide which is encased in a square plastic cover for
protection to the disk surface.
• FDD (Floppy Disk Drive) is the drive for floppy disk to read & write data to/from FD.
• Storage Capacity of 3.5” = 400 KB to 1.44 MB usually contains 40 tracks and 18 sectors/track and can store
512 bytes/sector.
• Storage Capacity of 5.25”= 360 KB to 1.2 MB
Types of Magnetic Disk
22
2. Hard Disk (HD):
• Hard disks are primary on-line secondary storage device for most computer system today. They are made up of rigid metal
(aluminum metal) platters and come in many sizes ranging from 1 to 14 inch diameter.
• It consists of one or more platters divided into tracks & sectors, which is mounted a central shaft like a stack.
• Disk drives have separate read/write head for each usable disk surface
• Hard disk can spin at the speed of up to 10,000 revolutions per minute and have an access time of 9-14 ms.
• It stores 512 bytes per sector but the number of sectors are more per track (54 or more) than floppy disk.
23 Types of Hard disks
Depending on how they are packaged, hard disks are of three types:
❑ Zip/Bernoulli disks
❑ Disk packs
❑ Winchester disks
24 1. Zip/Bernoulli disks
It consists of a single hard disk platter encased in a plastic cartridge
Hard disk platters and the disk drive are sealed together in a
contamination-free container and cannot be separated from each other
27
28
29
30 II. Optical Disk
• It consists of a circular disk, which is coated with reflective plastic material that can be altered
by laser light.
• Laser beam technology is used for recording/reading data on the disk Fig: Track Pattern in
• It is a Random Access Storage device for high capacity secondary storage because it can Optical Disk
contain extremely large amount of data.
• It has one long spiral track, which starts at the outer edge & spirals inward to the center.
• The track is divided into equal sized sector.
• The access time of an Optical disk ranges from 100 to 200 ms.
• CD-ROM is the most common type of Optical Disk.
The most popular optical disk uses a disk of 5.25 inch diameter has 3,30,000 sectors each of 2352
bytes, making its storage capacity
3,30,000 X 2352 = 776 X 106 Bytes = 776 Mega Bytes (MB).
This is unformatted capacity. Formatted capacity is of around 650 Megabytes.
31 Figure: Sectors and track in magnetic disk and optical disk
32 Advantages of Optical Disk
• The cost-per-bit of storage for optical disks is very low because of their low cost
and enormous storage density.
• The use of a single spiral track makes optical disks an ideal storage medium for
reading large blocks of sequential data, such as music.
• Optical disk drives do not have any mechanical read/write heads to rub against
or crash into the disk surface. This makes optical disks a more reliable storage
medium than magnetic tapes or magnetic disks.
• Optical disks have a data storage life in excess of 30 years.
• This makes them a better storage medium for data archiving as compared to
magnetic tapes or magnetic disks.
• Due to their compact size and light weight, optical disks are easy to handle,
store, and port from one place to another
33
Limitations of Optical Disk
• Data once recorded, cannot be erased and hence the optical disks
cannot be reused
• The data access speed for optical disks is slower than magnetic disks
35
• Stands for Compact-Disk Read Only Memory.
• It is an optical disk that can only be read and not written on.
Fig: DVD
III. MEMORY STORAGE DEVICES
39
1) Magnetic tape is divided horizontally into (7 or 9) tracks and vertically into frames.
2) A frame stores one byte of data and a track in a frame stores one bit.
3) Data is stored in successive frames as a string with one data (byte) per frame.
Magnetic Tape
(A Sequential Access Storage Device)
44
Working of Magnetic tape contd..
4) Data is recorded on tape in the form of blocks, where a block consists of a group of data also called as records.
Each block is read continually. There is an Inter-Record Gap(IRG) between two blocks that provides time for the
tape to be stopped and started between records.
Where Data Recording Density is the amount of data that can be stored on a given length of tape. It is measured in
bytes/inch (BPI)
45 Magnetic Tape – Data Transfer Rate