Unit III RAM-ROM-CACHE-HDD-FLOPPY-CD
Unit III RAM-ROM-CACHE-HDD-FLOPPY-CD
Cache Memory
Primary Memory/Main Memory
Secondary Memory
Cache Memory
Cache memory is a very high-speed semiconductor memory which can speed up the CPU. It
acts as a buffer between the CPU and the main memory. It is used to hold those parts of data
and program which are most frequently used by the CPU. The parts of data and programs are
transferred from the disk to cache memory by the operating system, from where the CPU can
access them.
Advantages
Disadvantages
Primary memory holds only those data and instructions on which the computer is currently
working. It has a limited capacity and data is lost when power is switched off. It is generally
made up of semiconductor device. These memories are not as fast as registers. The data and
instruction required to be processed resides in the main memory. It is divided into two
subcategories RAM and ROM.
PROM : Short for programmable read-only memory, a memory chip on which data can be
written only once. Once a program has been written onto a PROM, it remains there forever.
Unlike RAM, PROMs retain their contents when the computer is turned off. The difference
between a PROM and a ROM (read-only memory) is that a PROM is manufactured as blank
memory, whereas a ROM is programmed during the manufacturing process. To write data
onto a PROM chip, you need a special device called a PROM programmer or PROM burner.
The process of programming a PROM is sometimes called burning the PROM.
EPROM : Acronym for erasable programmable read-only memory, and pronounced ee-prom,
EPROM is a special type of memory that retains its contents until it is exposed to ultraviolet
light. The ultraviolet light clears its contents, making it possible to reprogram the memory. To
write to and erase an EPROM, you need a special device called a PROM programmer or
PROM burner.
Secondary Memory
This type of memory is also known as external memory or non-volatile. It is slower than the
main memory. These are used for storing data/information permanently. CPU directly does
not access these memories, instead they are accessed via input-output routines. The contents
of secondary memories are first transferred to the main memory, and then the CPU can access
it. For example, disk, CD-ROM, DVD, etc.
Characteristics of Secondary Memory
HARD DISK
Logical & Physical Structure of a Hard Disk
A hard disk contains a stack of platters, circular metal disks that are mounted inside the hard
disk drive and coated with magnetic material, sealed in a metal case or unit. Fixed in a
horizontal or vertical position, the hard disk has electromagnetic read or write heads above and
below the platters. The surface of the disk consists of a number of concentric rings called as
tracks; each of these tracks has smaller partitions called disk blocks. The size of each disk block
is 512 bytes (0.5 KB). The track numbering starts with zero. When the platter rotates, the heads
record data in tracks. A 3.5-inch hard disk can contain about thousand tracks.
The spindle holds the platters in a fixed position such that it is feasible for the read/write arms
to get the data on the disks. These platters rotate at a constant speed while the drive head,
positioned close to the center of the disk, reads the data slowly from the surface of the disk
compared to the outer edges of the disk. To maintain integrity of data, the head is reading at a
particular period of time from any drive head position. The tracks at the outer edges of the disk
have less densely populated sectors compared to the tracks close to the center of the disk.
The disk fills the space based on a standard plan. One side of the first platter contains space,
reserved for hardware track-positioning information which is not available to the operating
system. The disk controller uses the track-positioning information to place the drive heads in
the correct sector position.
The hard disk records the data using the zoned bit recording technique, also known as multiple
zone recording. This method combines the areas on the hard disk together as zones, depending
on the distance from the center of the disk. A zone contains a certain number of sectors per
track.
Calculation of data density of disk drives is done in the following terms:
A floppy disk is a type of storage media that reads data storage information, also known as a
floppy diskette, floppy, or floppy disk that is used to store electronic data, like a computer
file. It was extremely expensive as it was one of the first types of hardware storage created in
1967 by IBM, which could read/write a portable device.
As the technology advanced, a floppy disk that is becoming smaller and came in three sizes, 8
inches, 5.5 inches, and 3.5 inches. As compared to previous models of floppy, the newer
version can store more data than used more cutting-edge technology.
Another version of the floppy disk, 5.25 inch, was capable of holding 360KB of data and was
introduced in 1978. Later, up to 1.2MB could be store by revisions of the 5.25-inch floppy disk.
Early desktop PCs like the Apple IIIc, were used these disk drives. The 3.5-inch HD (high
density) floppy disk was able to store 1.44MB and was introduced in 1987. As compared to
5.25-inch disks, these versions were more portable and also more durable. For backing up
personal data and distributing commercial software titles, the 3.5-inch floppy disk became the
standard for the next decade.
Over time, floppy disks were capable of reading and write data. At that point, it contained four
basic components:
Now many people use recordable CDs or USB flash drives to back up their data, and most
software is distributed on CDs and DVDs. Finally, floppy disks have become a good thing of
the past for storing data. As it was the data storage medium and many people grew up with
that; hence, the floppy disk still has an important role in the veteran computer users. In modern
times, as ZIP drives, CDs and USB are har drives have been introduced.
5 ¼ -Inch Drive
During the 1980s, a 5 ¼-inch floppy disk drive was produced that was widely in use on PCs.
In the early 1990s, 5 ¼-inch floppy disk drives were also included on computers that could
have the ability to store data between 360 kilobytes and 1.2 megabytes. Some 5 ½-floppy disks
were able to write data to both sides of the disk and also allowed to modify data. After that,
manufacturers of floppy disks began to develop double-sided drives.
3 ½ -Inch Drive
Another type of floppy disk, 3 ½-inch floppy drive that is encased in plastic, which can hold
1.44 megabytes on a high-density disk and 730 kilobytes on a double- density disk. In older
times of the computer, multiple disks had to use to install the program, such as Windows 3.0.
CD ROM
Short for Compact Disc Read-Only Memory, a CD-ROM is an optical disc containing audio
or software data whose memory is read-only. A CD-ROM Drive or optical drive is the device
used to read them. CD-ROM drives have speeds ranging from 1x to 72x, meaning it reads the
CD roughly 72 times faster than the 1x version. As you would imagine, these drives are capable
of playing audio CDs and reading data CDs, including CD-R and CD-RW discs.
Note: A CD-ROM drive cannot read a DVD, including movie DVDs and data DVDs. The
DVD format is different than a CD, and a CD-ROM drive is not designed to read the format of
a DVD. A DVD-ROM drive is required to read a DVD.
Below is a picture of the front and back of a standard IDE CD-RW disc drive from Memorex.
A CD-ROM drive can be opened by pressing the tray eject button on the front of the drive
(pictured right). To close the CD-ROM drive, press the tray or the eject button again.
Below are the different interfaces that allow a CD-ROM and other disc drives to
connect to a computer.
IDE/ATA - One of the most commonly used interfaces for disc drives.
Panasonic - Older proprietary interface.
Parallel - Interface used with old external CD-ROM drives.
PCMCIA (PC Card) - Interface sometimes used to connect external disc drives
to laptop computers.
SATA - Replacing IDE as the new standard to connect disc drives.
SCSI - Another common interface used with disk and disc drives.
USB - Interface most commonly used to connect external disc drives.