Académique Documents
Professionnel Documents
Culture Documents
Chapter No.4
Storage Devices
Main Memory
RAM
Types of RAM
Cache Memory
ROM
Cache
Main
Memory
Disk
Use of ROM
Types of ROM
content of the memory are not lost when the electricity supply is cutoff.
Read Only Memory:- ROM is called Read Only Memory because
CPU can perform only Read operations. New data cannot be written
into ROM.
Random Access Memory:- ROM is called Radom Access Memory
because it takes equal amount of time to access any location in RAM.
Permanent:- ROM is called permanent memory because data and
instructions are stored permanently in it.
1. It is used to store frequently used programs which are not changed for
a long period of time like operating system routines.
2. It is used to store programs which are necessary to start up computer
system.
1. PROM: Its stands for Programmable Read Only Memory.
It is initially blank.
Manufacturer or user can write his own data or programs on it by
using special devices.
Data or program written on it cannot be altered.
It is used for storing data for long period of time.
2. EPROM: Its stands for Erasable Programmable Read Only Memory.
It is initially blank.
Manufacturer or user can write his own data or programs on it by
using special devices and ultraviolet rays.
Data or program written on it can be altered by using special
devices and ultraviolet rays.
It is used for storing data that may be updated. Frequently
changing data is not written on EPROM
3. EEPROM: Its stands for Electrically Erasable Programmable Read Only
Memory.
It is initially blank.
User can write his own data or programs on it by using special
electrical devices.
Data or program written on it can easily be altered by using
special electrical devices.
It is used for storing data that may be updated periodically.
Main memory of computer is connected to the CPU through data bus, address
bus and control bus. We know these buses can be called system bus.
CPU
Memory
System Bus
How does
memory
works?
Memory Units
How data is
organized
within a byte or
word?
Secondary
Memory
LSB
Hard Disk
Main Memory
Secondary Storage
It is expensive.
It is cheap.
Its capacity is small.
Its capacity is large.
It provides fast data access
It provides slow data access.
RAM is an example of main
Hard Disk is an example of main
memory.
memory.
Its contents are stored
Its contents are stored magnetically
electronically.
or optically.
It is directly connected to CPU.
It is not directly connected to CPU.
It is volatile.
It is non-volatile.
Use of Hard Disk:Hard disk are used permanently store large amount of data. Most digital
computers use at least one hard disk drive.
How performance of Hard disk is measured?
Date rate and Seek time is used to measure the performance of hard disk.
1) Data Rate is the number of byte per second delivered to CPU. Data
rates 5 to 40 megabytes per second are common.
2) Seek Time is the time used to move the head of disk to required track
after reading the address.
Hard Disk Controller:- Hard disk controller is responsible read/write data
on hard disk.
How data is Organized?
Sectors:- Tracks are concentric circles. The tracks are further divided
into sectors. Data is stored on the surface of platter in sectors and
tracks.
Tracks:- Tracks are concentric circles. The tracks are further divided
into sectors. Data is stored on the surface of platter in sectors and
tracks. Typically a track is divided into 8 sectors. A track contains a
fixed number of bytes of data i.e. 512 bytes. Tracks on surface are
numbered from 0,1,2,,n.
Cylinder:-All tracks on disk with same track numbers make up a
cylinder.
Data Rate
Seek Time
Hard disk
controller
Low Level
Formatting
High Level
Formatting
Compact Disk
A drive mark the tracks and sectors on the disk during low level formatting.
Usually low level formatting is done by the manufacturer of the disk. This
process writes starting and ending points of each sector on the platter. Level
formatting process prepares the disk to store data.
The information about file-storage is written on disk during high level
formatting. The information is called File Allocation Table(FAT). High
Level formatting process prepares the disk to store data.
Compact Disk (CD) is most commonly used to store data. CD is usually
called CD-ROM(Compact Disk Read Only Memory). It can store more than
700 MB of data.
Structure of CD:Diameters of these disks is 5 inches. It consists of reflective material with a
Magnetic
Tape/Tape
Storage
error in the data stored on tape. If the last bit is set to 1 or 0 so that total
number of 1s in the frame is even. This method of detecting error is called
even parity. Similarly we can define odd parity.
Tracks
Inter block gap
Frame
1
..
2
..
3
..
4
..
5
..
6
..
7
..
8
..
P
..
Movement of tape
Parity bit