C Program
C Program
A magnetic disc is a Mylar or mettalic platter on which electronic data are stored.Unlike magnetic
tapes, the data on magnetic disks can also be read randomly. The data are recorded as tiny invisible
magnetic spots. Read/write heads are tiny electromagnets that can read,write or erase the polarized
spots that represent data on magnetic media. These heads are fastened to an arm in a disk storage
device so; that they can be moved quickly and directly to any disk location to store or retrieve data.
The access time for data stored on a magnetic disk is determined by two factors:
1. The seek-time, i.e., the time required for positioning read/write head over the proper track.
2. The search(latency) time, i.e., the time required for spinning the required data under the
head.
Once the data have been accessed, they are copied from the disk to the processor for processing.
The transfer rate depends on the density of the stored data and the rotational speed of the disk.
Data is represented on a disk using a 9-bit code similar to the EBCDIC code discussed for tapes.
Each byte or character is represented longitudinally along a disk track by a 9-bit configuration.
Magnetic disks come in various sizes. They can be portable or permanently mounted in their stc
devices, disk drives. They can be made of rigid metal(Hard Disks) or flexible plastic(Floppy Diskettes).
They can be divided into two broad categories:
Optical Disks
The optical storage device that most of us are familiar with is the compact disc(CD). A CD can
storage a huge amounts of digital information(783 MB) on a very small surface that is incredibly
inexpensive to manufacture. The design that makes this possible is a simple one: The CD surface is a
mirror covered with billions of tiny holes that are arranged in a long, tightly wound spiral. The CD
player reads the holes with a laser beam and interprets the information as bits of data.