Components of A Computer System
Components of A Computer System
Input Unit
The Central Processing Unit
Output Unit
Input devices are the dev ices which are used to feed programs and data to
the computer. The input system connects the external environment with the computer
system. The input devices are the means of communication between the user and the
computer system. Typical input devices include the keyboard, floppy disks, mouse,
microphone, light pen, joy stick, magnetic tapes etc. The way in which the data is fed
into the computer through each of these devices is different. However, a computer can
accept data only in a specific form. Therefore these input devices transform the data
fed to them, into a form which can be accepted by the computer. These devices are a
means of communication and inter1 station between the user and the computer
systems.
1.9 SUMMARY
The hardware of the computer is the physical parts of the machine like
monitor, keyboard, disks etc. whereas the software is the various programs,
procedures and other documentation which is used to operate the hardware efficiently.
The typical characteristics of the computer are its superfast speed, the
accuracy of each and every calculation, and its consistent efficiency. It has tremendous
storage capacity and can store large volumes of data. It is versatile in the sense that it
can be used in a vast range of applications from complex scientific problems to a
child’s game. A system is a group of integrated elements which are logically related to
achieve the goal of the system each element performs a specific task assigned to it.
Input Unit: which accepts input data The Central Processing Unit: This is made up of
the Control unit, the Arithmetic and Logic Unit and the Primary Storage Unit. This unit
controls the entire computer system.
Output Unit: This unit gives the results of the computation to the user. The evolution or
development of computers is characterized by generations of computers. The first
generation had very large and complex machines which made use of the vacuum
tube technology. Invention of transistors in the second generation reduced the size of the
computers and the concept of stored program emerged, as well as higher level languages
were introduced. The third generation was characterized by Integrated Circuits and
commercial production of computers. The fourth generation saw the invention of
microcomputers with Very Large Scale Integration, Networking and introduction of
personal computers. The fifth or the present generation has seen advances in parallel
processing and superconductor technologies.
1. 12 SUGGESTED READINGS
Computer Fundamentals
Concepts, Systems & Applications – P.K Sinha
REFERENCE
http://www.tutorialspoint.com/
Chapter-2
Input Devices and Output Devices
2. 0 OBJECTIVES
2.1 INTRODUCTION
Those peripheral devices which supply information i.e. data and progr ms from
the outside world to the computer are the input devices. Those peripheral devices
which give information from the computer to the user or store them in secondary
storage devices, like floppy disks or tapes for future use are called output devices.
The processors which are required to convert the input data into machine
readable form and to convert the output generated by the computer into human
readable form are known as input/output (I/O) interfaces. There are two concepts
related to the way in which data is input to the computer:
1. On-line Data Input : Here data is directly transferred to the computer
2. Off-line Data Input : - Here the data is not immediately transferred to the
computer.
2.2.2 Keyboard
The keyboard is one of the most commonly used input device. The computer
keyboard is similar to a typewriter keyboard. The keyboard has keys made up of
letters, numbers, symbols and special function keys.
A display screen or monitor (Cathode Ray Tube) is used to display the data
entered by the operator with the keyboard. This monitor can also display the results of
processing as well as messages generated by the computer. A special symbol, called
a cursor, indicates the position on the screen. There are special keys on the keyboard
which allow the cursor to move in up, down, left and right directions. Other special
keys on the keyboard include keys like Tab, Del, Ctrl, Ins, PgUp, PgDn etc.
2.2.9 Scanner :
Scanner is able to directly enter text and images into the computer memory.
Therefore the duplication work of entering data is eliminated and this also results in
increased accuracy. The speed of data entry also increases. There are two types of
scanners :
1. Optical Scanners
2. Magnetic Ink Character Recognition devices
a) Optical Scanner:
The optical scanner uses a light source and sensor for reading the information on the
paper. It can read characters, pictures, graphics from the paper. The common types
of optical scanners are:
1. The Optical Mark Reader (OMR): This is capable of reading pre specified
marks made by pencils or pens with the help of light. Light is focused on the page
that is to be scanned. The reflected light pattern is detected by the device. These
types of scanners are normally used where the data is preprinted for applications.
eg. answer papers of the objective tests where the answers are marked with pencils or
preprinted forms.
2. Optical Character Reader :The Optical Character Reader (OCR) can read
alphabets, characters and numbers printed on paper. These characters can be either
handwritten or typed. However special fonts are required to be used while typing. In
case of handwritten data, the characters have to be of standard predefined size. The
OCR reads each character as a collection of pixels. The light which is reflected from
the page to be scanned is converted into binary data. OCRs are available in various
sizes and speeds. These devices are expensive and are mainly used in processing
where the data volumes are large.
Fig 2.7 Bar Code Reader
Bar code reader is a device which reads bar coded data. Data which is coded in the
form of light or dark lines (bars) is a bar code. Bar code readers are normally used in
applications like labeling of products in retail shops, super markets etc. A laser beam
scanner is used to read the bar code.
The most commonly used bar code is the Universal Product Code (UPC). In this code
the bars are coded as 10 digits. The first five digits define the manufacturer or supplier,
and the remaining five digits denote the actual product of the manufacturer.
computer.
2.3 OUTPUT DEVICES
The output device allows the compute to communicate with the outside world
by accepting data from the computer and transforming it into user readable
form.
a) Impact Printer
Impact printers are similar to typewriters. They use hammer to strike a character
against an inked ribbon and the impact of the hammer causes the image of the
character to be printed on paper. E.g. Dot matrix printers, line printers, daisy wheel
printers,
Fig. 2.8 A dot matrix printer, a daisy wheel and a daisy wheel
printer
These printers are relatively low in cost and print at speeds of 50-500
characters per second. The programmer can also define the shape of characters for
this printer. Therefore it is possible to print many special characters, characters in
various sizes as well as charts and graphs on such printers. Dot matrix printers are
very commonly used in most computer systems.
2.3.2 Plotter :
A plotter is an output device used in applications where printouts of graphs and
drawings are required. Plotters are of two types :
2) Drum Plotter:
In this plotter the paper on which the output is to be obtained, is placed over a drum.
The drum rotates back and forth to produce motion. The pen is mounted horizontally
across the drum and the horizontal motion of the pen is achieved with the help of the
pen holder. The drum and the holder move simultaneously to produce output. Multi
coloured printing is possible by changing the pens.
The speed of plotters is very slow. Therefore normally the output is first sent to some
secondary storage device like a magnetic tape and then directed to the plotter.
• CRT:
An electron beam is moved across a phosphor coated screen to produce the image.
The CRT can be monochrome or colored. This screen normally has 25 lines and 80
characters.
• Flat Panel Display :
The most common flat panel display is the Liquid Crystal Display (LCD). This does
not have a picture tube. The other type of display is the gas plasma screen.
Dumb Terminal:
This is a combination of a keyboard and monitor which can send or receive data, but
cannot process the data.
Intelligent Terminal: This type of terminal also has an inbuilt microprocessor which
can be programmed by the user. These terminals also have limited processing
capability.
They can communicate with other terminals and processors.
.............................................................................................
W hat is an impact printer? Name one impact printer.
.......................................................................................................................
.......................................................................................................................
2.4 SUMMARY
1. Punched cards - data is first recorded into these cards using standard codes and
then fed to the computer with a card punch machine. Though cheap, their major
drawbacks are that they cannot be reused and require large storage space.
2. Keyboard - is the most commonly used device for on line data entry. It is very
easy to use, inexpensive and allows on-line data editing.
3. Mouse -is a pointing device used along with a keyboard to control cursor
movement, select data etc. Light pen, joystick and track ball are also similar
devices used for cursor control.
4. A digitizer - This converts pictorial data into a digital form which can be directly
entered and stored in a computer.
5. A scanner can directly enter text and images into computer memory using light
source or magnetic ink recognition.
6. A voice recognition system converts the speech of the operator into electrical
signals for data entry.
Output Devices:
The common output devices are :
1) Printer - these are of two types :
Impact printers produce output on paper and use a hammer to strike a character
against a ribbon.
Non impact printers use thermal, chemical, electrostatic and inkjet technologies to
produce output. Some of the commonly used printers are dot matrix, Line printers,
Drum printers, Ink jet printers and laser printers.
2) Plotter: Plotters are mainly use for output of graphs and drawings. The
common plotters are Flat Bed Plotters and Drum Plotters.
3) Video Display Terminals : Some of the popular video output devices are
the monitor, Liquid Crystal Display, and a terminal which is a combination of a
monitor and keyboard together.
Computer Fundamentals
Concepts, Systems & Applications – P.K Sinha
References
http://www.tutorialspoint.com/
Chapter: 3
3.1 OBJECTIVES
This chapter “Primary Storage and Secondary Storage Devices” will enable you to
Explain what is a storage unit and the criteria according to which the
different types of storage are ranked.
Describe various types of storage devices and their storage capacities.
Discuss various concepts related to memory of the computer
3.2 INTRODUCTION
Storage Unit: A storage unit is that part of the computer system which is used to
store the data and instructions to be processed. There are two types of storage:
1) Primary storage
2)Secondary storage.
Primary memory is also known as internal memory. This is a section of the CPU
which holds program instructions, input data and intermediate results. Primary memory
is also known as main memory.
• Access time:
This is the time required to locate and retrieve a particular data from the storage unit. A
fast access to data and programs always yields higher efficiency.
• Storage Capacity:
Storage capacity is the amount of data that can be stored by a storage unit. Large
capacity of data storage is always desirable.
As seen earlier, the smallest unit of data which the computer understands is the bit. A
group of 8 bits forms a byte. The storage capacity of a computer system is defined in
• Cost:
Low cost storage media are always desirable.
Thus, storage units with faster access time, higher storage capacity and low costs are
the ones which are considered to be of a superior nature.
• ROM: ROM is Read Only Memory. In this type of memory the data is permanently
stored. The information can only be read and new data cannot be written onto this
memory. However the contents of the ROM are not lost even when the power is turned
off
i.e. this memory is non-volatile. Such memories are also called as field stores, or
permanent stores.
There are a number of high level functions which are required to be performed
by the computer system. Such functions are performed by writing special programs
called micro programs. Micro programs generally execute the low level machine
functions. These programs are mainly used as a substitute for hardware. Such
programs can be stored on ROMs and be used again and again. This results in
reducing the hardware of the system. ROM helps to increase the
efficiency of the CPU as it can perform specialized tasks. ROM comes in the form of
a chip. Once information is stored on a ROM chip it cannot be changed or altered.
PROM: PROM is Programmable Read Only Memory. These are ROMs which can be
programmed. A special PROM programmer is used to enter the program on the PROM.
Once the chip has been programmed, information on the PROM cannot be altered.
PROM is non volatile ie. data is not lost when power is switched off.
• EPROM : Another type of memory is the Erasable Programmable Read Only
Memory.
It is possible to erase the data which has been previously stored on an EPROM and
write new data onto the chip.
Cache Memory:
This is a very special type of high speed memory. This memory cannot be
accessed by the user. The main function of this cache memory is to make the
programs and data available to the CPU very fast.
Access time of memory is generally very high as compared to the execution
time of the GPU. Therefore a cache, which is a very small but fast memory, is used
between the CPU and the main memory. This memory also called a high speed buffer.
A cache stores those segments of programs and data which are frequently needed. It
makes available this data to the CPU at a very fast rate thus increasing the efficiency.
Registers :
Registers are used to retain information temporarily. These are special memory units
which are not actual parts of the main memory, but allow efficient mov ement of
information between the various units of the computer system. The registers
receive information, hold it temporarily and make it available as and when required.
A computer uses a number of registers, where each register performs a specific
function. Some of the common registers are :
1. Memory Address Register (MAR): The function of this register is to hold the
address of the current or active memory location.
2. Memory Buffer Register (MBR): This register holds the contents of the address
from which data is read or to which data has been written.
3. Program Control Register : It holds the address of the next instruction to
be executed.
Accumulator Register: It holds the initial data, the intermediate results and the final
data of the program under execution.
4. Instruction Register: This register holds the current instruction being executed.
Input/output Register: The function of this register is to communicate with the
Input/output devices.
.............................................................................................................
............................................................................................................
Give the full form of:
a. RAM b.ROM c. PROM d. EPROM
3.4 SECONDARY STORAGE DEVICES
b) Magnetic Tape:
A magnetic tape is a ribbon of Mylar which is coated with a thin layer of iron
oxide material on one side. This tape is stored on a cassette or cartridge, or reel .The
iron oxide material can be magnetized and the data is recorded on the tape in the form
of magnetized and non-magnetized spots. A magnetic tape drive is used to read data
from the tape or write information to the tape. The tape drive has a read/write head to
access or store information respectively.
Magnetic tape is a read write device where the data can be written as well as
erased and new data recorded on the same area. The tape is divided into vertical
columns and horizontal rows. The columns are called frames and the rows are called
tracks. Special computer codes are used for recording data on the tape. One character
is recorded on each frame. Most modern tapes have 9 tracks, and use the EBCDIC
code for data representation. The actual number of characters that can be stored on
an inch of a tape is known as the density of the tape.
The storage capacity of magnetic tapes is very large. This capacity is
measured in terms of bytes per inch. Most common tape densities are 800 bpi, 1600
bpi. Nowadays tapes with much higher densities of the order of 6000 bpi are also
available.
The records in a tape can be of any size. Also all the records in a given file
need not be same in length. Thus the tapes can store fixed length and v variable
length records. In between two consecutive records the computer automatically keeps
a fraction of the tape blank. This blank space is called the Interlock gap, While reading
from the tape, the drive takes a finite amount of time to physically stop when the end of
the record is reached. Therefore this interlock gap is created to avoid loss of any
data of the subsequent record that may have been stored
while the drive mechanism comes to a halt.
Advantages of Magnetic Tapes:
- High data density and virtually unlimited storage
- Low in cost
- Easy to handle and portable from one computer to another.
Limitations are:
- Support only Sequential access
- Tapes are sensitive to dust; humidity and temperature, hence require proper storage
facilities.
In some of the disks the outer tracks contain more data bits since the outer
circumference is greater. However, in most of the disks each track stores the same
number of characters. This means that the inner tracks, with a smaller circumference
are more densely packed than the outer tracks.
Magnetic disk is a random or direct access storage device. The data is read
from or written onto the disk surface with the use of read/write heads. These heads are
of flying type. They do not come in actual contact with the surface of the disk.
There are two types of disk systems:
1) Moving head System:
This consists of one read/write head for each disk surface. This head is mounted on an
access arm which moves in and out. Thus each head moves horizontally across the
surface of the disk and can access each track individually.
2) Fixed head System:
In this system the access arm does not move. A large number of read/write heads one
for each track are distributed over the surface of the disk. In this system the data
access becomes very fast. However, extra space is needed to accommodate all the
heads. The time required to access the data stored on the disk depends upon the
following factors:
•The seek time - the time required for positioning the read/write head over the
appropriate track
•The latency time - the time required to spin the required data under the head. This
time is also called the search time.
b) Floppy Disks :
Floppy disks are made up of flexible Mylar coated with iron oxide. This disk is
enclosed in a square plastic jacket to protect the surface of the disk from dust. A floppy
disk is to be inserted in the floppy disk drive of the computer system to read or write
information. The read/write head of the drive makes a direct contact with the floppy
disk.
Fig 3.4
A floppy disk can be single sided or double sided i.e data can be written on a
Fig. 3.4 Floppy disks: 51/4 inch and 31/2 inch single side or on both the sides. A double
sided disk drive is required to read data from
a double sided disk. This disk drive has two heads, one for each side. A single
sided drive has only one head. Floppy disks can also be single side double density
and double side double density depending upon their storage capacity.
Floppy disks are a very popular storage medium since they are small in size,
relatively cheap and can store data on line. Floppy disks are also very portable. They
can be carried form one place to another very easily.
d) Magnetic Drum: This is a cylinder whose outer surface is coated with a thin
layer of magnetic material. A motor rotates on the cylinder at a constant speed. Data is
recorded on the tracks of the drum as magnetized spots. A set of stationary
read/write heads are positioned slightly away from the surface of the drum. Data is
read from and written onto this drum with the help of these heads. The drum rotates are
relatively fast speeds of the order of a several thousand rotations per minute. Magnetic
drums have faster data transfer rates as compared to disks. However their storage
capacity is limited. Magnetic drums are rarely used today.
3.3.3 Optical Devices
a) Optical Disk: An optical disk is made up of a rotating disk which is coated with a
thin reflective metal. To record data on the optical disk, a laser beam is focused on the
surface of the spinning disk. The laser beam is turned on and off at varying rates! Due
to this, tiny holes (pits) are burnt into the metal coating along the tracks. When data
stored on the optical disk is to be read, a less powerful laser beam is focused on the
disk surface. The storage capacity of these devices is tremendous; the Fig. 3.5 Optical
disk access time is relatively fast. The biggest drawback of the optical disk is that it is
a permanent storage device. data once written cannot be erased. Therefore it is a
read only storage medium. A typical example of the optical disk is the CD-ROM.
Fig 3.5
Optical Card :
The optical card has an optical laser encoded strip which can store
approximately 2 megabytes of data. These cards are the size of a credit card. Optical
cards find use only in specific areas like storing credit records or medical histories of
people.
Optical Tape :
The storage unit is that part of the computer system which stores the data and
instructions. The two types of storage are primary storage and secondary storage. The
characteristics of the storage unit are access time, storage capacity and cost.
Primary storage is an integral part of all computer systems. Primary storage is
also called as Random Access Memory. This memory is volatile. The data stored on
this memory is lost when the power is turned off. There are special types of memories
which come in the form of chips. Micro programs which perform low level machine
functions and which are used as a substitute for hardware are stored on such chips.
Such memories are called field stores or permanent stores or Read Only Memory
(ROM). Data can be permanently stored in this type of memory. Other similar
memories are PROM, EPROM. Cache memory is a special type of high speed
memory. Special memory units are used in computers which are not a part of the main
memory. These units hold data temporarily. These units are called registers, eg.
Memory Address Register, Instruction Register etc.
Secondary storage devices are used to store large amounts of data.
Secondary storage devices are cheaper as compared to primary storage. However
their data access time is less. Secondary storage is non volatile and stored external to
the computer. There are two ways in which data can be accessed from the secondary
devices,: sequential access and random access. Punched paper tape, magnetic tape is
sequential access devices. Punched paper tapes are nowadays rarely being used.
Magnetic tapes can store unlimited data and have a high data density. They are also
lowin cost and portable. But since information can be accessed only sequentially, they
are slow.
Direct access or random access devices allow the access of data from any
storage location randomly, without having to follow the sequence in which it has been
stored. Magnetic disk is made of a thin Mylar platter and coated on both sides by
magnetic material. Data is recorded as magnetic spots on this disk. A number of such
disks are mounted on a disk pack. Each disk is divided into a number of
concentric circles called tracks. All the corresponding tracks in all the surfaces
together are called as a cylinder. These disks are also called hard disks and can be
permanently installed in a disk drive in the computer. Floppy disks are made of
flexible mylar coated with iron oxide. The floppy disks come in various sizes like 8
inch, 5 inch, 3 inch. Floppy disks are relatively cheap and can store data online. They
are also very portable. Winchester disks are permanently enclosed in a sealed
container. A magnetic drum is a cylinder whose outer surface is coated with magnetic
material. The drums have faster data transfer rate as compared to disks. However their
storage capacity is limited.
Optical laser techniques are used to write data onto optical dev ices like
optical disks, optical tapes and optical cards. The storage capacities of these
devices are tremendous. But these are permanent storage devices.
3.6 QUESTIONS FOR SELF - STUDY
1. Discuss what storage units are. What are the types of storage units?
Describe the characteristics of the storage units.
2. Discuss what is volatile and non-volatile memory.
3. Define registers. Write in short about the most commonly used registers in
the computer systems.
4. Explain the methods by which data on a secondary storage device can
be accessed.
5. Describe any two sequential access devices.
6. Describe any two direct access storage devices.
7. What are moving head systems and fixed head systems?
8. Discuss any two types of optical storage devices.
References
http://www.tutorialspoint.com/