Computer Notes
Computer Notes
INTRODUCTION TO COMPUTERS.
Definition of a Computer:
A Computer is an electronic device that operates (works) under the control of programs
stored in its own memory unit.
A computer is an electronic machine that processes raw data to give information as output.
An electronic device that accepts data as input, and transforms it under the influence of a set
of special instructions called Programs, to produce the desired output (referred to as
Information).
A computer automatically accepts data & instructions as input from an Input device, stores them
temporarily in its memory, then processes that data according to the instructions given, and
finally transfers the processed data (Information) to an Output device.
Explanations;
A computer is described as an electronic device because; it is made up of electronic
components and uses electric energy (such as electricity) to operate.
A computer has an internal memory, which stores data & instructions temporarily awaiting
processing, and even holds the intermediate result (information) before it is communicated to
the recipients through the Output devices.
It works on the data using the instructions issued, means that, the computer cannot do any
useful job on its own. It can only work as per the set of instructions issued.
A computer will accept data in one form and produce it in another form. The data is normally
held within the computer as it is being processed.
Program:
A computer Program is a set of related instructions written in the language of the computer
& is used to make the computer perform a specific task (or, to direct the computer on what to
do).
A set of related instructions which specify how the data is to be processed.
A set of instructions used to guide a computer through a process.
Data:
Data is a collection of raw facts, figures or instructions that do not have much meaning to the
user.
Data may be in form of numbers, alphabets/letters or symbols, and can be processed to
produce information.
TYPES OF DATA.
There are two types/forms of data:
a). Digital (discrete) data:
Digital data is discrete in nature. It must be represented in form of numbers, alphabets or
symbols for it to be processed by a computer.
- Digital data is obtained by counting. E.g. 1, 2, 3 …
b). Analogue (continuous) data:
Analogue data is continuous in nature. It must be represented in physical nature in order to
be processed by the computer.
Analogue data is obtained by measurement. E.g. Pressure, Temperature, Humidity,
Lengths or currents, etc
The output is in form of smooth graphs from which the data can be read.
1
Computer Hardware
Data Processing:
It is the process of collecting all items of data together & converting them into information.
Processing refers to the way the data is manipulated (or handled) to turn it into information.
The processing may involve calculation, comparison or any other logic to produce the required
result. The processing of the data usually results in some meaningful information being
produced.
Information:
Information is the data which has been refined, summarized & manipulated in the way you want
it, or into a more meaningful form for decision-making.
The information must be accurate, timely, complete and relevant.
Comparison between Data and Information.
Data Information
1. Unprocessed (raw) facts or figures. 1. It is the end-product of data processing
(processed data)
2. Not arranged. 2. Arranged into a meaningful format.
3. Does not have much meaning to the user. 3. More meaningful to the user.
4. Cannot be used for decision-making. 4. Can be used to make decisions.
2. Accuracy:
Unlike human beings, computers are very accurate, i.e., they never make mistakes.
A computer can work for very long periods without going wrong. However, when an error
occurs the computer has a number of in-built, self-checking features in their electronic
components that can detect & correct such errors.
Usually errors are committed by the users entering the data to the computer, thus the saying
Garbage in Garbage Out (GIGO).
This means that, if you enter incorrect data into the computer and have it processed, the
computer will give you misleading information.
3. Reliability.
The computer can be relied upon to produce the correct answer if it is given the correct
instructions & supplied with the correct data.
Therefore, if you want to add two numbers, but by mistake, give the computer a “Multiply”
instruction, the computer will not know that you intended to “ADD”; it will multiply the
numbers supplied.
2
Computer Hardware
4. Consistency:
Computers are usually consistent. This means that, given the same data & the same
instructions, they will produce the same answer every time that particular process is repeated.
5. Storage:
A computer is capable of storing large amounts of data or instructions in a very small
space.
A computer can store data & instructions for later use, and it can produce/ retrieve this data
when required so that the user can make use of it.
Data stored in a computer can be protected from unauthorized individuals through the use
of passwords.
6. Diligence:
Unlike human beings, a computer can work continuously without getting tired or bored.
Even if it has to do a million calculations, it will do the last one with the same speed and
accuracy as the first one.
7. Automation:
A computer is an automatic device. This is because, once given the instructions, it is guided
by these instructions and can carry on its job automatically until it is complete.
It can also perform a variety of jobs as long as there is a well-defined procedure.
8. Versatile:
A computer can be used in different places to perform a large number of different jobs
depending on the instructions fed to it.
9. Imposition of a formal approach to working methods:
Because a computer can only work with a strict set of instructions, it identifies and imposes
rigid rules for dealing with the data it is given to process.
Review Questions.
1. What is a Computer?
2. Why is a computer referred to as an electronic device?
3. Define the following terms as used in computer science.
a). Data.
b). Programs.
c). Data processing.
d). Information.
4. (a) Briefly explain the two forms of data.
(b) Give THREE differences between Data and Information.
5. The speed of a computer is measured in ___________.
6. What does the term GIGO stands for?
7. List and explain 4 salient features/ properties of a computer.
8. List FIVE advantages of a computerized system over a manual system.
3
Computer Hardware
PARTS OF A COMPUTER.
A computer is made up of a collection of different components that are interconnected together
in order to work as a single entity.
A Computer consists of the following parts/devices: -
1. The System Unit.
2. Input devices.
3. Output devices.
4. Storage devices.
System Unit.
This is the casing (unit) that houses electronic components such as the ‘brain’ of the computer
called the Central processing Unit (CPU) and storage devices.
The components in the System unit include: -
Central Processing Unit (CPU), which is also referred to as Processor.
Motherboard.
Power supply unit.
Memory storage devices.
Disk drives, which are used to store, record and read data.
Types of System units
There are two makes of System units:
a) Tower style system unit
This system unit is made to stand alone. They are designed to be placed on the floor.
Tower style units have more space for expansion than the typical desktop units.
b) Desktop system units
Desktop units lie on the desk with the monitor resting on top of the system unit.
Input devices.
These are the devices used to enter/put data into the computer.
• They accept data for processing & convert it into a suitable form that the computer can
understand.
Examples: Keyboard, Mouse, Joysticks, Light pen, Scanner, etc.
The Keyboard
The keyboard looks like a typewriter, and has letters, numbers and other keys through which data
is entered into the computer.
To enter data & instructions into the computer, the user should press the required keys.
The Mouse
It is a pointing device that enables the user to issue instructions to the computer by controlling a
special mouse pointer displayed on the screen.
Output devices.
Output devices are used to give the end results of data that was entered into the computer.
They extract/ disseminate processed data (information) from the computer.
They accept data from processing devices & convert it into human sensible form.
Examples: Screens (Monitors), Printers, Graph plotters, Speakers, etc
The Monitor
It is a television like screen used for displaying output. When you type a letter or number on the
keyboard, it shows up on the monitor.
Note. The monitor enables the user to monitor/track or see what is going on in the computer.
Printer
Printers are used to create permanent copies of output on paper.
Computer peripherals.
A computer is basically made up of a system unit and other devices connected to the system unit
called Peripheral devices.
Peripheral devices are the elements (components) connected to the system unit so as to assist the
computer satisfy its users.
Peripheral devices are connected to the System unit using special cables called data interface
cables that carry data, programs & information to and from the processor. The cables are
connected to the system unit using connectors called Ports.
Examples of peripheral devices include;
Monitor, - Keyboard,
- Mouse
Printer. - Modem.
- Speakers.
Plotter.
5
Computer Hardware
Review Questions.
1. List down the components that make up a computer.
2. Clearly draw and label the main physical parts of a simple computer system.
3. What are computer peripherals?
4. (a). Name and explain the two main divisions of computer storage.
(b). Give two common examples of secondary storage devices.
5. Name two output devices.
6. (a). Explain the term System unit.
(b). Name some of the components found in the System unit.
(c). Give three features of a computer’s System Unit.
7. Why is the screen also called a Monitor?
8. What is a Mouse in relation to computing?
DEVELOPMENT OF COMPUTERS.
HISTORY OF COMPUTING.
Before 1900, most data processing was done manually using simple tools like stones & sticks to
count and keep records.
Around 2000 years ago, Asian merchants came up with a special calculating tool called Abacus
that could be used to calculate large figures.
An Abacus is made up of a rectangular frame and a crossbar at the middle. It is fitted with wires
or strings running across from the frame to the crossbar.
How to represent a number using an Abacus.
Each bead in the lower row has a value of 1, while each bead in the upper row has a value of 5.
To represent a number, the bead is moved to the crossbar. Those beads away from the crossbar
represent zeros.
The Figure below represents the number 6908 (Six thousand nine hundred and eight).
After Abacus, the first machine that is usually regarded as the forerunner of modern computers
was named the Analytical Engine, and was developed by an English mathematician called
Charles Babbage.
In 1939, Professor Howard Aken of Horrard University designed the first computer-like machine
named Mark 1. Since then, a series of advancements in electronics has occurred. With each
breakthrough, the computers based on the older form of electronics have been replaced by a new
“generation” of computers based on the newer form of electronics.
6
Computer Hardware
COMPUTER GENERATIONS.
A Computer generation is a grouped summary of the gradual developments in the computer
technology. The historical events are not considered in terms of individual years, but are
classified in durations (a period of more than a year).
Vacuum tube
The tubes consumed a lot power, and generated a lot of heat during processing due to
overheating.
The computers constantly broke down due to the excessive heat generated, hence were short-
lived, and were not very reliable.
They also used Magnetic drum memories.
Cards were used to enter data into the computers.
Their internal memory capacity was limited. The maximum memory size was approx. 2 KB
(2,000 bytes).
The computers used big physical devices in their circuitry; hence they were very large in size, i.e.
the computer could occupy several office blocks. For example, ENIAC occupied an area of
about 150m2 - the size of an average 3-bedroom house.
They were very slow - their speed was measured in Milliseconds. E.g., ENIAC (the earliest
electronic computer) could perform 5,000 additions per second & 300 multiplications per second.
The computers were very costly - they costed millions of dollars.
Examples of 1ST Generation computers:
ENIAC (Electronic Numerical Integrator And Calculator) built in 1946 for use in World War
II. It contained 18,000 Vacuum tubes.
EDVAC (Electronic Discrete Variable Automatic Computer) developed in 1945 by Dr. John
Von Neumann. It was the first computer that used instructions stored in memory.
UNIVAC (UNIVersal Automatic Computer).
IBM 650.
LEO (Lyon’s Electronic Office).
Transistor
The computers consumed less power, produced less heat, were much faster, and more reliable
than those made with vacuum tubes.
7
Computer Hardware
They used Magnetic core memories.
RAM Memory size expanded to 32 KB.
Their operation speed increased to between 200,000 – 300,000 instructions per second. Their
speeds were measured in Microseconds. E.g., a computer could perform 1 million additions per
second, which was comparatively higher than that of the 1st generation computers.
The computers were smaller in size & therefore, occupied less space compared to the 1st G
computers.
They were less costly than the 1st G computers.
Examples of 2nd Generation computers:
NCR 501, IBM 300, IBM 1401, IBM 7070, IBM 7094 Series & CDC-6600 Mainframe
computers.
ATLAS LEO Mark III.
UNIVAC 1107.
HONEYWELL 200.
Integrated circuit
The processing speed increased to 5 Million instructions per second (5 MIPS).
The storage capacity of the computers (i.e., the RAM memory sizes) expanded to 2 MB.
They were smaller in size compared to 2nd generation computers.
The computers used a wide range of peripheral devices.
The computers could support more than user at the same time. They were also able to support
remote communication facilities.
Magnetic disks were developed for storage purposes.
The 1st microcomputer was produced during this period (1974).
Examples of 3rd Generation computers:
IBM 360, 370;
ICL 1900 Series;
8-bit Microcomputers & PDP-11 Mainframe computers.
8
Computer Hardware
Very Large integrated circuit
The computers were small, and very fast. Their processing speeds increased to 50 Million
instructions per second.
Had large storage capacity, i.e., their memory sizes expanded to several hundred Megabytes.
Memories used included Magnetic disks, Bubble memories & Optical disks.
Examples of 4th Generation computers:
IBM 308 and 4300;
Amdahl 580
Honeywell DPS-88
Burroughs 7700, and the 16-bit & 32-bit microcomputers. The first microcomputer was
called Apple II.
Review Questions.
1. Briefly describe the history of computers.
2. (a). What do you mean by computer generations?
(b). Describe the FIVE generations of computers in terms of technology used and give an
example of a computer developed in each generation.
(c). Compare computer memory sizes during the Five computer generation periods.
3. What was the most remarkable discovery during the second computer generation?
4. (a). Technology is the basis of computer classification. Based on this, explain briefly the
difference between the first three computer generations.
(b). What is so peculiar in the fourth and fifth generation of computers?
5. Match the following generations of computers with the technology used to develop them.
Generation Technology
First generation A). Very Large Integrated Circuit
Second generation B). Thermionic valves (Vacuum tubes)
Third generation C). Transistors
Fourth generation D). Integrated Circuits
10
Computer Hardware
CLASSIFICATION OF COMPUTERS
Computers can be classified according to the following factors:
1. Physical size & processing power.
2. Purpose for which they are designed.
3. Functionality (Method/ mode of operation).
Supercomputers.
Supercomputers are the fastest, largest, most expensive & also the most powerful computers
available.
They are very fast in processing. They can perform many complex calculations in a fraction
of a second.
Most Supercomputers use multiple processors. In this case, a single task is split among the
processors for faster execution. However, all the processors are controlled by a single central
processor.
Supercomputers generate a lot of heat, & therefore require special cooling systems.
Sometimes, the whole CPU is deeped in a tank containing liquid Fluorocarbon to provide
cooling.
Supercomputers are very large & heavy, and are usually kept under special environmental
conditions (i.e., in a special room).
They are operated by computer specialists. A Supercomputer can be operated by over 500
users at the same time.
Areas where supercomputers are used:
Supercomputers are mainly used for complex scientific applications that involve many
calculations & require a lot of computational power. Some of the applications that use
supercomputers include;
Weather forecasting.
Petroleum research.
Defence and weapon analysis.
Aerodynamic design and simulation.
Note. These tasks use large amounts of data, which need to be manipulated within a very
short time.
Examples of Supercomputers:
CRAY T3D, NEC-500.
Mainframe computers.
Mainframes are less powerful & less expensive than supercomputers.
They are big in size but smaller compared to Supercomputers.
Are powerful computers with very high capacities of Main storage. They also have a large
backing storage capacity.
11
Computer Hardware
Have a very high processing speed, i.e., can process large amounts of data very quickly.
They can support a large number of peripherals of different types (can support between 5–
300 terminals).
They can handle hundreds of users at the same time, e.g., they can be operated by 200 users
at a time.
Mainframe computers are general-purpose, and can handle all kinds of problems whether
scientific or commercial.
Areas where mainframe computers are used:
Mainframe computers are mostly found in government departments, big organizations and
companies which have large information processing needs, e.g., they are used;
In Banks & Hospitals for preparing bills, Payrolls, etc.
In communication networks such as the Internet where they act as Servers.
By Airline reservation systems where information of all the flights is stored.
Examples of Mainframes:
IBM 4381.
ICL 39 Series.
CDC Cyber series.
Minicomputers.
A Minicomputer is physically smaller than a mainframe. However, it can support the same
peripheral devices supported by a mainframe.
A Minicomputer can support several users at a time, e.g., can be operated by 6 users at a
time. Several workstations/ terminals are connected to one central minicomputer so that the
users connected can share its resources (C.P.U time, storage, etc).
Minicomputers are easier to manufacture & maintain compared to mainframes.
Minicomputers are cheaper than the mainframes, but more costly than the microcomputers.
They handle small amounts of data, are less powerful, & have less memory than the
mainframes.
Minicomputers are slow compared to mainframe computers.
Microcomputers.
Microcomputers are the PCs mostly found today in homes, schools & many small offices.
They are called Personal Computers (PCs) because they are designed to be used by one
person at a time.
They consist of very few connected units, i.e. can support very few peripheral devices
(usually 1 or 2).
The data processing in microcomputers is done by a Microprocessor (a single chip
containing the Arithmetic Logic unit & Control unit).
12
Computer Hardware
Microcomputers are smaller in size & also cheaper than minicomputers. Their design is
based on Very Large Scale Integration (VLSI) that confines several physical components
into an IC.
They are less powerful than minicomputers & their internal memory is smaller than that of
minicomputers.
Areas where microcomputers are used:
Microcomputers are commonly used in:
Training and learning institutions such as schools.
Small business enterprises, and
Communication centres as terminals.
Microcomputers have become very popular because of the following reasons:
1) Are cheaper than both mini & mainframe computers.
2) Are very fast (i.e. have high processing speeds).
3) Small in size, hence they occupy less space in an office.
4) Are more energy efficient (i.e., consume less power).
5) Are more reliable than the early Mainframe computers.
Examples:
IBM PCs such as Apple Macintosh, Dells, Compaq, etc.
Palmtops.
Palmtops are small enough to fit in the pocket, and can be held in the palm when being used.
Have limited storage capacities.
Palmtops are mainly used as Personal Organizers, with some minimal programs for
calculations, Word processing, Spreadsheets, & E-mail.
Example of a Palmtop; Personal Digital Assistant (PDA).
Desktop computer.
This is the name given to any computer designed to be used when placed on a desk in an
office environment.
They are not portable.
13
Computer Hardware
Examples of desktop computers:
1) Home computer.
This is a low-cost microcomputer of limited capability designed for domestic use. It has
programs that are used typically for computer games or controlling family finances.
2) Personal computer (PC).
This is a microcomputer designed for independent use by an individual at work or in the
home mainly for business purposes.
A PC can support only 1 user at a time.
PCs are mostly used in offices, schools, business premises, and at home for various
applications like computer literacy, Games, Database management, Accounting, Word
processing, Telecommunications, etc.
A PC can be connected to a mini & mainframe computer so as to enable the user access
the facilities offered by the larger machines.
3) Workstation.
A workstation is usually a desktop computer with all the facilities but interlinked to a
network.
A typical workstation works in a similar way to a Personal computer. However, it is
more advanced than a typical PC in the following ways:
i). It is larger & more powerful than a PC. E.g., workstations use 32-bit
microprocessors, while PCs use 16-bit microprocessors.
ii). It has in-built capabilities for its interconnection & operation with other computers,
i.e., it is fully connected to a computer network as any other computer on the
network in its own right.
iii). It has high resolution graphics.
iv). It has a Multi-tasking operating system, i.e. it is able to run multiple applications at
the same time.
An Embedded computer.
This is a computer that is within another device or system but is not accessed directly. E.g.,
there are embedded computers operating within Petrol pumps, Watches, Cameras & Video
recorders.
General-purpose computers.
General-purpose computers are designed to perform a wide variety of tasks. They use
specifically written instructions (programs) to carry out the desired processing tasks.
Example;
A single computer can be used to process documents, perform calculations, process the
Payroll, simulate the loading on a bridge, process Insurance policies, and play games, among
others.
Examples of general-purpose computers: Mainframes, Minicomputers, Microcomputers &
Laptops used in most offices & schools.
14
Computer Hardware
Special-purpose computer.
A special-purpose computer is designed to handle/accomplish a particular specific task only.
Such computers cannot perform any other task except the one they were meant to do.
Therefore, the programs which are used in a special-purpose computer are fixed (hard-wired)
at the time of manufacture.
For example;
In a computer Network, the Front End Processor (FEP) is only used to control the
communication of information between the various workstations and the host computer.
A Special-purpose computer is dedicated to a single task; hence it can perform it quickly &
very efficiently.
Examples of special-purpose computers:
Robots used in a manufacturing industry for production only.
Mobile phones used for communication only.
Calculators that carry out calculations only.
Computers used in Digital watches.
Computers used in Petrol pumps.
Computers used in Washing machines.
An Automatic pilot – a computer dedicated to the task of operating an aircraft.
A Word processor – a special-purpose computer used in the production of office
documents, letters, etc.
Reasons why a Mobile phone is regarded to be a computer.
It is electronic.
Has a screen.
It has a Keypad.
Has a Memory.
It is programmable.
Dedicated computer.
A Dedicated computer is a general-purpose computer that is committed to some processing
task; though capable of performing a variety of tasks in different application environments.
E.g., the computer can be dedicated to carrying out Word processing tasks only.
Digital computers.
This is the most commonly used type of computers.
A Digital computer is a computer that operates on discrete data only. It can process both
numeric & alphabetic data within the computer, e.g., 0, 1, 2, 3…, A,B,C….
Their operation is based on 2 states, “ON” & “OFF” or on digits “1” & “0”. Therefore, any
data to be manipulated by a digital computer must first be converted to digital form.
Their output is usually in form of numbers, alphabets, & symbols.
Digital computers are usually general-purpose computers; hence, they are widely used in
different areas for data processing.
Most of the devices found at homes today are digital in nature.
15
Computer Hardware
Digital computers are less accurate, i.e. may not solve all your problems since the facilities
provided are generalized.
Examples:
A Television with a button which is pressed to increase or decrease the volume.
Digital watches.
Calculators.
Microcomputers. They are said to be digital because they posses the ALU.
Analogue computers.
An Analogue computer is a computer that operates on continuous data.
They carry out their data processing by measuring the amount of change that occurs in
physical attributes/quantities, such as changes in electrical voltage, speed, currents, pressure,
length, temperature, humidity, etc.
An Analogue computer is usually a special-purpose device that is dedicated to a single task.
For example, they are used in specialized areas such as in:
Scientific or engineering experiments,
Military weapons,
Controlling manufacturing processes like monitoring & regulating furnace temperatures
and pressures.
Weather stations to record & process physical quantities, e.g., wind, cloud speed,
temperature, etc.
The output from analogue computers is in form of smooth graphs produced by a plotting pen
or a trace on a Cathode Ray Tube (CRT) from which the information can be read.
Note: Analogue computers usually use one characteristic, e.g. a length, to give information
about another physical characteristic, such as weight.
Analogue computers are very accurate & efficient since they are dedicated to a single task.
They are very fast since most of them use multiple processors.
Examples of analogue devices:
The computer used to control a flight simulator for training pilots.
The computer responds to the Cockpit simulator control movements made by the pilot to
physically change the environment so that the pilot feels as if he were controlling an
actual aeroplane.
A Bathroom scale.
It uses the weight of a person to move a pointer smoothly/continuously over calibrated
scale, which shows the person’s weight.
Thermometer.
It uses a volume of Mercury to show temperature. The Thermometer is calibrated to give
an exact temperature reading.
Speedometer.
In Speedometer, the rotation of the wheel is converted to a voltage, which causes a
pointer to rotate over a dial calibrated in Km/h or Miles/h.
A Petrol pump measures the rate of flow of Gasoline (petrol) & converts the volume
delivered to 2 readings; one showing the volume & the other showing the cost.
A Post-office scale converts the weight of a parcel delivered into a charge for posting.
A Monitor with knobs that are rotated to increase brightness.
A Television with knobs that are rotated to increase or decrease the volume.
16
Computer Hardware
A Radio with a knob that slides in a slot to increase volume.
Hybrid computers.
Hybrid computers are designed to process both analogue & digital data. They combine
both the functional capabilities of the digital and analogue computers.
Hybrid computers are designed by interconnecting the elements of a digital computer &
analogue computer directly into one processor, using a suitable interfacing circuitry.
Hybrid computers are more expensive.
Example;
In a hospital Intensive Care Unit, an analogue device may be used to measure the
functioning of a patient’s heart, temperature and other vital signs. These measurements may
then be converted into numbers and send to a digital device, which may send an immediate
signal to the nurses’ station if any abnormal readings are detected.
Review Questions.
1. State three methods of classifying computers. In each case, list the different types of
computers.
2. What is a Personal computer?
3. Differentiate the following types of computers.
a). Supercomputer and Mainframe computer.
b). Minicomputer and a Personal computer.
c). Special-purpose (dedicated) computers and General-purpose computers.
d). Desktop computers and Laptop computers
4. Briefly describe terms “Analogue” and “Digital computers” as used in computer science.
5. Give three examples of Special-purpose computers.
17
Computer Hardware
6. Name any FOUR classes of computers based on size and complexity.
18
Computer Hardware
9) The computer technology is changing very fast such that the already bought computers could
be made obsolete/ out dated in the next few years.
In addition, this rapid change in the computer technology makes computers & related
facilities to become outdated very fast, hence posing a risk of capital loss.
10) The emergence of computers has increased the rate of unemployment since they are now
being used to perform the jobs, which were done by human beings.
11) Computers have led to increase in computer crimes especially in Banks. The computer
criminals steal large amounts of funds belonging to various companies by transferring them
out of their company accounts illegally. In addition, they destroy vital data used in running
the companies.
3. Banks/Insurance industries
Computers are used by Banks & Insurance industries:
To manage financial transactions. They use special cash dispensing machines called
Automated Teller Machines (ATMs) to enable them provide cash deposit & withdrawal
services.
For processing of Cheques.
For preparation of Payrolls.
For better record keeping and processing of documents.
To provide electronic money transfer facilities.
4. Process control.
Computers are used in production environments such as factories to control chemical &
mechanical processes. The computers are usually loaded with specialized programs & each
computer is designed to do a specific job.
19
Computer Hardware
5. Hospitals.
Computers are used in hospitals:
To keep & retrieve patient’s medical records.
For automatic diagnosis of diseases like Cancer, electro-cardiogram screening &
monitoring.
They are used to get a cross-sectional view of the patient’s body that enables physicians to
properly diagnose the affected part of the body with high levels of accuracy.
In medical equipments, e.g. blood pressure monitors, blood analyzers, etc.
To control life-supporting machines in the Intensive Care Units (ICU).
To enable medical experts in different countries to share their expertise or labour, thus
reducing the transportation of patients & professionals.
6. Offices.
For receiving & sending of messages through e-mails, fax, etc.
Production of documents.
Keeping of records.
7. Government Institutions.
Computers are used in government ministries & agencies:
To store/keep records and improve the efficiency of work within the Civil service.
If computers were not used, the large number of files in government registries would make
information recovery extremely difficult.
To produce bills & statements.
8. Education.
Computers are widely used in the teaching & learning process. Learning and teaching using
computers is referred to as Computer Aided Learning (CAL) and Computer Aided Teaching
(CAT).
Computers are used in learning institutions (schools & colleges) as teaching aids, i.e. to
help in teaching various subjects.
E.g., they are used to demonstrate experiments in subjects like Chemistry or Physics using a
special program that can illustrate them on the screen through a process called Simulation.
To assist the Long distance learning in universities usually referred to as the Open
University Concept.
To analyze academic data.
Computers are used in Aviation for training of pilots. Flight simulators are used to
monitor the control movements made by the pilot while the computer is used to physically
change the environment so that the pilot feels as if he were controlling an actual aircraft.
9. Research.
Computers can be used for research in various fields. They are used by:
Scientists to analyse their experimental data, e.g., in weather forecasting.
Engineers & Architects to design & test their work.
Computers have greatly assisted in space exploration.
They are used to study the movement of stars.
20
Computer Hardware
They have made manned & unmanned space exploration possible – they are used to
launch space vehicles and monitor the flights & activities both onboard and around them.
Review Questions.
1. Explain exhaustively the importance of computers in the following areas:
i). Industries.
ii). Hospitals.
iii). Education
iv). Research.
v). Communication industry.
vi). Law enforcement agencies.
vii). Domestic and Entertainment.
2. Explain various ways computers have been mostly used in our country.
3. List down and explain 6 uses of computers in our society.
4. Explain the similarities and differences between human beings and computer systems.
22
Computer Hardware
COMPUTER LABORATORY.
Definition:
A Computer laboratory is a room that has been specially prepared to facilitate installation of
computers, and provide a safe conducive environment for teaching & learning of Computer
Studies.
23
Computer Hardware
Avoid smoking or exposing computers to dust. This is because; smoke & dust
contain small abrasive particles that can damage computer components and cause
wearing of the moving parts.
Do not carry foods such as Toffees, chocolates, chewing gums, & drinks/beverages
to the computer room.
Food particles may fall into the moving parts of the computer and damage them.
Liquids may spill into the computer parts causing rusting or electrical faults.
Collect any waste materials (e.g., paper bits) which might be lying in the computer
room & put them into the dustbin.
Avoid unnecessary movements, because you may accidentally knock down the
peripheral devices.
Computer users should be trained on how to use computers frequently.
Computer illiterates should not be allowed to operate the computers.
Shut the door of the computer room properly.
3. INSULATION OF CABLES.
24
Computer Hardware
All power cables in the computer room must be properly insulated and laid away from
busy pathways in the room (i.e., preferably along the walls). This prevents the user from
stumbling on the cables, which might cause electric shock or power interruptions.
System cables should be of the best quality & type, and should also be properly clipped
(fixed).
The cables should be handled carefully especially at the ends to avoid breaking the pins.
The UPS gets charged when the main power is on. When the main power goes off, the UPS
gives some sound (usually a beep) to alert the user.
Functions of the UPS
1. It regulates power from an unstable power source to the required clean stable voltage.
2. It prevents power surges and brownouts that might destroy the computer.
3. It temporarily provides power to the computer in case of the main power failure. This
allows the user to save his/her work and shutdown the computer using the correct
procedure.
4. Alerts the user of any power loss (by beeping).
To ensure that work continues even in the absence of main power, organizations that give
important services such as banks, schools, & hospitals usually install devices that provide
alternative sources of power such as standby generators, solar panels, rechargeable
batteries, etc that automatically comes on in case of a power failure. Such devices are
referred to as Power backups.
However, note that, power from a generator must pass through a UPS before being fed to the
computer, because it is also not stable.
Ensure that all power or electrical sockets are firmly fixed.
25
Computer Hardware
5. BURGLAR PROOFING.
Physical access to the computer room should be restricted to ensure that only authorized
persons get access to the computers.
To prevent unauthorized access to the computer room, the following controls should be
implemented:
Fit strong metallic grills and locks on the doors, windows & roofs (in case the roofing is
weak).
Lock the doors, (i.e., keep the computers in a strong room, which should remain firmly
locked when not in use).
Avoid welcoming strangers into the computer room.
Use of Personal Identification cards.
Use of fingerprint identification.
Install security alarms at strategic access points so as to alert the security personnel in case
of a break in.
Use of special voice recorders that would be able to analyse the voice of a trespasser &
check against the database containing the voice patterns of valid users.
Secure/protect the computers with Passwords to minimize chances of theft.
6. VENTILATION.
Both computers and human beings emit heat energy into the environment. Therefore, the
computer room must have good circulation of air to avoid overheating and suffocation.
Proper ventilation enables the computers to cool, and therefore, avoids damaging the
electronic parts.
The following facilities can ensure proper ventilation in a room:
The room should have large & enough windows & doors.
Installing an air-conditioning system.
Installing cooling fans.
Avoid overcrowding of either machines or people in the room.
7. DUST CONTROL
Set up the computer laboratory in a location away from excessive dust.
Remove your shoes before you enter the computer room to prevent dust.
The computer room should be fitted with special curtains that would reduce entry of dust
particles.
The floor should be covered with Carpets in order to absorb dust, and also absorb the
noise made by chairs.
Cover the computer devices with Dust covers when not in use or when cleaning the
computer room.
NB: If the environment is dusty, the computers should be regularly serviced to get rid of
harmful dust.
The service should include; blowing dust from the System unit, cleaning the floppy drives,
cleaning the Keyboard, cleaning the Monitor externally, and also cleaning all peripheral
devices such as Printers and Mouse.
8. DUMP CONTROL.
26
Computer Hardware
Humidity in the computer laboratory must be regulated to remain at an optimum 50%. If the
humidity is low, it allows static electricity to build up and causes damage to sensitive
electronic components. Similarly, high humidity of over 70% causes rusting of the metallic
parts of the computer system.
To eliminate low humidity, place humidifiers in the room, while high humidity can be
controlled by installing dehumidifiers in the room.
27
Computer Hardware
8). Avoid overusing the diskette. If used for long (usually over 6 months), its surface wears
out.
9). Never place heavy objects on the diskette to avoid damaging it.
10). Keep your disks safely away from extreme temperatures or direct sunlight, i.e., avoid
placing the diskette near possible heat sources, e.g. on top of monitor displays.
11). Keep floppy disks away from any magnetic media, e.g., near power supplies & magnets.
They can corrupt the data.
12). Never carry disks in loose bags or in pockets to prevent dust from getting in & harming
them.
Store your diskettes in disk banks or a proper storage jacket. Use envelopes or enclosed
polythene when carrying them.
13). Always store the disks vertically in the storage box/container.
14). Never use clips or staples to hold the disks to avoid damaging them.
15). Do not bend the diskette, or leave it lying on top of the desk.
16). Protect the diskettes against computer viruses, i.e. you should not use foreign diskettes
in your computer, especially if you suspect that they might have viruses in them.
Use of Printers.
1. Different printers have different sensitivity to printing papers. Using the wrong quality
paper in a particular printer can make the paper get stuck.
2. Printers are very specific to manufacturer’s cartridges & ribbons. Use of clones or
imitations (i.e., the wrong make & model) can damage the printer mechanism.
3. Avoid refilling of cartridges or re-inking of Ribbons. This can spoil the printer due to
leakage or use of poor quality materials.
28
Computer Hardware
You should be able to maintain your proper arm position and place your feet firmly flat on
the floor.
Adopt a relaxed, upright working posture. Avoid slouching (bending) forward or leaning
far backwards.
The Chairs should have low back support & footrest and should also be adjustable.
Keyboard, Mouse and Input devices.
Place frequently used work materials within easy reach.
For example;
The Keyboard, Mouse & other input devices should be positioned such that your hands are
in a relaxed, comfortable position.
Position the Keyboard directly in front of you. This makes it possible to type with your
shoulders relaxed and your upper arms hanging freely at your sides.
Position the Mouse at the same level as the keyboard.
Review Questions.
1. List down THREE safety precautions one should observe when entering a Computer
laboratory.
2. Why must foods and beverages be kept out of the computer room?
29
Computer Hardware
3. Discuss TWO main causes of fire or accidents in the computer laboratory and give the
precautions that should be taken to guard against them.
4. (a). Give Six safety precautions you should take when handling diskettes.
(b). Where should the arrow on a diskette point when being inserted into the floppy drive.
5. List THREE things that can spoil a Printer if they are not of the correct specification, and
explain what damage may be caused.
6. Why are powder based and water-based fire extinguishers not allowed in the computer room?
7. Identify three facilities that will ensure proper ventilation in a room.
8. Give THREE reasons why it is important to regularly service the computer.
9. Explain precisely how the Keyboard, mouse, and other Input devices should be arranged to
avoid strain while working on the computer.
10. (a). What name is given to alternative sources of power in a computer.
(b). Name any THREE sources of power in a computer system.
11. State two reasons why a computer needs to be connected to a stable power supply.
12. State two functions of the UPS.
13. State two reasons that are likely to cause eye-strain in the computer room.
14. Identify three proper sitting postures while using the computer.
30
Computer Hardware
Warm booting.
This happens when a computer that was originally on is forced to restart by pressing the Restart
button on the System unit or by pressing a combination of keys on the keyboard (Ctrl+Alt+Del).
In Windows operating systems, one can use the Restart option on the Shutdown dialog box to
perform a warm boot.
When Power is switched on, the computer starts by checking all its components to determine
whether they are available for use and whether they are functioning correctly. It does this by
executing a small program called the Power-On-Self-Test (POST) that is permanently stored in
ROM.
POST prepares the computer for use by instructing it to perform a number of diagnostic tests
when booting up. It instructs the computer to check the memory (RAM) to make sure it is
operating correctly; check the CMOS (BIOS), Hard disk controller, Floppy disk drive controller
& the Keyboard.
During this process, some monitors display information showing the status of each device being
tested. If a problem is found, e.g., in case one of the devices is faulty or missing, the process will
halt and display an appropriate error message on the screen indicating to the user where the
problem is located. Sometimes, an error code is displayed with the message, or an abnormal
number of beeps are sounded.
The special program that directs the POST process is called the Basic Input Output System
(BIOS).
31
Computer Hardware
After finishing working with the computer, the user must follow the correct procedure of shutting
down the computer in order to ensure that loss of data, damage of programs and computer
components does not occur.
1. Save all the work done on the computer, and close all programs that may be currently
running.
2. Remove any floppy disk you might have inserted in the computer.
3. Follow the proper shut-down procedure required before switching off the computer.
For example;
To turn off any computer running Windows operating systems:
a). Click the Start button on the screen, then select Shut Down from the list.
b). In the prompt that appears, select Shut down, then press the Enter key on the
keyboard.
c). After a few seconds, the message “It is now safe to turn off the computer” appears on
the screen. Switch off the System unit, then the Monitor.
Note. Some system units switch themselves off automatically. In such a case, press the
button on the Monitor to turn off the screen.
4. Press the button on the monitor to turn off the screen.
5. Switch off your Printer and any other output devices.
Review Questions.
1. (a). What is meant by the term ‘booting up’?
(b). Differentiate between cold booting and warm booting.
2. Write down the procedure to be followed when switching on a computer.
3. Complete the abbreviation ‘POST’ in computer technology and explain briefly its purpose.
4. List down the steps that must be followed before switching off the computer.
KEYBOARD.
The Keyboard is a computer input device by which data & instructions is typed into the
computer memory.
It enables the user to enter data & instructions into the computer by pressing its keys.
Types of Keyboard.
1. Standard Keyboard – has 99 keys.
2. Enhanced Keyboard – has between 102 & 105 keys.
KEYBOARD LAYOUT.
The Keyboard of a computer consists of keys similar to those of a typewriter. It contains the
usual range of alphabetic characters (A – Z), digits 0 – 9, and other symbols frequently used to
represent data items. However, it has some command keys for giving special instructions to the
computer.
32
Computer Hardware
Data & programs are input into the computer by pressing the appropriate keys. When you type
data into the Keyboard devices, it converts it into machine-sensible forms.
Editing keys.
They are used to delete or insert characters in a document. These are:
i). Backspace key.
It has a backward arrow () marked on it.
√ Used to erase characters to the left of the cursor (i.e., from right to left on the same
line).
When pressed, it makes the cursor move one space backwards and the immediate
letter or number to the left is erased.
ii). Delete (Del) key.
It is used to erase characters to the right of the cursor, (i.e., from left to right).
iii). Insert (Ins) key.
√ Used in a word processor to switch between the Insert mode & Overtype mode.
When pressed, it helps the user to insert text in the middle of a sentence or replace a
character at the cursor position (i.e., overwrite the text).
(e). Special PC operation keys.
They are used in combination with the other keys or on their own to perform special
functions/tasks, or to give special instructions to the computer.
Examples; Esc, Tab, Caps Lock, Shift, Ctrl, Alt, Enter, Num Lock, Scroll Lock.
TAB key ( ).
It is used in certain programs such as Word processors to move the text cursor or a certain
text at set intervals on the same line to the required position on the screen, e.g., 10mm,
20mm, etc.
A Cursor is a blinking underscore ( __ ) or a vertical beam (I ) that shows where the next
character to be typed will appear.
CAPS Lock.
Used to switch between capital (uppercase) letters & small (lowercase) letters.
When pressed on, an indicator with a Green light appears on the top-right hand corner of
the Keyboard, and all the text typed will appear in capital letters. When pressed off, all the
text typed will appear in small letters.
34
Computer Hardware
SHIFT key ( ).
This special key works in combination with other keys.
√ It can be used to get single capital letters. Hold down the SHIFT key & press an alphabet
key to get the letter in its capital form.
√ It is used to get the punctuation marks on top of the Number keys or the symbols on top
of certain keys especially on the alphanumeric section.
To get the punctuation mark on top of a number key or the symbol on top of a certain
key; press & hold down the SHIFT key before pressing the required key.
ENTER key (↵).
√ It is used as a RETURN key. When pressed at the end of a text line or paragraph in a
word processor, it forces the text cursor to move to the start/ beginning of the next line or
paragraph.
√ It is used to issue completion commands to the computer. It is used to instruct the
computer to carry out (execute) a command that has been typed or selected on the
screen.
ESCAPE (ESC) key.
It generates special code for the computer. In some programs, it is used when you want to
quit doing some task, i.e. escape from or to cancel a task.
CONTROL (CTRL) key.
It controls various functions in combination with other keys, e.g. CTRL+”S” is used to give
the command for saving the text/object.
35
Computer Hardware
the blank space between TAX and 1990, but TAX_1990 is legal. The Underscore takes the
places of the blank space.
Single & Double quote, Accent grave, and Tilde.
Single quote (‘) & Double quote (“).
Both symbols are on the same physical key top. To get the double quote, use the SHIFT.
Accent grave (`) & Tilde (~) are found on the same key top. The Tilde is used in
Mathematics, foreign languages, or in UNIX operating system to indicate the home
subdirectory.
The Parenthesis ( ), Square brackets [ ], & Curly braces { }
Each of these symbols is used differently depending on what program you are running.
Mathematical symbols (+, -, *, /, ^).
Slash (/) - used for division,
Asterisk (*) - for multiplication,
Plus (+) symbol - for addition,
Minus (-) symbol - is used for subtraction,
Up carat (^) - indicates exponential (raising to a power).
Practical Keyboard skills.
When using the keyboard, observe the following typing rules:
1). Sit upright with both feet firmly on the ground, maintaining an alert posture.
2). Place the material to be typed on your left in a position you can read without strain.
3). Rest both hands on the keyboard with fingers resting on the Home keys.
Home keys are the keys on which fingers rest during typing in readiness to press other
keys. The home keys for the left hand starting with the small finger are A, S, D, F with the
thumb on the Spacebar, while those of the right hand are the apostrophe (‘), semicolon (;),
L, K with the thumb on the Spacebar.
4). Start typing the text slowly at first, making sure you are using all the ten fingers, and that
you press the key nearest to the home keys with the closest finger, e.g., to press Q, use the
small finger on the left hand, while to press J, use the index finger on the right hand.
Descriptive Questions.
1. Define a Keyboard.
2. (a)Give the TWO types of Keyboards found in the current market.
(b) State and briefly explain the functions of five categories of keys found on a standard
keyboard.
3. State the use of each the following section or combination of keys on the keyboard:
a). Function keys.
b). Numeric keypad.
c). Arrow keys.
d). Control key.
4. Name 3 main sections of the Keyboard that are used in typing.
5. What is the difference between Function keys and Special PC operation keys?
6. State the functions of the following keys on the keyboard.
i). Caps Lock.
ii). Spacebar.
iii). Shift Key.
iv). Enter Key.
v). Backspace.
vi). Delete.
vii). Escape.
viii). Num Lock.
36
Computer Hardware
7. Give two uses of the SHIFT key.
MOUSE.
A Mouse is a pointing device that enables the user to issue instructions to the computer by
controlling a special mouse pointer displayed on the screen.
A Mouse consists of 4 parts: -
1). A Casing - to assist in holding the mouse in the hand.
2). A Roller ball – used to slide/move the mouse on a flat surface. It also enables the cursor to
move on the screen as required.
3). The Sensor Buttons (Right & Left) – used for making selections.
4). A Cable - connects the mouse to the System unit.
38
Computer Hardware
COMPUTER SYSTEMS.
The term System can be defined as a collection of independent entities that collectively work
together to achieve a desired goal.
All things can be viewed as being made up of small independent components (subsystems) that
come together to form a bigger more complex system.
For example;
(1).A School can be seen as a system with students, teachers, Accounts department, and the
Administration as subsystems. The school system itself is a subsystem of the ministry of
education.
COMPUTER SYSTEMS.
What is a Computer system?
The term Computer system refers to the complete set of devices required to use & operate
the computer.
Computer system is the complete set of devices that make a computer work as one unit.
A collection of entities that work together to process and manage information using
computers.
A computer system consists of the computer itself & supporting devices for input, output,
processing & storage of data such as disks, Monitors, Printers, etc
FUNCTIONAL ORGANIZATION OF THE ELEMENTS OF A COMPUTER
SYSTEM.
A Computer system consists (or is made up) of 4 basic elements that are interrelated and work in
unison. The four elements are:
(1).Hardware.
(2).Software.
(3).Liveware (Computer user).
39
Computer Hardware
HARDWARE.
Hardware is a term used to describe all the physical & tangible devices that make up a computer
system, i.e. it consists of the parts that can be touched and felt.
Hardware include all mechanical & electronic elements found in the computer, e.g., the System
Unit, Transistors, Diodes, bus systems such as electronic paths (channels), the Input devices
(e.g., Keyboard, Mouse), Output devices (e.g., Monitor) & the Storage devices.
Hardware devices enable the user to enter information into a computer, view the output on
screen, print out our work, store and process the work.
The hardware elements of a computer are generally grouped/ sub-divided into 4 major
categories:-
1). Input devices.
Input devices are used to communicate with a computer. They enable the computer user to
enter data, information & programs into the computer. They also let the user issue
commands to the computer.
An Input device converts the input information into machine-sensible/ readable form.
Examples.
* Keyboard. * Mouse.
* Key-to-disk. * Key-to-Tape.
* Scanner. * Light pen.
* Trackball * Video digitizers.
* Graphics pads (Tablets). * Joystick / Game paddles.
* Speech Recognition devices. * Digital & Web cameras.
* Voice input devices, e.g. Microphones.
* Document readers, such as, Magnetic Ink Character Reader (MICR), Optical Mark Reader
(OMR) & Optical Character Reader (OCR).
*Point Of Sale terminals, such as, Bar code readers, Kimball Tag readers, Card readers, &
Badge readers.
2). Central Processing unit – CPU (Processor).
The CPU is composed of the Main Memory, the ALU & the Control unit.
The CPU performs the necessary operations on the data held within the memory. It interprets
& processes all the instructions from the Input devices.
The CPU is housed in the computer casing (System Unit), which contains all the major
components of a computer system.
3). Output devices.
40
Computer Hardware
Output devices are used to extract/ disseminate processed data from the computer. They
display the results of all the information that has been processed.
They also convert machine-coded output results from the Processor into a form that can be
understood by people.
Examples.
* Screen (Monitor/ Visual Display unit – VDU). * Printers
* Audio Response units. * Graph Plotters.
* Sound output devices, e.g. Speakers. * Microforms.
4). Storage devices.
These are devices used to store data & programs in computers. They include; Hard disks,
Floppy disks, Magnetic tape drives, Cassette Tapes, Optical disks (CD-ROMs), and Random
Access Memory (RAM).
Note. All these storage devices differ in the way (technology) they store data & the
capacities of data they can hold.
SOFTWARE.
These are the programs & data used in a computer system that enable it perform a no. of
specific functions.
Software is a set of computer programs that guides the computer in each and every activity
that happens inside the computer during data processing operations.
Software also includes the associated documentation (descriptions of the programs).
When used in a computer, Software instructs the computer to carry out specific processing tasks,
e.g. produce the year end Balance sheet.
Characteristics of Computer Software.
1. They are the programs & data used in a computer system.
41
Computer Hardware
2. A Computer Program is usually a set of computer instructions written in any of the
computer programming languages, e.g. BASIC, PASCAL, etc.
3. It is not possible to see a program in memory as it exists in magnetic spots, however, you can
see & touch a listing of the program on the computer screen.
4. Software enable computer hardware to operate effectively. In other words, software is meant
to put ‘life’ into the hardware.
5. Software is flexible, i.e., the software used in a particular computer is relatively easy to
change.
6. Software is cheaper compared to hardware devices.
7. Computer software can be written by the user, a Programmer or a Software house.
LIVEWARE
Liveware is a term used to refer to the computer end-user. They are the people who coordinate
the various activities, which are necessary to get a computer system to perform useful tasks.
They include; Data entry operators, Computer Operators, Programmers, System Analysts, Data
Processing Managers, Database Administrators, Computer Librarians, and the other staff directly
or indirectly involved in the running of the system operations.
Apart from the hardware and software elements, the user is also seen as an integral part of the
computer system as shown in the figure below;
42
Secondary (Backing) storage
To supplement Main storage
Computer Hardware
Bus
Data & instructions to be processed are supplied to the computer memory by the user with
the help of Input devices.
The CPU performs the desired operations on the data and the results of calculations/
processing are communicated to the user through the Output devices.
The data and/or instructions not being used immediately by the computer are held
permanently in the Backing storage, for retrieval any time it is required by the user.
INPUT DEVICES.
Before a computer can process any data, it must be given the data & program instructions by use
of an Input device.
Input is a term used to describe all that goes into the computer memory (usually the raw data &
instructions) to await processing.
Input involves entering data & instructions into the computer by use of suitable devices.
KEYING DEVICES.
Type of keying devices
43
Computer Hardware
Traditional keyboard
Flexible keyboard
Ergonomic keyboard
keypad.
POINTING DEVICES.
These are the input devices that enter data or instructions by controlling a pointer on the screen.
Examples of pointing devices are; Mouse, Trackball, Joystick, and Light pen.
MOUSE.
A mouse is a pointing device that rolls on a small ball and is used to control the movement of the
cursor (or, a pointer) on the computer screen.
Types of mouse
Traditional mouse
Optical mouse
Cordless mouse
The mouse is mostly used with Graphical User Interfaces (GUIs). It issues commands to the
computer by activating certain simple graphic images called Icons displayed on the screen.
TRACKBALL.
A Trackball works just like the mouse, but instead of moving it on a flat surface, it has a ball
fixed on its top which is rolled using the index finger.
As the ball rotates, it moves a pointer on the screen. The user can then click its button to execute
the selected command.
The advantage of a trackball over the mouse is that, a Trackball doesn’t require a flat surface for
movement.
Note. Today some computers come with a trackball on top of a Keyboard and a Mouse.
LIGHT PEN.
A Light Pen is a hand-held device similar in shape to a ball-point pen, and has a light sensitive
point. It consists of a pen-like device called a stylus connected by a cable to a computer
terminal.
44
Computer Hardware
A Light pen is used together with a graphic VDU that is able to sense light shining on the screen
using special hardware & software. A Light pen does not emit light but instead, it reacts to the
light emitted by the display using a photosensitive detector at its base.
When the pen is moved across the screen, its position is sensed because of the light it produces.
√ A Light pen provides a direct input mode. It can be used to read data directly from the source
document. It allows the user to point directly to an object on the screen, thus identifying it to
the screen.
√ Light pens can be used to read bar-codes on the different items.
√ It can also be used to select items from a given list of ‘menus’ displayed on the screen by
simply pointing the pen at the item required & then pressing a button on the pen.
√ Light pens are usually used as design aids - they can be used to draw images on the screen,
which can be printed. They can also be used to indicate a point on a screen or pad, for
example, to select options for drawing.
TOUCH-SENSITIVE SCREENS.
A Touch-sensitive screen uses the human finger as the input medium, (i.e. one can select items or
options from a given list by touching the screen with a finger).
This method of input is usually used with a VDU, which is able to sense the touched points on
the screen.
When the user touches the screen with a finger, it blocks out the light emitted from that portion
of the screen. The computer detects the position of the finger. The screen can then determine
which part is being touched, and therefore, which selection is required.
Touch screens are mostly used in public places like banking halls, hotels, in airports (to provide
guidance information), etc.
Notes.
• Both the Light pen & the Touch provide fast input modes.
• There is no typing or printing required; however, they operate under the influence of complex
programs.
DIGITIZERS.
45
Computer Hardware
The Digitizers are input devices that convert graphical drawings or images on the paper or other
material into digital data and convey them to the computer memory.
Digitizers are slow, but easy to handle and errors are hardly present.
1. GRAPHICS PADS/ TABLETS.
Graphic Tablets are used for entering drawings directly into the computer.
A Graphics tablet consists of a pad or tablet (that is sensitive to touch) & a pointing device,
which is similar to a ball-point pen called a stylus.
A paper is placed on the graphic pad & the user can trace lines and draw pictures using the
pen. As the stylus moves on the tablet, the tablet senses the pressure on it & translates it into
digital signals giving its corresponding position on the screen. It then converts this ‘pressure’
into x-y co-ordinates, which describe what is being drawn. This data is then relayed to the
computer, which can display the drawings on the screen or have them printed.
Uses of Graphic Tablets.
Graphic tablets are mostly used;
(a). In Engineering & Architectural design as it lets the user create his/her own images. It is
very easy for the user to ‘try out’ different designs.
(b). In Computer-Aided Design work as diagrams & maps can be traced or drawn &
transferred into the computer memory to be further worked on using Graphics programs.
(c). By Banks & Insurance companies to verify signatures. A signature written on a pad is
compared against another formerly stored in the computer.
(d). Pads are also good at detecting forgeries.
2. VIDEO DIGITIZERS.
These consist of special hardware & software, which converts video signals frame-by-frame
into a digital representation in computer memory, which can be saved on disk, if necessary.
A sequence of frames can have graphics, cartoons, text added, etc.
DIGITAL CAMERAS.
A Digital camera stores its images in digital form. These images can then be streamed (entered)
directly into a computer for editing or printing by connecting the camera to a computer using a
special cable.
There are 2 types of digital cameras; one that can take still (motionless) images, i.e.,
photographs, and another that takes motion pictures (video).
46
Computer Hardware
- Electronic Money transfer.
- House/ Car security using voice activated locks.
- Office security for room access.
(c). In Voice-activated toys & games.
(d). In Quality control & automation (computerization/mechanization) in factories.
A checker whose hands are busy does not have to stop working to make entries in log books,
instead he/she can simply give a running (spoken) comments on the goods he/she is
examining. For example, in Japan, speech input is used to order robots about.
(e). In Automated materials handling – in airports, handler’s give spoken commands that direct
the luggage to the appropriate conveyor belt.
(f). In Computer-Aided Design (CAD) – A designer, e.g. of buildings, working at a terminal can
call up design patterns which are frequently used, instead of having to punch catalogue nos.
into a Keyboard.
4. Limited vocabulary understood & the no. of speakers they can recognize.
Most speech systems can recognize a limited, standard vocabulary of spoken words. The
simplest SRD can recognize the voice of only one speaker. .
The device must also be ‘taught’ the voice patterns of the speaker. For example, if a device
can store a vocabulary of 25 words, the user will speak the 25 chosen words into the device.
The device then stores the patterns for the spoken words. Later, when the user speaks a
word, the device compares the pattern of the word spoken with those patterns it had
previously stored. If a match is found, the word is recognized. If not, the speaker may be
requested to repeat the word or use a synonym (a word that means almost the same thing).
5. The response rates of these devices are still relatively slow.
When you compare the no. of words in English & the total no. of words that can be said at a
given point, show that speech recognition is slow.
6. Speech input is complex to develop & is still at the early stages of development.
Review Questions.
1. Explain briefly how the following types of devices work.
(a). Speech recognition.
(b). Graphic (digitizing) tablet.
(c). Touch sensitive screen.
(d). Light pen.
2. State TWO advantages and TWO disadvantages of using Speech recognition devices.
47
Computer Hardware
SCANNING DEVICES.
These are devices that enter (capture) data into the computer directly.
IMAGE SCANNERS.
A Scanner is used to input pictures or photographs into the computer. This is because a
Keyboard or a Mouse cannot perform these tasks.
Scanners are usually used to capture existing documents in an electronic form into the computer
for further processing or incorporating into other documents.
It converts text & graphics into machine sensible format. Once the text & graphics are scanned,
the images can be manipulated by changing the colors, the sharpness and contrast.
There are 2 main types of Scanners: -
(a). Page scanner:
This is a desktop machine that looks like a small photocopier. It scans a whole page at a
time. An example is the Flatbed scanner.
Using this scanner, one can scan text, a real object or a picture by placing it on a glass plate
exactly the way a photocopying machine works. The text or the picture scanned is displayed
on the screen or saved so that one can edit or print it.
(b). Hand scanner:
A Hand scanner is held in the hand and passed over a document.
Scanners are very useful when large amounts of existing documents need to be converted into
electronic form for feeding into a computer system.
For example, if the contents of the Bible are to be entered into a computer system, you can either
type everything using a Word-processor, or scan each of the pages and import them into a word-
processor, which is faster and also more accurate.
Each character is compared to all known shapes or patterns so that the appropriate code can be
entered into the computer.
Scanner Problems.
1. The scanner is on but there is no image when you scan.
♦ Make sure the DMA, IRQ and Address jumper settings on the interface board matches
the settings you selected in the Scan Mate installation program.
♦ Check the brightness control dial on your Scanner. If the dial is at the brightest settings,
you may not be able to see the image.
2. The light on the scanning window cannot turn off.
This shows that there is a conflict with resident software on DMA channel.
3. The images printed look blotchy (discoloured/ spotted).
To prevent this, do not rescale the image. If you scale the image, you will lose some of the
details when you print. If the image is too big, scan at lower resolution.
4. The Scanner turns off as soon as you start scanning.
This shows there might not be enough RAM to scan the images.
5. The scanned image on the screen is much larger than the original.
This occurs if your image is displayed at a lower resolution than you scanned.
Note. The Size of your screen image depends on your Monitor’s size & your VGA card.
DOCUMENT READERS.
A Document reader is an input device, which can read data directly from source documents,
such as bank cheques, & convey it to the computer in form of electronic signals.
48
Computer Hardware
Types of codes on documents that can be recognized by a Document reader: -
(i). Marks – short lines made by hand, usually in pencil on a document.
(ii). Characters – hand-written (e.g. on meter-reading) or printed in magnetic ink on cheques.
(iii). Printed lines – e.g. the bar codes.
Document readers can be classified into; Optical readers and Magnetic Readers.
Optical Readers.
Optical readers use the principles of light to sense the document contents or to capture data. A
special type of concentrated beam of light is passed over the object, image or text which needs to
be entered into the computer. The reader converts the data into digital form, and then passes it to
the computer for processing.
There are 2 types of Optical readers: Optical Character Reader (OCR) & Optical Mark
Reader (OMR).
Magnetic Readers.
They use the principles of magnetism to sense the document characters that have been written
using magnetized ink.
Example; Magnetic Ink Character Reader (MICR).
49
Computer Hardware
The computer can print out stock sheets in OCR characters. The stock checker then enters the
actual stock quantities on the form in careful handwriting. The sheet can then be optically
read into the computer for amending the stock records.
Disadvantages of OCR.
(i). The document should be handled carefully (e.g. it should not be folded or creased) for
accurate reading.
(ii). Document size & type area may be limited for accurate reading.
(iii). It requires special typing & character formation and a paper with the required quality.
The user must make sure that characters are well-formed; if they are not, reading errors may
arise, making output results unreliable.
BAR-CODE READER.
This is a device used to read the bar-codes printed on many items in Supermarkets &
Pharmacies.
Each item is given a code known as Bar-code (a Bar-code is a set of parallel bars of varying
thickness & spaces of varying widths representing a number code). A space represents a “0”
while a bar represents a “1”. The coded data can be read by using the principles of light.
A computer is used to store the code of the items, item description, price, amount in stock, etc.
When a Bar-code reader is moved across the bars by the Cashier, the reader scans the bar codes
printed on the item using a laser beam, which generates electrical pulses corresponding to the
reflected light received. The bar code is then converted to a number (which is the code for the
item).
The interpreted data is sent to the computer memory in form of signals. These pulses are
compared with standard codes stored in the computer and is used to look up the price of the item.
The details of the price & description are printed out on a receipt for the customer. The Store
Inventory may also be updated at the same time.
Bar codes are also used in Library lending Systems. Each user is given a library card, which is
coded with his library User Number. The relevant details of the user; let say, Name, Address,
Telephone number, category of user (e.g., Staff or Student), No. of books borrowed, date of
expiry of the card, etc are stored in a file on a disk.
When the user wishes to borrow a book, a Bar-code reader ‘reads’ his card, and transmits the
code to the computer. The computer uses the code to retrieve the user’s record from disk.
The Library Assistant will then update the user’s record by entering the relevant information
such as the name (or number) of the book, the date borrowed & the date on which it is to be
returned.
Note. Bar-codes cannot be used on goods such as Fresh Fruits & Vegetables.
Advantages of using a Bar-code reader.
(i). They are very fast & accurate provided that the bar-code has been printed clearly. For
example, if the bar-code is soiled by dirty hands or has broken bars, errors may occur when
an attempt is made to read the code.
(ii). It is a cost-saving method.
(iii). Saves time. The prices do not have to be attached to each item in the store because the
items details are already held in a master file.
(iv). Does not require special skills to operate.
(v). It improves customer convenience.
Disadvantages of using a Bar-code reader.
(i). Requires standby facilities.
(ii). Requires very expensive equipments.
(iii). The prices are not stamped on the product, and therefore, high chances of incorrect data
being entered.
CARDS / BADGES.
These are small rectangular cards made of plastic that incorporate data in both machine-sensible
& human-sensible forms, e.g. Credit cards.
Ways of Coding data onto badges: -
Magnetized marks, e.g. a short strip of magnetic tape sealed into the card’s surface.
Optical marks.
Punched holes.
The cards are read using Badge readers. The data recorder machine records data on these
badges automatically, once manually inserted, using magnetized marks, optical marks or
punched holes.
For reading, the badge is slotted into the reading unit where the converter machine (the reader)
accepts the contents of the badge and conveys them directly to the computer as input for
processing.
The badges are used in banks as Credit and Service cards, e.g., in the Automated Teller Machine.
The Badge contents are usually static, though some cards contents can be altered by the reader,
e.g., Phone credit cards whose currency value keeps on changing until zero currency value is left.
(a). SMART CARDS.
A Smart card is a special type of badge whose data can be changed by a special badge
reader.
A Smart card can be used as a form of electronic money. As the customer purchases an
item, the badge reader can deduct units from the card. This process continues until the card
has no more currency units left.
(b). CREDIT CARDS.
A Credit card has a strip of magnetic tape fixed on it. The tape contains coded information,
which is usually the owner’s code. The card is inserted into a slot where magnetic data
may be picked. Details of the transaction are then recorded against the credit card no. &
the owner’s account is credited with the transaction.
Uses of Cards / Badges.
In Car parks – badges are used to raise car barriers, allowing entry to or exit from a car park.
In Banks – Credit and Service cards, i.e. Automated Teller Machines (ATMs) give out cash
automatically when customer inserts a plastic card & follows the instructions issued.
In Access control – Access control cards are used in many offices to control access to
buildings or rooms for security reasons.
53
Computer Hardware
In Production control – Punched cards can be used to hold data in a factory such as
employee’s details, etc, which is used for production scheduling (arrangement), stock control
and job costing.
Review Questions.
1. (a). What are document readers?
(b). Describe various kinds of document readers.
2. (a). What is the difference between OCR and OMR?
(b). State two advantages & two disadvantages of each.
3. The diagram below shows coded data that could be input into a computer.
Interactive whiteboard
54
Computer Hardware
56
Computer Hardware
The CU performs 1 step of the instruction in 1 clock pulse. The speed of processing will
depend on:
(i). CPU Frequency, i.e., time duration of 1 clock pulse.
(ii). The no. of steps involved in executing a full instruction.
(iii). The Access time of the computer, i.e., the time required to access any one memory
address.
Functions of the Control unit.
1. It co-ordinates & controls various parts of the computer system, namely; Main memory, ALU
& the Peripheral devices.
2. It maintains order & controls all the operations or activities inside the Processor.
The CU controls the activities of all the other units of the computer by using the appropriate
control signals. For example, it instructs the ALU on which arithmetic or logical operations
are to be performed.
3. It connects the required circuits to enable the ALU to process the data in storage, as specified
by the program.
4. It directs sequence of operations, i.e., it generates synchronization signals & manages
commands exchanged between the ALU, I/O units & the Memory.
5. It retrieves and interprets instructions from the Main storage & makes the computer to
execute these instructions by giving commands to the rest of the computer elements.
6. It controls the transfer of unprocessed data to the Main storage & results from the Main
storage.
7. It stores the results in the memory.
8. It determines the location of the memory that contains the next instruction to be retrieved.
9. It monitors the CPU operations & identifies problems, such as equipment malfunction,
illogical instructions or erroneous data finding its way into the system, and flashes them on
the computer screen.
57
Computer Hardware
It is a communication path/medium within the computer that allows different elements of the
computer to communicate with each other.
An electrical connection linking internal sections of a computer, such as Processor,
Expansion cards, and peripherals such as Keyboard and other Input devices.
A parallel collection of conductors that carry data and control signals from one unit to
another.
CLASSIFICATION OF MICROPROCESSORS.
There are 2 basic factors (parameters/ considerations) used to classify Microprocessors.
1. Clock speed.
2. Width of the Data Bus.
Clock Speed.
Every Microprocessor has a clock that drives its operation. Clock speed is the speed at which
the processor runs.
58
Computer Hardware
Microprocessor speed refers to its Clock speed, which is measured in Megahertz (MHz – 1
million cycles per second).
The Clock speed varies from one processor to another. Microprocessors with faster clocks
perform operations much faster compared to those with slower clocks. Therefore, the speed of a
microprocessor gives its power – the higher the speed, the more powerful the microprocessor.
Note. The speed at which a computer can process data is also affected by the speed at which the
memory can work.
Bus Width.
The size of the Data Bus determines the Bus Width of a microprocessor. It indicates the moving
capability of information of the chip.
Higher Bus widths provide higher computer performance. For example, fetching a 16-bit
instruction from memory using a Data bus width of 16 bits would require a single fetch
operation, whereas an 8-bit Data bus would require 2 cycles to fetch the same instruction; hence
slowing the execution of the instruction.
TYPES OF PROCESSORS.
(i). Microprocessors.
(ii). RISC (Reduced Instruction Set Computer) processors.
(iii). CISC (Complete Instruction Set Computer) processors.
MICROPROCESSORS.
The Microcomputers use Microprocessors, which usually have all the required functions on one
chip.
Some of the manufacturers who make microprocessor chips include;
Intel Inc., AMD (American Device Manufacturers) & Cyrix who manufacture
microprocessors for IBM compatible microcomputers.
Motorolla for Apple computers.
MICROPROCESSOR TRENDS.
The following are some of the Microprocessors manufactured by Intel Inc:
Processor Year Speed No. of Data Size of Maximum No. of
(MHz) Transistors Bus Internal addressable memory
width Registers memory Address
(Bits) (Bits) Lines
8088 1979 5-8 __ 8 16 1 MB 20
80286 1982 10 130,000 16 “ 16 MB 24
80386 1985 12 -16 275,000 32 32 4 GB 32
80486 1989 33 - 66 1 Million “ “ “ “
Pentium 75 1993 90 –200 3 Million 64 “ “ “
Pentium Pro 1995 180 –200 5,500,000 “ “ 64 GB 36
Pentium MMX 1997 166 –233 7,500,000 “ “ “ “
Pentium II Xeon 1998 233 –300 “ “ “ “ “
Pentium III 1999 500 –550 “ “ “ “ “
Pentium MMX has Multimedia instructions such as 3-D bitmap manipulation built in them. The
Pentium III Multimedia instructions are 4 times more powerful than those of Pentium MMX
Microprocessors.
59
Computer Hardware
ADVANCED CPU’s.
Larger computers such as Supercomputers, Mainframes & Minicomputers use Processors made
of separate, high speed sophisticated components. That is, the CPU components in large
computers are not all on one chip.
RISC Processors.
The RISC processors are used in manufacture of Minicomputers.
RISC machines are much faster than Micro-processor based machines, i.e. in RISC machines, the
time required to execute an operation is much shorter compared to the time a Micro-processor
would take to execute the same operation.
RISC chips generally use 128 or fewer instructions to execute their tasks. This means that, the
processor has few instructions to locate. They can execute these instructions more quickly & are
therefore very fast.
Again, each instruction is exactly 32 bits long. So, the processor does not waste any power
determining where the instructions begin or end. This makes RISC processors more superior.
They are also cheaper to produce.
Most of the 64-bit RISC machines are manufactured by: -
Digital Equipment Corporation (DEC).
Sun Microsystems.
Hewlett-Packard, and
IBM (International Business Machine Corporation).
CISC Processors.
CISC chips use between 200 – 300 instructions. Therefore, the processor has more instructions
to look up.
The instructions are usually between 8 -120 bits long. This means that, a CPU devotes at least
part of its circuit time determining where instructions begin and end, making them run slowly.
Factors that affect the performance of a Processor.
- Overheating.
- Incorrect configuration (construction / arrangement).
- Failed components.
- Running the processor at the wrong speed.
- Jammed or clogged or too small heat-sink / cooling fan.
- Incompatibility.
- Processor inserted the wrong way.
60
Computer Hardware
The no. of bits in a word is called the Word Size. The most common Word sizes are 16, 32 &
64.
On a given computer, a Word is the amount of storage normally needed to store an instruction.
Memory sizes.
Characters
1 Byte A group of 8 bits 1
1 Kilobyte (KB) 1,000 (a thousand) bytes 103 1,024
1 Megabyte (MB) 1,000,000 (a million) bytes 106 1,048,576
1 Gigabyte (GB) 1,000,000,000 (a billion) bytes 109 1,073, 741,824
1 Terabyte (Tera) 1,000,000,000,000 (a trillion) bytes 1012 1,099,511,627,776
A computer memory is made up of many storage cells called Bytes. Each cell (byte) is capable
of storing 8 bits (binary digits) and has a unique numeric address.
Generally, the memory size of a computer is usually measured in Bytes. The prefix K is taken to
be 1,024 bytes.
For example, when the size of a computer memory is quoted as being, say, 256 Kbytes, this
implies that, there are 262,144 memory cells or the computer has (256 x 1,024) = 262,144 bytes
of memory.
Exercise (a).
1. How is information stored in a computer?
2. (a). Differentiate between a ‘Bit’ and a ‘Byte’.
(b). How many bytes would be required to store the following statement?
COMPUTERS ARE FUN TO USE!
3. Define the term ‘Character’ as used in computing.
4. (a). What is a Megabyte?
(b). How many Kilobytes and how many characters make a Megabyte?
5. The size of a computer memory is quoted as being 256 Kbytes.
(a). How many bytes can that computer hold in its memory at a particular time, if K is
taken to be 1,024 bytes?
(b). Calculate the precise number of characters that could be stored in the computer.
Explain your answer.
Exercise (b).
1. What is a Byte?
2. Name 2 standard 8-bit codes used internationally to represent information in computers.
MAIN MEMORY.
It can also be described as the Primary storage, Internal Memory, Immediate Access storage,
Semi-conductor memories, Core memory, etc.
This is the storage (memory) found within the computer itself.
61
Computer Hardware
It is used to hold data, programs & instructions required immediately (or currently being used) by
the Processor.
A computer can only obey data and program instructions that are stored in the Main memory.
It is Online (very close) to the central Processor, and therefore, any data within the Main
memory is directly accessible to the Processor.
The Primary storage generally consists of the following functional areas:
(a). Program storage area.
Holds instructions from both System software & Application programs, which enter the
central processor from an Input device.
(b). Working storage area.
Is used to hold the data being processed as well as the intermediate results of such
processing.
(c). Input storage area.
It temporarily holds data that has been read from an Input device. Since Input devices
operate at slower speed than the Processor, part of the Input storage area serves as a
Buffer. A Buffer helps free the CPU to get on with other work while the slower I/O
operations are completing.
(d). Output storage area.
Holds the finished results of processing unit released to the user.
General features/ characteristics of the Main memory.
(i). Its operation is wholly electronic, and therefore, very fast, accurate and reliable.
(ii). Data must be transferred to the Main storage before it can be acted on by the Processor.
(iii). It provides direct data access, i.e., data is instantly accessible from the Main memory & the
Processor can act directly on the data.
(iv). It is of low/ limited storage capacity.
The Internal memory of the computer is designed in such a way that it reaches a capacity
beyond which it cannot extend.
(v). It is volatile.
For example, the RAM (the section of the Main memory that stores the user programs,
application data, instructions and intermediate results during processing) loses its contents
immediately when the power is switched off.
The Main memory is therefore, used to store temporary programs and data.
(vi). The speed of the processor depends on the Main memory.
(vii). It is very expensive, due to the technology involved & the elements used in making them.
Question. Identify the advantages and disadvantages of Primary storage.
63
Computer Hardware
Programmable ROM (PROM).
This is a ROM that can be programmed or “customized” directly by the user using a special
PROM programmer to suit the needs of a particular task.
Customizing is the process by which a standard product is adapted for use in a particular
situation.
Types of RAM.
(a). Static RAM (SRAM).
64
Computer Hardware
A Static RAM is able to maintain its data as long as power is provided to the memory chips.
It does not need to be re-written periodically. In fact, the only time the data on the memory
is refreshed or charged is when an actual “Write” command is executed.
SRAM is very fast & is currently being used in the Main Processor as a small amount of
high-speed memory called the Cache memory.
(b). Dynamic RAM (DRAM).
A Dynamic RAM uses capacitors to store information. The information is stored in the
Capacitors as a charge. Like any charge, the electrical charges in individual memory
capacitors of a DRAM will drive away (leak) causing the data to either be lost or changed
within a few milliseconds.
This means that, unlike SRAM, a DRAM must undergo the Refreshing process, i.e., it must
be re-written continually in order for it to maintain its data. This is done by placing the
memory on a Refresh circuit that re-writes the data several hundred times per second.
Refreshing involves reading the information out of, and then writing it back into the
memory, thus restoring a full charge.
DRAM is used widely for most computer memories because it is cheap & small.
Exercise (b).
1. Identify the TWO types of Primary memories found in the Central Processing unit.
2. State how RAMs and ROMs are used in the computer system.
3. Carefully distinguish between ROM, PROM and EPROM.
4. What type of memory is used to store the boot up program (the first program to be executed
on switching on a computer)?
6. State the main differences between Main memory and Backing storage.
Since the memory chips are too small, they must be combined and put on a medium that can be
worked with and added to a system. To achieve this, the designers place the memory chips on a
small fiberglass card to create the SIMM (Single Inline Memory Module) or DIMM (Double
Inline Memory Module).
These cards are placed in a socket on the motherboard, and then fastened/ bolted in. This design
eliminated problems of the past, and made upgrading memory a simple task.
Exercise (a).
1. (a).What is meant by ‘Secondary Storage’?
(b). Explain 3 reasons why it is necessary for a computer system to have secondary storage
facilities.
(c). Outline 3 basic characteristics of Secondary storage devices.
2. (a). State THREE differences between Primary storage and Secondary storage.
(b). Give TWO reasons for using secondary storage devices instead of using Primary
67
Computer Hardware
storage.
3. (a). Give two examples of secondary storage devices.
(b). State 4 functions of secondary storage devices in computer systems.
Exercise (b).
1. Explain the salient features of computer secondary storage.
2. Why do we need secondary storage on a computer system?
3. (a). State any four advantages of secondary storage over main memory.
(b). State one primary storage device and one secondary device.
MAGNETIC DISKS.
A Magnetic disk is a round platter made of a plastic or a metal & coated with a magnetic
material, which is used for storage of information.
Magnetic disks can be used:
(i). Store backup data that is not being used currently.
(ii). To install new software.
(iii). To transfer/ transport files from one machine to another.
(iv). To back up small amounts of files for safekeeping.
Magnetic Disk storage – A storage device or system consisting of magnetically coated disks, on
the surface of which information is stored in the form of magnetic spots arranged in a manner to
represent binary data. The data are arranged in circular tracks around the disks and are
accessible to reading and writing heads on an arm which can be moved mechanically to the
desired disk and then to the desired track on that disk.
68
Computer Hardware
Floppy disk units are single-drive units able to hold a single disk. The disk unit is incorporated
physically into the body of PCs. Such disk drives are called Internal disk drives.
A Floppy disk is made from a thin, flexible plastic circular material. The plastic material is
coated with a magnetic substance (usually Iron Oxide), which enables data to be recorded on the
disk.
The plastic disk is protected in a rigid smoothly lined plastic envelope; that safeguards the
recording surface against external influences, e.g., touch and dust accumulation onto the
recording surface.
Floppy diskettes can bend easily.
The diskettes are relatively cheap and conveniently handled. However, they are only suitable as
storage media in Microcomputer systems because, they store relatively low volumes of data and
have a short life.
The storage capacity is influenced by the no. of sides of the plastic base coated with magnetic
material & the storage density, measured in bytes. The common storage capacities are 360, 720,
& 1,440 bytes.
In single-sided disks, data can only be recorded on one side, whereas in double-sided disks, data
can be stored on both sides.
The disks come in different densities. The Low density (single-sided) disks, which hold 720KB
of data & High-density (double-sided) disks, which usually hold 1.44MB of data.
69
Computer Hardware
70
Computer Hardware
• The 5.25 inch diskettes are flexible, while the 3.5 inch are rigid.
• 5.25 inch diskettes have a max. of 15 sectors, while 3.5 inch diskettes have a max. of 18
sectors.
• The 3.5-inch disks store more data, and are better protected. They have now replaced the
5.25-inch diskettes, which are only used on existing 8088 PCs.
The disk surface is divided into concentric circles called Tracks. The Tracks are further sub-
divided into Sectors, which are used for data storage. Data or information is recorded on the
Tracks & sectors. Typically, each sector is 512 bytes.
The tracks are described as concentric, because they allow the moving around one track from a
given start point and end up at the starting position.
HARD DISK.
Hard disk is made of metal & is usually rigid/ firm.
Hard disk is not removable like the floppy disk, but it is fixed inside the computer. However, it
works on the same basic principles as the floppy disk.
A hard disk is made up of one or more platters (disk plates), arranged one on top of the other to
form a disk pack. The platters are made from a metallic material, usually an Aluminum alloy or
Glass in order to make them light.
The glass platters have enough Ceramic within it to resist cracking & also they can better resist
the heat produced during operation.
Each platter is coated on both sides with a magnetic material, usually Iron Oxide, which enables
data to be recorded on the platter. This is why many platters are brownish orange in colour.
The mixture (of the magnetically sensitive substance) is poured on the platter, then spinned to
evenly distribute the film over the entire platter.
The disk pack plates are held on a rotational Spindle, which is used by the drive motor to rotate
the plate surfaces past the Read/write heads in order for the read & write operations to be
performed on the recording surfaces.
Data is written on & read from the disk using Read/write heads in the disk drive, under the
influence of the computer’s command signals.
The heads are attached to a device or an access arm called the Head Actuator, which is used to
move the read/write heads across the platters to the destination track.
71
Computer Hardware
There is usually 1 Read/write head on each side of a platter & all the heads are attached to a
single actuator shaft so that the heads move in unison. Each head has springs to force it into the
platter it reads.
When off, the heads float between the surfaces of the platters, which are held in a vacuum that
enables it to spin/ rotate around very quickly.
When the drive is running, the platters rotate causing air pressure that lifts the heads slightly off
the platter surface. The disk rotates & the heads can move in & out over the surface to record or
read data on the various tracks.
Notes.
The Read/Write heads do not touch the disk plate’s recording surface. They fly over to avoid
the R/W head’s ‘crash’, which may result in the wearing away of the magnetic coating over
the recording surfaces that may cause loss of the recording property of the magnetism.
The distance between the head & the platter is very small such that the drive must be
assembled & repaired in a very clean room because one dust particle can throw the whole
drive off.
ZIP DISKS.
Zip drives act as either external or internal devices.
The Zip disk is found in a hard plastic case, and like the diskette, it uses a magnetic material
for double-sided recording & reading.
Zip drives are larger & their read/write heads can operate more efficiently than those on a
regular floppy disk drive.
Zip disks are usually portable.
Each disk can hold up to 100 MB.
MAGNETIC TAPES.
These are the storage media mostly used in Mini and Mainframe computers.
A Magnetic Tape reel is made of a plastic ribbon/ band coated on one side with a magnetic
material that enables data & instructions to be recorded/ stored on the tape.
Magnetic Tape – a tape with a magnetic surface on which data can be stored by selective
polarization of portions of the surface.
The reels of the Tape are stored in a protective case, which safeguards the recording surface of
the reel from environmental destructions, e.g., touch, dust, direct sunlight radiations, etc.
74
Computer Hardware
Usually, a plastic ring (the Permit ring) is affixed on the Permit Ring Groove, which is on the
case, before the tape is mounted in its deck. The Permit ring is used to protect/ safeguard the
contents of the tape.
If the permit ring is affixed, the tape surface can be written to & read from, hence it is possible to
alter the contents of the tape. If the permit ring is not affixed onto its groove, the tape surface
can be read but cannot be written to; hence the tape user cannot alter the tape contents.
The width of the tape is divided into Tracks, while the length is divided into vertical columns
called Frames. Each frame is made up of 7 storage unit areas (bit positions). These frames are
used to store individual characters across the tape width.
The recording surface of a tape has 7 or 9 tracks running along its length. Each recording
position on a track can be magnetized to represent a ‘1’, while that which is not magnetized
represents a 0. Thus for a 9-track tape, each frame contains 9 bits & is used to represent 1
character.
A tape is usually ½ (0.5) inch wide & 2,400-feet long. The characters are recorded across the
tracks on the tape.
under the Read/Write head (or at least skipped over) to reach the record the user is
searching. Hence, slow data, instruction and information retrieval.
This means that, if you need to process records in a different order, let say, record 100
followed by record 5, followed by record 50, the processing would be slowed down a lot
because the tape would have to move back & forth. However, if the records have to be
processed in sequence, i.e. from the first to the last, it would be fast.
(ii). Data stored on magnetic tape (& disk) is not human-readable.
E.g., if you wish to verify the accuracy of data stored on the tape, a computer run would
have to be made, in order to read the contents on the tape and print it.
(iii). Tapes have short life spans (average of about 2 yrs).
(iv). A tape is susceptible (prone) to dust, stroke & magnetic fields; which can distort (deform)
data on the tape causing tape-reading errors.
(v). Tapes do not fully use their recording surface.
An inch of tape may hold 1,600 - 6,400 characters & the IRG may be 0.5-inch. This means
that, almost a ⅓ of the unused space on the tape is wasted.
Differences.
Magnetic Tape Magnetic Disk
1). Consist of a strip of plastic, i.e., reels of 1). Consist of round platters made of plastic
tape. or metal.
2). Only 1 side of the tape is coated with a 2). Both sides of the platters can be coated
magnetic material for recording data. with a magnetic material for recording
3). 1 track of the tape is not used for data data.
storage, but for parity check, i.e., to 3). The whole disk surface can be used for
ensure that data recorded & transmitted recording data. However, in hard disks,
is accurate. the top most surface of the 1st plate &
bottom most surface of the last plate are
not used for recording data as they can
easily be scratched.
4). Requires tape drives to write 4). Require disk drives to read or write data
information to & read data from the in the disks.
tape. 5). Data is stored on the disks in files,
5). Data is stored on a tape in form of folders or directories.
records that are organized in blocks. 6). Have no blank spaces between the tracks
6). Have Inter-Block/Record Gaps (blank on the recording surfaces. However,
spaces) separating two successive they use a recording method known as
blocks or records. Tunnel Erasure; which is used to keep
each track of data separate from the
others.
7). The records on a tape are read 7). Data recorded on a disk can be read
sequentially, i.e. one record after sequentially or directly.
another in the order they occur on the
tape. 8). Data is recorded on concentric circles on
8). Data is recorded across the tracks on the the disks called tracks.
tape or serially down the length of the
tape.
PUNCHED CARDS & PUNCHED PAPER TAPES.
These are paper media, which were used as storage media by the early computers.
They been replaced by the magnetic media, due to the following reasons:
(i). They are bulky.
(ii). Provide slow input.
(iii). They are non-reusable.
(iv). They can be destroyed due to dust.
(v). Costly to produce - the punching & verification are tedious and expensive.
OPTICAL DISKS.
Optical disks use Lasers to read or write data. When writing, a laser beam is used to align a
permanent data pattern on the disk surface. When reading, the data contents are sensed by the
pattern of light reflected from the beam by the data on the disk surface.
There are 2 types of Optical disks:
1. CD-ROMs (Compact disc Read-Only Memory)
2. WORM (Write Once Read Many) discs.
77
Computer Hardware
CD-ROMs (Compact Disc Read Only Memory).
What is CD-ROM (Data CD)?
A CD-ROM (also known as a data CD) is a compact disc used to store computer data.
CDs (Compact discs) were originally developed for the music industry. They use small disks
identical to the ones that hold music to hold computer information.
They have higher storage capacities than traditional Magnetic disks.
The current CDs can hold about 650 MB of data compared to the 3.5” floppy diskette, which
can only hold 1.44 MB of data.
This storage capability enables programmers and other data distributors to write more
sophisticated programs for computer users, because they are no longer limited by data storage
space.
78
Computer Hardware
(vi). CDs are used in Multimedia (the integration of text, motion video, graphics, & sound).
Programmers pack Multimedia in the CD-ROMs enabling consumers to enjoy the work of
multimedia inventions.
(vii). To provide reference works, catalogues, directories, encyclopedias, software front
descriptions, graphical images and sound.
CD-RW (ReWriteable).
It is possible to record data on a CD-RW more than once. With CD-RW drive you can also erase
the contents of a CD and re-write new information to it.
In addition, CD-RW drives can play audio CDs, use the regular CD-ROMs & read CD-R discs.
This makes CD-RW drives very desirable.
Most CD-RW drives can also record to CD-R discs, making it possible to use CD-R discs with a
CD-RW drive.
Advantages of CD-RW.
(i). Used when you need to erase the data and re-write new information (e.g., updating files).
Data written to a CD-RW is not permanent, i.e. it can be overwritten or erased.
(ii). Used to make a practice CD or to test the contents of a CD before making a permanent one.
(iii). More cost effective for near line data storage requirements than CD-R.
Disadvantages of CD-RW.
(i). CD-RW drives & media are expensive/more costly than CD-R drives.
(ii). CD-RW are slower than CD-R & CD-ROM drives.
79
Computer Hardware
It takes about 1hr to format CD-RW discs & about ½ an hour to copy 250 MB of data to the
disc, while CD-R discs take a few minutes to format and have the same write time.
(iii). Data can be read and written to CD-RW discs only by CD-RW drives.
(iv). CD-RW drives are currently facing stiff competition from the DVD-Recordable (DVD-R)
because the DVD-R can store more information than CD-RW.
Note. Both CD-RW & CD-R can be read by standard CD-ROM drives.
Reasons why Optical discs (CD-ROMs) are not mostly used in microcomputer
systems as secondary storage media.
1). CD-ROMs require special writers to write to the disk. The CD Writers are usually
expensive, thus limiting the utility/ usefulness of CD-ROMs as computer storage devices.
2). Are expensive (not economical) especially if used for low storage volumes.
3). Require CD-ROM drives to use the discs, which are not installed on most desktop
computers.
4). Most CD-ROMs are produced by the manufacturer or can only be written once. Therefore,
they are not reliable especially for businesses that may need to re-programme the CDs to suit
their needs.
5). Are slow to prepare, i.e., it takes time to format & also to copy data into the discs, e.g. CD-
RW disks take about 1hr to format & about ½ an hr to copy 250 MB of data to the disc.
6). The Access speed of an Optical disk is low.
80
Computer Hardware
DVD (Digital Video Discs).
A DVD looks like a CD-ROM. However, a DVD can store much more information.
For example:
A single-sided DVD can hold 4.7 GB of information (a 133 minutes of full-motion video), while
a double-sided DVD can hold 17GB of information (the equivalent of 8 hrs of studio quality
video); enabling most movies to be stored on a single disc.
This amount of storage gives software programmers flexibility when it comes to designing
programs. They are able to store all the high-quality graphic images, digital sound & tools they
want in a single DVD.
Currently, DVDs are used primarily for movies. The DVD videos offer superior pictures &
sound, the ability to play audio CDs in a DVD player, and pictures that are sharp & clear than
VHS videotapes.
To use a DVD, your computer should have a DVD-ROM. To read the DVD-ROM, a DVD-
ROM drive is required.
In order to enjoy all the functionality of a DVD, the computer must have a Motion Picture
Expert Graph (MPEG) decoder card or MPEG software. This enables the user to view full
screen video or video clips from a DVD video disc.
DVD drives are reasonably/ fairly priced.
DVD drives can read all other ROM formats - audio CDs, CD-ROMs, CD-R, CD-RW & DVD-
ROM discs.
The current DVDs are not recordable, i.e. they don’t have the ability to record information.
Volume - A term used for any individual physical storage medium that can be written to or read
from. E.g., a fixed hard disk, floppy disk, CD-ROM, a disk cartridge or tape cartridge.
Formatting - Before a diskette can be used, it must be formatted. This prepares the disk so that
the drive can use it.
Initialization - Before a disk is recorded, it has to be initialized, i.e., writing zeros to every byte
on every track. This eliminates all trace of any existing data.
Fragmentation - When data is written on a newly formatted disk, it is usually written to unused
contagious sectors. If data is erased, then the deleted sectors may leave spaces among used
81
Computer Hardware
sectors. Overtime, after many inserts and deletes, these free sectors may be scattered across the
disk. In such a phenomenon, the disk is said to be fragmented.
OUTPUT DEVICES
When the computer processes the data (or after the computer finds the solution to the problem), it
displays the results (or communicates the solution to whoever posed the question) by use of an
Output device.
The term Output is used to describe all that comes out, from the computer memory, or from the
processing stage of a data processing system to the external environment.
Output therefore, involves receiving information (processed data) from the computer through a
suitable device for external use.
An output device provides the user with the results from the computer.
DIVISIONS OF OUTPUT.
Output can further be classified as: -
1. Hardcopy output.
2. Softcopy output.
SOFTCOPY OUTPUT.
This is where the end results are displayed on a screen. The user can see the results, but cannot
touch them.
82
Computer Hardware
The output lasts for a short-time only, i.e., it is available only as long as it appears on the screen.
Examples of Softcopy Output devices.
Visual Display Units (VDU) / Monitor.
Audio Response Units.
Speakers.
HARDCOPY OUTPUT.
Hardcopy implies that the output is permanent, i.e. it can be retained for an indefinite period.
The user can see & touch the results.
Hardcopy is desirable if the information or the results of the computer working is to be
maintained for future reference/ use.
Examples of Hardcopy Output devices.
Printers.
Graph Plotters.
Microforms.
Exercise (a).
1. (i). What is the difference between “Hardcopy” and “Softcopy”?
(ii). Name TWO output devices which produce temporary output.
(iii). Name THREE output devices which produce permanent output.
2. What are the factors, which determine the choice of output media and device?
Exercise (b).
1. List FIVE different types of computer Output devices.
83
Computer Hardware
2. LCD’s have no flicker.
3. They consume low power than the CRT.
The performance of a computer Monitor depends on 3 factors: -
(a). Size of the screen.
(b). The number of colours it can display.
Monochrome monitors - display only 1 type of colour (Black for Background & White
for Foreground).
Colour monitors - display a variety of colours.
Examples; Enhanced Graphics Adapter (EGA), Video Graphics Adapter (VGA), Super
Video Graphics Adapter (SVGA).
The higher the no. of colours displayed, the more realistic the images.
(c). The Screen resolution (or sharpness of the image), which is determined by the no. of
pixels.
The Viewing angle - the picture appears clear when viewed straight on or a certain amount
of degrees off the center; but when you are too far over to the side, the picture grows too
dim to see.
A VDU can be used to display lines of text as well as graphics (images, pictures & drawings).
When used for output of text, a typical display unit is made of 24 lines; each line consisting of
between 40 – 80 characters.
When used for output of Graphics, the screen is considered to be composed of a no. of dots
arranged in rows & columns.
Each dot is called a Picture element (or Pixel).
A Pixel is a screen dot & is a direct mapping of the information (e.g. character) in the Video
RAM contained in the monitor’s Adapter card.
To display an image on the screen, the selected pixels are brightened or darkened.
The term Resolution is used to describe the no. of pixels per unit area of the screen. E.g., the no.
of pixels per cm2.
If there are few pixels per unit area, the display is said to be of a Low-resolution. If there are
many pixels unit area, we talk of High-resolution display.
The higher the screen resolution, the finer & the higher the no. of different images that can be
displayed.
Note. Specific applications require certain resolutions to be able to run, e.g., Microsoft Windows.
Screen burnout.
This is a term used to describe the damage caused to the inner surface of the screen display.
Inside the Monitor, an electron beam is aimed at a Phosphor-coated screen. If a screen display is
static, the electron beam continually strikes the same place on the screen surface, and eventually
burns a hole in (or wears away) the Phosphorus coating. This might take several days or weeks
to occur.
Note. Damage to the screen cannot be repaired. The damage is visible by turning & inspecting
the screen surface closely. If an image can be seen, then the screen has suffered damage (i.e. it
has burned out).
Factors that determine how severe the screen burnout is.
(i). Type of Phosphorus coating used on the screen’s inner surface.
(ii). Length of time the screen image remains constant.
(iii). The brightness & contrast of the screen.
How to avoid screen burnout.
Screen burnout can be avoided by applying the following common sense principles: -
1. Switch the Monitor off, if you wish to be away over long periods.
2. Turn down the screen brightness, if leaving the machine unattended.
3. Using a “Screen Saver” program.
Disadvantages of VDU.
(i). Produces softcopy output, i.e., the output is temporary & can get lost when the power is
switched off.
(ii). It is impossible to produce multiple copies.
(iii). It causes fatigue to the user’s eyes, especially when stared at for a long duration.
(iv). Can lure computer operators into not keeping hardcopy records.
(v). Screen might not allow the viewing of the full area of data.
86
Computer Hardware
Factors to consider when selecting/ buying a Monitor: -
1. Compatibility with the adapter card: The monitor must be capable of displaying the
pictures that the display adapter card can generate. Otherwise, the display will be unstable.
The Video card must be compatible with your computer’s bus.
2. Memory: You should have at least 2 MB of Video memory, but if you have a larger
monitor, start with 4 MB of memory. Look for a video card that has room for expansion in
the future in case you have to buy a larger monitor.
3. Monitor size: This is the distance diagonally across the face of the monitor. The larger the
monitor size, the more the viewable picture area.
4. Resolution and Refresh Rate: Both features depend on each other. They work hand-in-
hand to produce a clean image.
Refresh Rate (sometimes referred to as Scan Rate) is the no. of times per minute that a
computer screen image is renewed (or the rate at which each pixel on a screen is re-drawn).
The Refresh Rate is measured in Hertz (Hz).
Make sure you know the refresh rate of your monitor. The recommended refresh rate is 60
Hz & above. The higher the refresh rates, the better.
A low refresh rate results in an image that flickers (shines unsteadily), resulting in eye-strain.
The standard for flicker-free images is 85 Hz. To detect flicker, look slightly above or to the
side of the monitor. Sometimes, it helps to be in a darker room.
Your Video card plays an important role in all this. If your card cannot provide support for
the resolutions and refresh rates of the monitor, the picture will look degraded. When pairing
a video card with a monitor, at least make sure that it is capable of delivering a 72 Hz refresh
rate at any resolution supported by that monitor.
Note. In order to stop images fading on the screen, they must be refreshed (sent to the screen)
at least 50 times per second. Each pixel on the screen has 3 bits of information
(corresponding to Red, Green, & Blue) attached to it, and all of them have to be redrawn at
high speed.
The higher the resolution, therefore, the more strain is placed on the performance of the
monitor’s Adapter card.
Speech synthesizers are being included in many consumer products. For example,
A Bathroom scale with a synthesizer can tell a person his weight, and whether he has gained
or lost weight.
87
Computer Hardware
In Cameras, they can tell you if your film or exposure is set wrongly.
A washing machine with a synthesizer can tell you if and when to add more detergent, or the
fabric conditioner.
Advantages of Voice Output.
(i). It is very fast, making it useful in emergency situations to relay messages.
(ii). Can be used for distant communication, especially if done over Telephone lines.
(iii). Useful where reading is impossible - can be used by visually disabled people.
(iv). Errors are easily corrected. For example, when used in a washing machine, it can tell you
if and when to add more detergent, or the fabric conditioner.
Disadvantages/ Limitations of Voice Output.
(i). The output is not permanent.
(ii). It may be boring, especially for prolonged output.
(iii). Cannot be used by people with hearing problems.
(iv). If the message is conveyed through beeps, it may be hard to understand.
PRINTERS.
A Printer is an output device that facilitates the transfer of information from a computer to a
paper. It is used when a permanent record of the output may be needed on paper.
Printed output is usually referred to as Hardcopy output, which means that the document can be
kept indefinitely for future reference or use. The printed output can be distributed conveniently
to reach the recipients of such information/results.
CLASSIFICATION OF PRINTERS.
Printers are basically classified in 3 ways: -
(1). In terms of Print speed.
- Low-speed.
- High-speed.
(2). According to the amount of text it can print per given period of time.
- Character Printers.
- Line Printers.
- Page Printers.
(3). The method used to produce the characters on the stationery/ paper.
- Impact Printers.
- Non-impact Printers.
88
Computer Hardware
Are comparatively slow & less costly than Line or Page printers.
Have printing speeds that vary from 10 to over 200 characters per second (cps).
They usually use the Daisy wheel or Dot-matrix printing mechanism.
LINE PRINTERS.
They usually print one whole line at a time.
Are more expensive than the Character printers, but less costly compared to the Page printers.
PAGE PRINTERS.
Print 1 whole page at a time.
Are faster & relatively more expensive than both Line printers & Character printers.
Page printers are Non-impact printers, i.e. there printing operation is silent.
They provide high quality outputs.
E.g. Laser printer.
89
Computer Hardware
Shaped character printers produce each character by use of the whole character symbol
just like as in an ordinary typewriter.
PRINT SPEEDS.
The speed of a printer is expressed in Characters per second (cps), Lines per minute (lpm), or
Pages per minute (ppm).
There are basically 2 types of printers: -
Low-speed printers.
High-speed printers.
Each type is then classified further based on the technology used for producing the output & the
amount of text it can print per given period of time.
1. LOW-SPEED PRINTERS.
They usually print between 10 cps to approx. 300 lpm.
Note. All Character printers can be classified as low-speed printers.
The different types of low-speed printers are: -
Dot-matrix. Daisy wheel.
Golf ball. Thermal printers.
Inkjet printers.
2. HIGH-SPEED PRINTERS.
Are able to print between 300 to approx. 3,000 lines per minute.
High-speed printers are broadly classified into: -
(i). Line printers.
(ii). Page printers.
LINE PRINTERS.
Note. Line printers have a high speed as compared to the Character printers. For example, if a
line of 80 characters is to be printed, the character printer need to strike against the stationery
through the inked ribbon 80 times before all the character images forming the line are passed
on the stationery. A Line printer only strikes once for the whole line of 80 characters to be
printed onto the stationery through the inked ribbon.
There are 3 types of Line printers: -
Drum printers.
Chain printers.
Electrostatic printers.
90
Computer Hardware
The following factors are to be taken into consideration while selecting a printer.
1. The Cost involved.
This will include the printer’s initial price, the costs of maintenance & the cost of consumable
items, e.g. printing papers, ribbons/cartridges, etc.
2. Volume of printing expected.
This will help in selecting a printer in terms of print speeds.
3. The nature of the reports to be generated & their recipients.
The printing quality, such as the capability to print graphics & colour printing should be
considered with respect to the needs of the recipients.
4. The capability for the selected printer.
These include multiple copy production, print styles, page width, etc.
5. Compatibility with other computers.
This will involve the interface with the computer system being used and/or make of particular
computer.
6. Environment in which the Printer will operate.
7. Reliability of the Printer.
8. Application it is required for & also the available application software packages.
9. Stationery (type of paper) used by the printer.
10. Documentation.
Printer driver - A program that controls how your computer and printer interact.
Tip. You might get bad work when you send graphics to a non-graphic printer or when you use a
wrong driver.
Question. Explain how the factors identified in this chapter could influence the choice of
printer to be used on a computer system.
91
Computer Hardware
GRAPH PLOTTERS.
These are output devices that produce graphics, such as diagrams, maps, images, statistical charts
etc, on paper.
Plotters use pens of different types, varying thickness & different colours, in order to plot. The
pens are usually under the direct or indirect influence of electronic pulses output by the
computer.
Plotters are described/ named depending on the type of the base onto which the stationery is
placed for the graphical output to be produced onto the paper.
The 2 commonly available Graph plotters are: -
(i). The Drum plotter.
(ii). The Flatbed plotter.
Characteristics of Graph Plotters.
- They are large in size.
- They use Ammonia papers.
- They use special ink.
- Have a wide carrying capacity.
Uses/ applications of Graph Plotters.
Graph Plotters are used: -
In Computer Aided Design (CAD) – are mainly used for printing large architectural or
engineering drawings. In this case, the computer is used to form the graphical design & the
Plotter produces the output.
In Weather forecasting for drawing Isobars on weather maps.
In Statistical work for producing graphs or complicated mathematical formulas.
In Cartography to produce contour maps.
In Craft & Textile industry for drawing designs.
Advantages of Graph Plotters.
(i). Can produce information in an easily understandable form.
(ii). Their presentation is quick & reliable.
(iii). They produce large graphical designs of high quality, which are easy to read & use.
(iv). A Plotter can be used to print even on A1 sized papers, while the largest paper size that can
be used with a normal printer is A3.
Disadvantages of Graph Plotters.
(i). They require Graphic software, which is usually very expensive.
(ii). Graph plotters operate at low speeds, hence are normally connected in an Off-line mode to
avoid wasting the computer time.
Applications of COM.
Microfilm output is conveniently suited to applications/ areas where: -
There is bulky storage of information.
The volume of output is high, say, 100,000 pages per month.
The data must be stored for long periods and use or update is not frequently necessary; as in
case of old copies of customer’s files in banks, or back copies of newspapers. Such data is
usually referred to as Archival data.
In Postal services, where the cost of mailing a microfiche is considerably less than mailing
the equivalent bulky report.
Examples of areas where the COM is used in:
Libraries for books, catalogues, references, etc.
Government authorities - to retain/ keep Town plans, maps, statistics, etc.
93
Computer Hardware
Banks, Insurance companies, etc to store personnel or customers records.
National Registration Board for security purposes.
Registration of Motor vehicles, i.e., for Logbook and details of the vehicle.
Immigration department – issuing of passports (originals and passports).
National Archives.
Thomas de la Rue – concerned with printing of money (both original & copies).
Advantages of using the COM.
(i). Saves on stationery and space.
(ii). Capable of producing many copies.
(iii). A very fast form of output -usually faster than printing.
Using the COM, the equivalent of 30,000 – 40,000 lines of output can be produced per
minute (which is 20 times faster than the fastest Impact Line printer).
(iv). Not bulky, hence conveniently transportable.
(v). The microform contents are not easily read using naked eyes, hence guaranteeing the
security of the reports.
(vi). It lasts longer as compared to paper medium output.
(vii). Compared to paper, the film costs are low. However, the initial cost is high, because the
necessary equipment is expensive.
Disadvantages of Microforms.
(i). They are expensive.
(ii). Cause eye-strain if an attempt is made to read microform contents.
(iii). Requires special equipment for viewing the contents of the microform & for producing
full-sized copies.
(iv). The contents in a microform are not easy to update.
(v). They are less convenient.
Exercise (a).
1. (i). Name FOUR types of Monitor cards or Adapters.
(ii). What is meant by the term “Resolution” as applied to a graphics display?
(iii). Why would one wish to use a high resolution rather than a low-resolution display?
2. Computer output is normally made through Screen or Printer. Compare Screen and Printer as
output devices.
3. With reasons, briefly describe the most appropriate type of printer or output device for the
output of:
(i). Customer invoices on multiparty stationary.
(ii). Letters to customers.
(iii). Detailed engineering designs.
4. (a). Name some everyday appliances/ devices in which an Audio response unit would be
useful.
(b). Identify 4 Limitations of the Speech Recognition devices found today.
5. Give THREE Factors used to classify Printers. Describe the various types of Printers in each
class.
6. (a). Name THREE different principles which are used for producing printed output.
(b). Clearly differentiate between Impact and Non-impact printers.
(c). Give two examples of the commonly used Non-impact printers.
7. Give one device, which can perform both input and output functions in a computer.
8. Write short notes on the following:
(i). Dot-matrix printer.
(ii). Daisy wheel printer.
(iii). Golf-ball printer.
(iv). Drum printer.
94
Computer Hardware
(v). Chain Printer.
(vi). Laser printer.
9. (a). A printer, which is connected to your computer prints garbage when required to print.
What could be THREE probable reasons for not printing properly?
(b). Why is it not possible to print a Graphic on a Daisy Wheel printer?
10. (a). What is a Plotter?
(b). What advantages does a Plotter have over normal Printer machines?
11. (a). Describe the process of producing Computer Output on Microform (COM).
(b). Give the advantages of Computer Output on Microform offer printed output.
12. State TWO advantages and TWO disadvantages of using each of the following devices for
output.
(i). VDU (monitor/ screen).
(ii). COM.
(iii). Voice Output.
(iv). Printer.
Exercise (b).
1. Explain briefly how the following devices work.
(a). Voice (Speech) synthesizer.
(b). Computer Output on Microfilm (COM).
2. (a). Define a Printer.
(b). With the aid of a diagram, show how Printers are classified.
3. Compare and contrast:
(i). Impact and Non-Impact printers.
(ii). Inkjet and Thermal or Electrostatic Printers.
4. (a). Why do you think a Desktop Laser printer is a popular choice of printer to use with a
Workstation?
√ High volume of output – a high-speed Laser printer will print 146 pages per minute.
√ Output quality is very high (400 – 1200 dpi) – it can produce both text & diagrams or
pictures of high quality and therefore can be used to produce manuals and small
publications.
(b). What printers are suitable for producing business letters?
(c). What factors should you consider when selecting or purchasing a Printer?
5. Describe in brief the difference between:
(a). A Flatbed plotter and a Drum plotter.
(b). Microfilm and Microfiche.
Exercise (c).
1. (a). What are the essential differences among Character, Line and Page printers?
(b). Give a typical example of each.
2. Describe the factors to be considered while selecting a printer.
3. Write short notes on the following: -
(i). VDU.
(ii). Graph Plotters.
(iii). Voice Output.
4. (a). What is a Computer Output on Microform (COM)?
(b). Explain the working of COM system.
(c). Give the advantages and disadvantages of COM.
5. Explain the Printer under the following headings: -
(i). Character prints per given time.
(ii). Print provision, i.e. the way they provide the prints onto the stationery.
(iii). Print speed.
Give an account of the operational characteristics.
95
Computer Hardware
SYSTEMS INTERCONNECTION
THE MOTHERBOARD (also called System Board or Circuit board).
Computers, like all electronic circuit devices are made of printed Circuit boards (electronic
boards on which copper wires have been printed to form circuit paths).
The Motherboard is the main part (large circuit board) of your computer that every thing else
plugs into.
It is usually a sheet of olive green or brown fiberglass with several thin gold lines on it and chips
sticking off it.
By itself, the Motherboard is just an empty plate. It’s the hardware that sits on it that does the
work. On it, we have the CPU, SIMM sockets, BIOS and slots.
The Motherboard provides a convenient method of inter-board connection. It is where all
electronic components such as the Microprocessor, Memory chips, Interface chips, and Bus
connections are assembled.
The motherboard also contains a no. of expansion slots in which Interface cards are slotted
(plugged in).
The little gold lines are called Buses and act as roadways of information between all these
features. The buses enable the parts to communicate and perform the functions of your
computer.
COMPONENTS ASSEMBLY.
The basic Microcomputer system consists of the Motherboard, the Power Supply unit, Hard disk
& Floppy disk drives, I/O interface cards, Disk controller card, Video card, optional CD-ROM
drive, Sound and Network interface cards.
All these components are housed in a cabinet (or Chassis). The cabinet has rear connectors for
peripheral devices through the motherboard or interface cards.
The Interface cards are usually plugged into the microcomputer’s card slots with power-supply
voltages and bus signals distributed to the card slots.
Cables then go from connectors on the interface cards to the peripheral devices.
97
Computer Hardware
HARDWARE FACTORS.
Some factors considered when selecting a computer hardware are:
(a). Processor Speed.
Every computer has a clock that drives its operation. The Processor speed is the speed at
which the system Clock synchronizes the operations of the CPU & can be measured in
Hertz or Megahertz (1MHz = 1 million cycles per second).
The processing power of a computer depends on its Processor speed & the amount of data it
can handle at the same time.
100
Computer Hardware
A multimedia system should have Speakers, CD/DVD drive, Sound card, and a SVGA
monitor. It should also have software that supports multimedia capability.
SOFTWARE FACTORS.
101
Computer Hardware
In case the off-the-shelf software does not fit the needs of the users, it would be advisable to
develop in-house software, even though they may be a bit more expensive.
Computer costs.
The cost of introducing a computer into the organization depends on Size, Nature & the
application requirements of the affected organization.
102
Computer Hardware
Small & simple organizations may require less sophisticated computer installations. Big &
complex business organizations may require complex configuration and sophisticated related
facilities.
The costs for installing a computer system may be classified as;
1. Initial costs.
2. Recurrent costs.
Initial costs.
This is the initial capital expenditure onto the computer facilities when they are being acquired.
These costs depend on the Type, Nature and the Model of the facilities to be acquired.
The costs are influenced by the method used to acquire the computer and its related facilities.
The organization should consider ways or plans of acquiring the following facilities:
Facility Examples
Hardware C.P.U and Peripherals
Software System and Application programs
Storage Media Tapes, Disks, Cassettes, etc.
Training Managers, Analysts, Programmers, Operators, etc.
Computer room Construction, Environmental conditions, Equipments, etc.
Others Feasibility study, Programming, Changeover costs, etc.
Recurrent costs.
Once the computer facilities have been acquired and the system becomes operational, the
operating costs for the computer system have to be met by the organization.
Examples of such costs are:
(i). Depreciation costs – the charges on depreciating machines & other equipments, e.g., Air
conditioning facilities.
(ii). Wages of staff, e.g., Analysts, Programmers, Operators, etc.
(iii). Administration expenses, e.g., Telephone bills, Insurance cover, consumable costs, etc.
(iv). Other general expenses, e.g. conducting seminars, on-job training for staff, etc.
OPERATING SYSTEMS
Definition.
An Operating system is a set of programs that is used to manage the basic hardware
resources of a computer.
This is the main program that controls the execution of user applications, and enables the user
to access the hardware & software resources of the computer.
When the computer is switched on, the OS programs run & check to ensure that all parts of the
computer are functioning properly.
103
Computer Hardware
Application software
(Send users requests to the OS)
Operating system
(Receives & controls execution of
Application programs)
Hardware
(Receives & executes OS commands)
As in this diagram, the OS is a layer of software on top of the bare hardware, and is used to
manage all parts of computer hardware & also act as an interface between the user & the
computer.
The OS monitors & controls computer operations so that the user can do useful work on the
computer, and it also enables Application programs use the hardware in a proper, orderly and
efficient way.
An OS consists of a special program called a Supervisor (Kernel/ Executive), which is stored in
ROM of the Main Memory. The Supervisor/Kernel contains the most necessary commands and
procedures & controls the running of all other programs, each performing a particular service.
NB. The programs that make up the Operating system are too large to fit in main memory at one
time. These programs are usually installed on a direct access backing storage device, such as the
hard disk.
When the Supervisor needs a particular program, it is read from the disk & loaded into the RAM
memory, where it can be executed.
104
Computer Hardware
vi). To make complex tasks very simple for the user to carry out.
vii). It helps the computer to correct any problem that might occur.
When an error occurs that can cause the computer to stop functioning, a diagnostic
message is displayed. The meaning of the message is then checked in the computer
operations manual.
viii). Reduces job setup time.
When one job is running, other programs can be read onto the job queue. The
Input/Output devices can also be made ready without delay.
ix). Most computers allow many programs to be run & also many users to use the system at the
same time.
105
Computer Hardware
In addition, the OS ensures that storage space is provided for data generated by programs
& during data transfer operations such as, disk copying or printing.
3. Input/Output devices & ports management.
Every computer has many Input & Output (I/O) devices. The OS controls the input from
& output to the various devices. It also tries to monitor the state of each I/O device and
signals any faults detected.
During the course of their execution, programs will request the use of an Input or Output
device. In a multi-user system, conflicts are likely to occur when one program requests a
device that is being used by another program. Therefore, the OS will control allocation
of I/O devices and attempt to resolve any conflicts that arise.
Because most input/output devices are slower than the processor, the OS has to control
the flow of data from the time of input to the time the user receives it as information. It
ensures that the right data reaches the processor at the right time.
The OS also defines the various input/output ports found on the computer, e.g., printer
port.
4. Management of secondary storage devices.
The OS manages the storage & retrieval of data on secondary storage devices. It also utilizes
the free space on hard disks to enhance the performance of the computer by temporarily
holding tasks on it that were in RAM ready for processing but have to wait for sometime.
5. Management of communication devices & ports.
Communication refers to how the various devices and programs in & out of the computer
system send & receive messages from one another and from the processor.
The OS controls the communication process between the various tasks & the computer.
To achieve external communication, an external device is usually connected to a
communication port using cables or wireless communication media.
6. File management.
The OS is concerned with the logical organization of the information (the File System) and
provides a means through which files can be sorted, retrieved & shared.
It also provides a means of protecting data files & programs against unauthorized access and
corruption.
7. Job scheduling.
The OS arranges & loads programs in order to provide a continuous sequence of processing
& also provide the appropriate responses to events.
The processor can handle only one task at a time. Therefore, in a situation where more than
one application program is occupying the main storage, the OS has to determine which task
will be processed first and ensures that the one that is currently being processed is closely
monitored to avoid wasting time in the processor.
The jobs are allocated priorities so as to ensure that there is continuous processing until all
the jobs within the memory are executed. This ensures that the CPU does not remain idle at
any given instance.
Some of the job scheduling functions include:
Controlling the loading & running of programs.
Communicating directly with users and/or the operator.
Dealing with user commands to organize files and run programs.
106
Computer Hardware
NB: A Job is a group of tasks taken as a unit of work for a computer, e.g., one or more
computer programs, files, & instructions, to the operating system.
8. Job sequencing.
The OS keeps a list of jobs/tasks currently being run and monitors them as they move in &
out of the processor. It also arranges them in a particular order to make it easy for the
processor to execute them and to know how & when to fetch instructions & data for each
task.
9. Resource control and allocation.
The OS controls the selection & operation of hardware devices used for input, output and
storage.
The OS determines which task uses a particular resource and at what time. To do this, it
gives each resource a unique identification number called an Interrupt number so that, when
two tasks request to use a resource at the same time, the one with higher priority interrupt is
granted control.
This prevents an undesirable situation called deadlock that occurs when a particular task
holds a needed resource & refuses to release it for use by other tasks.
10. Error reporting & correction routines.
The OS has many ways of reporting to the user of any errors that occur during program
execution. It does this by monitoring the status of the computer system & performing error
checks on both hardware and software.
When the user makes an error, the OS through the Kernel determines the cause of the error,
and prints diagnostic messages on the screen suggesting appropriate routines of how the error
can be corrected.
In case of a fatal error that cannot be corrected, the program will be suspended permanently.
E.g., the user program will prematurely terminate when it encounters an illegal operation,
such as, dividing a no. by 0 or if it attempts to read a data file that had not been opened.
11. Interrupt handling.
An Interrupt is a break from the normal sequential processing of instructions in a program.
Each hardware device communicates to the processor using a special number called the
Interrupt Request number (IRQ). Therefore, when an interrupt occurs, control is passed to
the Kernel, which determines the cause of the interrupt. The processor stops executing the
current program to wait for the corrective response of the user. Control is returned to the
program that was interrupted once corrective action has been taken.
Some causes of Interrupt.
i). An Interrupt caused by Power failure.
The Kernel saves vital information using the dying power supply so that it can be
restarted when power is returned.
ii). Arithmetic or logic errors.
When the ALU detects that an error has occurred, (e.g., the output may be requested to
a non-existent device) it generates a signal that causes an interrupt. Control is
transferred to the Kernel, which indicates the appropriate error correction routines.
iii). Hardware malfunction, e.g. parity errors.
The I/O control for each device & its associated hardware normally takes care of parity
checking. If a parity error is detected, the Kernel is notified by an interrupt.
Device driver - a software that the OS uses to control a specific piece of hardware.
12. Interfaces the user to the system’s hardware.
107
Computer Hardware
The OS provides quick means of communication between the computer user & its programs.
The user requests the services of the OS by use of commands & the OS communicates the
messages regarding the processing to the user through, either the screen or printer. Thus, a
form of ‘conversation’ is established between the OS & the computer user.
13. Logging & accounting.
The OS keeps records (internal logs) on how the computer’s resources, e.g., CPU time,
memory usage, & the peripherals are being used. It also keeps a complete record of all that
happens during processing (usually in the form of a printed log).
14. The OS protects hardware, software & data from improper use. They ensure that application
programs use the hardware in an efficient way.
Revision Questions
1. Name two major reasons why it became necessary to use an Operating system.
2. (a). Identify FOUR resources that the Operating system should manage.
(b). What function should the Operating system perform to manage each of the resources
108
Computer Hardware
above?
3. List and explain any five general functions of an operating system.
4. What is meant by the term Job in computer studies?
5. Name four examples of operating systems.
110
Computer Hardware
Command-driven software is more flexible, but it is more difficult to learn. The user must know
what commands are available, what they do & how they should be typed. For this reason,
commands are most popular with experienced technical persons, such as computer Operators,
Programmers or in situations where the end-user continually works with the same program and
has therefore mastered the commands.
To make commands more user-friendly, the following points need to be observed: -
1. The command words used should be descriptive VERBS that clearly convey the intended
action, e.g., PRINT, COPY, RENAME, DELETE, etc.
2. Unique abbreviations should be provided for more experienced users, e.g., PRI, COP, REN,
DEL, CHKDSK, etc.
3. Multiple items on a single command line should ALWAYS be separated by blank spaces.
E.g., PRINT can be used in the following ways: -
PRINT Report1 – prints the named document on the default printer.
PRINT Report1 Report2 Report3 – prints the three documents on the default printer.
Examples of Command line interfaces:
MS-DOS,
Early versions of PC-DOS, OS/2, and UNIX.
Disadvantages of using command driven interfaces
They are more difficult to learn.
The user must know the command to type.
It is less user-friendly.
It is not easy to use, i.e., one is required to master the command format/syntax.
Menu driven interface.
This type of interface provides the user with a list of program commands displayed on the screen
to choose from & a simple means of selecting between them.
To activate a choice in the menu, one can use the Enter key, or move the cursor until it is
positioned at the desired choice & then press the activation key so that the system can start acting
upon the information given.
This interface is suitable for beginners and infrequent users who may have difficulties in
remembering commands.
There are 2 types of menus: -
(a) Pull-down menus – are special types of menu used mostly in Windows.
(b) Pop-up menus & Pop-down menus. These menus are made to appear above or below an
item on the screen in order to elicit/obtain a choice from a user.
Later versions of DOS have a menu driven interface called the DOS Shell or DOS Editor.
111
Computer Hardware
GUI is mostly found on Workstations or PCs fitted with graphic adapters able to support high-
resolution graphics.
Examples of GUI based OS;
Presentation manager of OS/2,
Ms-Windows,
Linux,
Apple Macintosh.
Features of a graphical user interface. (2 marks)
Programs are represented graphically by use of Icons.
Commands are selected and issued using pointing devices, e.g., Mouse, trackball.
There is use of pull-down menus.
Programs open by displaying windows.
Advantages of using GUI based OS
They are user friendly.
Easy to learn & use.
Revision Questions
1. What criteria are used to classify types of operating systems?
2. (a) Differentiate between multi-user and multitasking operating systems.
(b) State any computer software that can be classified as a Multi-user operating system.
3. Name three types of user interfaces employed by different commercial Operating systems.
4. (a) Differentiate between command-line interface and graphical user interface operating
systems based on the way commands are entered.
(b) State two main advantages of GUI interfaces.
10. The method of communication with the computer, e.g. the number of peripherals.
11. The method of operating the computer.
112
Computer Hardware
113
Computer Hardware
A Window is a rectangular portion/ area of the screen that Windows sets aside for a specific
task.
A Window is a rectangular area on a display screen in which text and graphical images may
be displayed.
114
Computer Hardware
v). Windows makes it easier to install new hardware devices onto the system. It is able to
recognize and sets up a certain Plug-and-Play hardware whose card has been inserted in the
computer automatically.
vi). Windows allows true Multitasking, i.e. it allows the user to run more than one (several)
program at the same time, each in its own window.
vii). Windows is user-friendly, i.e., it is menu driven, hence easy to operate, because the options
used in particular programs are usually displayed on the screen in form icons.
viii). Windows supports a wide choice of networks & transmission protocols. It also has
facilities for sharing files & devices.
ix). Windows has facilities that allow people to work with all types of electronic
communications, e.g., it allows people to send text messages, transfer files, and also hold
digital live face-to-face conversations with family friends & business associates around the
world.
x). Windows includes My Briefcase, a file synchronization tool & a utility for transferring
files over a direct cable link or dial-up networking.
xi). All Windows applications share a common set of commands. E.g., Open, Save, Print, etc
& therefore, there is no need to learn a different set of commands for each application.
xii). Windows allows movement of text or items from one program to another. i.e., it is easy to
exchange information between Windows applications.
xiii). Windows has facilities that enable the computer to save power resources by putting the
computer on standby or hibernation.
xiv). Windows includes a Help system that makes your computer easier to use. It helps you find
answers to your questions easily, or get up-to date technical support from the WWW.
Differences between Ms-Windows & Disk Operating System.
Ms-Windows MS-DOS
1. There are icons 1. No Icons
2. Uses both the Mouse & Keyboard as Input 2. Only the Keyboard is used as Input device.
devices.
3. There is use of Menus. 3. It is command-based.
4. User-friendly. 4. Not user-friendly.
5. Windows fully supports networking. 5. DOS cannot support networking.
6. Requires a computer with high memory 6. Uses less memory compared to Windows.
size. 7. DOS cannot support Windows, i.e. it is not
7. Windows can support DOS, i.e. it is possible to run Window-based programs in
possible to run DOS-based programs in MS-DOS.
Windows. 8. Uses monochrome (1 coloured) screen.
9. It is a single-user OS.
8. Uses Multi-coloured screen. 10. It is a single-tasking OS, i.e. can only
9. It is a Multi-user OS. support one program at a time.
10. It is a multi-tasking OS, i.e. can support 11. MS-DOS is an operating system by itself.
more than 1 program at a time. 12. Uses Directories to organize files.
11. Comes in different versions.
12. Uses folders for storage of files.
Review Questions
1. Give FOUR advantages of which Windows based Operating system software has over Disk
Operating System software.
2. (a). List Four types of Windows versions.
(b). Why is Windows termed as a friendly Operating system?
List four key features of the Windows Operating environment.
115
Computer Hardware
116
Computer Hardware
118