Module-I - Introduction To Computer Fundamentals
Module-I - Introduction To Computer Fundamentals
following.
1. First Generation
2. Second Generation
3. Third Generation
4. Fourth Generation
5. Fifth Generation
Nowadays, computers are an integral part of our lives. They are used for the reservation of
tickets for airplanes and railways, payment of telephone and electricity bills, deposit and
withdrawal of money from banks, processing of business data, forecasting of weather conditions,
diagnosis of diseases, searching for information on the Internet, etc. Computers are also used
extensively in schools, universities, organizations, music industry, movie industry, scientific
research, law firms, fashion industry, etc.
The term computer is derived from the word compute. The word compute means to calculate. A
computer is an electronic machine that accepts data from the user, processes the data by
performing calculations and operations on it, and generates the desired output results. Computer
performs both simple and complex operations, with speed and accuracy.
This chapter discusses the history and evolution of computer, the concept of input-process-output
and the characteristics of computer. This chapter also discusses the classification of digital
computers based on their size and type, and the application of computer in different domain
areas.
A digital computer uses distinct values to represent the data internally. All information are
represented using the digits Os and 1s. The computers that we use at our homes and offices are
digital computers.
Analog computer is another kind of a computer that represents data as variable across a
continuous range of values. The earliest computers were analog computers. Analog computers
are used for measuring of parameters that vary continuously in real time, such as temperature,
pressure and voltage. Analog computers may be more flexible but generally less precise than
digital computers. Slide rule is an example of an analog computer.
This book deals only with the digital computer and uses the term computer for them.
Speed, accuracy, diligence, storage capability and versatility are some of the key characteristics
of a computer. A brief overview of these characteristics are—
Speed The computer can process data very fast, at the rate of millions of instructions per
second. Some calculations that would have taken hours and days to complete otherwise,
can be completed in a few seconds using the computer. For example, calculation and
generation of salary slips of thousands of employees of an organization, weather
forecasting that requires analysis of a large amount of data related to temperature,
pressure and humidity of various places, etc.
Accuracy Computer provides a high degree of accuracy. For example, the computer can
accurately give the result of division of any two numbers up to 10 decimal places.
Diligence When used for a longer period of time, the computer does not get tired or
fatigued. It can perform long and complex calculations with the same speed and accuracy
from the start till the end.
Storage Capability Large volumes of data and information can be stored in the computer
and also retrieved whenever required. A limited amount of data can be stored,
temporarily, in the primary memory. Secondary storage devices like floppy disk and
compact disk can store a large amount of data permanently.
Versatility Computer is versatile in nature. It can perform different types of tasks with the
same ease. At one moment you can use the computer to prepare a letter document and in
the next moment you may play music or print a document.
Computers have several limitations too. Computer can only perform tasks that it has been
programmed to do. Computer cannot do any work without instructions from the user. It executes
instructions as specified by the user and does not take its own decisions.
Until the development of the first generation computers based on vacuum tubes, there had been
several developments in the computing technology related to the mechanical computing devices.
The key developments that took place till the first computer was developed are as follows—
Calculating Machines ABACUS was the first mechanical calculating device for
counting of large numbers. The word ABACUS means calculating board. It consists of
bars in horizontal positions on which sets of beads are inserted. The horizontal bars have
10 beads each, representing units, tens, hundreds, etc. An abacus is shown in Figure 1.1
Napier’s Bones was a mechanical device built for the purpose of multiplication in 1617
ad. by an English mathematician John Napier.
Slide Rule was developed by an English mathematician Edmund Gunter in the 16th
century. Using the slide rule, one could perform operations like addition, subtraction,
multiplication and division. It was used extensively till late 1970s. Figure 1.2 shows a
slide rule.
Figure 1.2 Slide rule
Pascal’s Adding and Subtraction Machine was developed by Blaise Pascal. It could add
and subtract. The machine consisted of wheels, gears and cylinders.
Leibniz’s Multiplication and Dividing Machine was a mechanical device that could both
multiply and divide. The German philosopher and mathematician Gottfried Leibniz built
it around 1673.
Punch Card System was developed by Jacquard to control the power loom in 1801. He
invented the punched card reader that could recognize the presence of hole in the
punched card as binary one and the absence of the hole as binary zero. The Os and 1s are
the basis of the modern digital computer. A punched card is shown in Figure 1.3.
The developments discussed above and several others not discussed here, resulted in the
development of the first computer in the 1940s.
Hardware Technology The first generation of computers used vacuum tubes (Figure 1.4)
for circuitry and magnetic drums for memory. The input to the computer was through
punched cards and paper tapes. The output was displayed as printouts.
Hardware Technology Transistors (Figure 1.5) replaced the vacuum tubes of the first
generation of computers. Transistors allowed computers to become smaller, faster,
cheaper, energy efficient and reliable. The second generation computers used magnetic
core technology for primary memory. They used magnetic tapes and magnetic disks for
secondary storage. The input was still through punched cards and the output using
printouts. They used the concept of a stored program, where instructions were stored in
the memory of computer.
Software Technology The instructions were written using the assembly language.
Assembly language uses mnemonics like ADD for addition and SUB for subtraction for
coding of the instructions. It is easier to write instructions in assembly language, as
compared to writing instructions in machine language. High-level programming
languages, such as early versions of COBOL and FORTRAN were also developed during
this period.
Computing Characteristics The computation time was in microseconds.
Physical Appearance Transistors are smaller in size compared to vacuum tubes, thus, the
size of the computer was also reduced.
Application The cost of commercial production of these computers was very high,
though less than the first generation computers. The transistors had to be assembled
manually in second generation computers.
Examples PDP-8, IBM 1401 and CDC 1604.
Second generation computers generated a lot of heat but much less than the first generation
computers. They required less maintenance than the first generation computers.
Hardware Technology The third generation computers used the Integrated Circuit (IC)
chips. Figure 1.6 shows IC chips. In an IC chip, multiple transistors are placed on a
silicon chip. Silicon is a type of semiconductor. The use of IC chip increased the speed
and the efficiency of computer, manifold. The keyboard and monitor were used to
interact with the third generation computer, instead of the punched card and printouts.
Software Technology The keyboard and the monitor were interfaced through the
operating system. Operating system allowed different applications to run at the same
time. High-level languages were used extensively for programming, instead of machine
language and assembly language.
Computing Characteristics The computation time was in nanoseconds.
Physical Appearance The size of these computers was quite small compared to the
second generation computers.
Application Computers became accessible to mass audience. Computers were produced
commercially, and were smaller and cheaper than their predecessors.
Examples IBM 370, PDP 11.
The third generation computers used less power and generated less heat than the second
generation computers. The cost of the computer reduced significantly, as individual components
of the computer were not required to be assembled manually. The maintenance cost of the
computers was also less compared to their predecessors.
Hardware Technology They use the Large Scale Integration (LSI) and the Very Large
Scale Integration (VLSI) technology. Thousands of transistors are integrated on a small
silicon chip using LSI technology. VLSI allows hundreds of thousands of components to
be integrated in a small chip. This era is marked by the development of microprocessor.
Microprocessor is a chip containing millions of transistors and components, and,
designed using LSI and VLSI technology. A microprocessor chip is shown in Figure 1.7.
This generation of computers gave rise to Personal Computer (PC). Semiconductor
memory replaced the earlier magnetic core memory, resulting in fast random access to
memory. Secondary storage device like magnetic disks became smaller in physical size
and larger in capacity. The linking of computers is another key development of this era.
The computers were linked to form networks that led to the emergence of the Internet.
This generation also saw the development of pointing devices like mouse, and handheld
devices.
Software Technology Several new operating systems like the MS-DOS and MS-
Windows developed during this time. This generation of computers supported Graphical
User Interface (GUI). GUI is a user-friendly interface that allows user to interact with the
computer via menus and icons. High-level programming languages are used for the
writing of programs.
Computing Characteristics The computation time is in picoseconds.
Physical Appearance They are smaller than the computers of the previous generation.
Some can even fit into the palm of the hand.
Application They became widely available for commercial purposes. Personal computers
became available to the home user.
Examples The Intel 4004 chip was the first microprocessor. The components of the
computer like Central Processing Unit (CPU) and memory were located on a single chip.
In 1981, IBM introduced the first computer for home use. In 1984, Apple introduced the
Macintosh.
The microprocessor has resulted in the fourth generation computers being smaller and cheaper
than their predecessors. The fourth generation computers are also portable and more reliable.
They generate much lesser heat and require less maintenance compared to their predecessors.
GUI and pointing devices facilitate easy use and learning on the computer. Networking has
resulted in resource sharing and communication among different computers.
The goal of fifth generation computing is to develop computers that are capable of learning and
self-organization. The fifth generation computers use Super Large Scale Integrated (SLSI) chips
that are able to store millions of components on a single chip. These computers have large
memory requirements.
This generation of computers uses parallel processing that allows several instructions to be
executed in parallel, instead of serial execution. Parallel processing results in faster processing
speed. The Intel dualcore microprocessor uses parallel processing.
The fifth generation computers are based on Artificial Intelligence (AI). They try to simulate the
human way of thinking and reasoning. Artificial Intelligence includes areas like Expert System
(ES), Natural Language Processing (NLP), speech recognition, voice recognition, robotics, etc.
The digital computers that are available nowadays vary in their sizes and types. The computers
are broadly classified into four categories (Figure 1.8) based on their size and type—(1)
Microcomputers, (2) Minicomputers, (3) Mainframe computers, and (4) Supercomputer.
1.6.1 Microcomputers
Microcomputers are small, low-cost and single-user digital computer. They consist of CPU,
input unit, output unit, storage unit and the software. Although microcomputers are stand-alone
machines, they can be connected together to create a network of computers that can serve more
than one user. IBM PC based on Pentium microprocessor and Apple Macintosh are some
examples of microcomputers. Microcomputers include desktop computers, notebook computers
or laptop, tablet computer, handheld computer, smart phones and netbook, as shown in Figure
1.9.
1.6.2 Minicomputers
Minicomputers (Figure 1.10) are digital computers, generally used in multi-user systems. They
have high processing speed and high storage capacity than the microcomputers. Minicomputers
can support 4–200 users simultaneously. The users can access the minicomputer through their
PCs or terminal. They are used for real-time applications in industries, research centers, etc. PDP
11, IBM (8000 series) are some of the widely used minicomputers.
Mainframe computers (Figure 1.11) are multi-user, multi-programming and high performance
computers. They operate at a very high speed, have very large storage capacity and can handle
the workload of many users. Mainframe computers are large and powerful systems generally
used in centralized databases. The user accesses the mainframe computer via a terminal that may
be a dumb terminal, an intelligent terminal or a PC. A dumb terminal cannot store data or do
processing of its own. It has the input and output device only. An intelligent terminal has the
input and output device, can do processing, but, cannot store data of its own. The dumb and the
intelligent terminal use the processing power and the storage facility of the mainframe computer.
Mainframe computers are used in organizations like banks or companies, where many people
require frequent access to the same data. Some examples of mainframes are CDC 6600 and IBM
ES000 series.
1.6.4 Supercomputers
Supercomputers (Figure 1.12) are the fastest and the most expensive machines. They have high
processing speed compared to other computers. The speed of a supercomputer is generally
measured in FLOPS (FLoating point Operations Per Second). Some of the faster supercomputers
can perform trillions of calculations per second. Supercomputers are built by interconnecting
thousands of processors that can work in parallel.
Supercomputers are used for highly calculation-intensive tasks, such as, weather forecasting,
climate research (global warming), molecular research, biological research, nuclear research and
aircraft design. They are also used in major universities, military agencies and scientific research
laboratories. Some examples of supercomputers are IBM Roadrunner, IBM Blue gene and Intel
ASCI red. PARAM is a series of supercomputer assembled in India by C-DAC (Center for
Development of Advanced Computing), in Pune. PARAM Padma is the latest machine in this
series. The peak computing power of PARAM Padma is 1 Tera FLOP (TFLOP).
Figure 1.12 Supercomputer
1.0 Objective
Objective of this lesson get acquaint the reader to the basic units of a
computer system; learn about the digit symbols, base, and
representation of various number systems, methods of number system
conversions; understand with the coding schemes for the internal
storage of characters.
1.1 Introduction
Computer is an electronic device, which accepts data, processes it and
outputs the results in the form of reports. Original objective of computer
was to make fast calculations, but the modern computers besides
performing fast calculations can store large volume of data, process and
retrieve data as and when desired. Hence computers are also known as
data processors.
INPUT UNIT
This unit contains devices with the help of which we enter data into
computer. This unit is linked between user and computer. Input devices
translate the human-being information into the form understandable by a
computer.
The input, output and storage devices are described as on line, when they
are directly connected to the CPU, when not connected directly they are
described as off-line.
Examples of input devices:
{i) Keyboard (ii) VDU ( Visual Display Unit) (iii) Mouse (iv) light pen (v)
Scanner (vi) Joystick (vii) Voice recognizer (viii) Card reader (ix)
Digitizer (x) Floppy drive (xi) Tape drive (xii) Cartridge tape drive (xiii)
OCR (Optical Character Reader) (xiv) OMR (Optical Mark Reader) etc.
OUTPUT UNIT
Output unit consists of devices with the help of which we get the
information from computer. Output unit is a link between computer and
user. Output devices translate the computer’s output into the form
understandable by user.
CONTROL UNIT
Control unit controls the operations of all parts of computers. It does not
carry out any actual data processing operations.
• It retrieves instructions from the main memory and determines what is
to be taken.
• It then retrieves the data required to be processed from the main
memory.
• It causes the CPU to actually carry out required operations and
determine whether the required operation have been carried out or not.
• It places the processed results in the output area of the memory.
• It fetches the next instruction from the memory and repeat the whole
cycle of operations outlined above.
In addition to the above, the control unit also oversees that erroneous data
does not enter into the system (for example, numeric data consisting of
alphabets or a number is divided by zero). When such an event occurs, the
control unit displays an error on the screen of the CPU to warn computer
operator.
In order to carry out these operations, the control unit also has its own set
of registers (like those of ALU). The basic register of the control unit are
the instruction register, the decoder & the address register.
Unlike the non-volatile memory of a hard drive, it’s difficult and time-consuming to rewrite a ROM
chip’s memory. In most cases, it’s impossible to alter integrated circuits, which may mean you can’t
update more basic forms of ROM. You may be able to reprogram some modern types of ROM, but only
at slow speeds and with special equipment. These hurdles make traditional ROM poorly-suited for
functions that require frequent feature updates or are prone to bugs or security issues .
Conventional ROM is pre-programmed to suit its intended hardware. It often controls functions that are
both integral to the utility of the device and unlikely to need modification or personalization. One kind
of data usually stored in a ROM chip is the Basic Input-Output System (BIOS). A device’s BIOS
controls the way the device responds to cues from the user at the most fundamental level, such as a
computer’s “booting-up” process that occurs when the system powers on.
Types of ROM
Here’s an overview of the different types of ROM, ranging from the most basic to more versatile .
-ROM: Classic or “mask-programmed” ROM chips contain integrated circuits. A ROM chip sends a
current through a specific input-output pathway determined by the location of fuses among the rows
and columns on the chip. The current can only travel along a fuse-enabled pathway and thus can only
return via the output the manufacturer chooses. Rewiring is functionally impossible, and so there’s no
way to modify these types of ROM chips. While producing a template for an original ROM chip is
laborious, chips made according to an existing template can be much more affordable.
-PROM: Programmable ROM, or PROM, is essentially a blank version of ROM that you can purchase
and program once with the help of a special tool called a programmer. A blank PROM chip allows
current to run through all possible pathways; the programmer chooses a pathway for the current by
sending a high voltage through the unwanted fuses to “burn” them out. Static electricity can create the
same effect by accident, so PROMs are more vulnerable to damage than conventional ROMs.
-EPROM: Erasable Programmable ROM chips allow you to write and rewrite them many times. These
chips feature a quartz window through which a specialized EPROM programmer emits a specific
frequency of ultraviolet light. This light burns out all the tiny charges in the EPROM to reopen its
circuits. This exposure effectively renders the chip blank again, after which you can reprogram it
according to the same process as a PROM. EPROM chips will eventually wear out, but they frequently
have lifetimes of over 1000 erasures.
-EEPROM: To modify an Electrically Erasable Programmable ROM chip, apply localized electrical
fields to erase and rewrite the data. EEPROMs have several advantages over other types of ROM.
Unlike the earlier forms, you can rewrite EEPROM without dedicated equipment, without removing it
from the hardware, and in specifically designated increments. We don’t have to erase and rewrite
everything to make a single edit.
Cache Memory Cache is a piece of very fast memory, made from high-speed
static RAM that reduces the access time of the data. It is very expensive
generally incorporated in the processor, where valuable data and program
segments are kept. Main reason for introducing cache in between main memory
and processor is to compensate the speed mismatch. Figure shows 1.3 the
role of cache in memory-processor communication.
Main
Memory
Cache
Memory
Processor
Secondary Memory
Secondary storage provides large, non-volatile, and inexpensive storage
for programs and data. However, the access time in secondary memory is
much larger than in primary memory. Secondary storage permits the
storage of computer instructions and data for long periods of time.
Secondary storage is also called auxiliary or bulk memory. Magnetic
disks(Hard disks, floppy disks, CD-RW) and magnetic tape are examples
of secondary storage.
Hierarchy of memories
• Internal Processor Memories
These consists of set of high-speed registers that are internal to a
processor and are used as temporary storage locations to hold data
during processing.
• Primary Memory or Main Memory
This memory is large as compared to inter processor memory but
not as fast. This memory has direct link with internal processor
memory.
• Secondary Memory or Auxiliary Memory
This memory is much large in size compared to main memory but is
slower.
There is another kind of memory used in modern computers. It is called
cache memory. Though it is a part of main memory, it is logically
positioned between the internal memory, registers, and main memory.
Figure 1.4 shows the hierarchy of memories.
CPU
Registers
Cache
Memory
Main Memory
Secondary Memory
Unit of Memory
The various units used to measure computer memory, are as follows:
Bit: Bit, Abbreviation for binary digit, is basic unit of memory. It is
smallest unit of information. Bit is represented by a lower case b.
Byte: A unit of 8 bits is known as a byte. Hence, a byte is able to contain
any binary number between 00000000 and 11111111. It is represented by
uppercase B.
Kilobyte: One KB is equal to 1024 bytes.
Megabyte: One MB is equal to 1024 KB.
Gigabyte: One GB is equal to 1024 MB.
Terabyte: One TB is equal to 1024 GB.
TABLE 1.2
COMPUTER VS HUMAN BEING ( DIFFERENCES )
BASIC FOR HUMAN
COMPARISON BEING COMPUTER
1. Speed of Relatively slow Extremely fast.
execution.
2. Ability to Poor Very good, no
continue decrease in
processing performance even
over an after a lapse of
extended extended working
period. periods.
3. Accuracy Relatively Accurate
to remember inaccurate.
information.
4. Ability to Usually slow. Fast
retrieve
information.
5. Accuracy Makes error Makes virtually no
of work. errors.
6. Ability to Imperfect and Perfect, if properly
consistently may be programmed.
follow malicious.
instructions.
7. Ability to Fairly good. Totally absent.
innovate in
new
situation.
8. Ability to Fairly good. Totally absent.
learn by trial
and error.
zone numeric
0 1 2 3 4 5
ASCII-7: uses 7 bits and can represent 27=128 characters. The first three bits
are used as zone bits and the last four bits indicate the digit. Hexadecimal
numbers are used as shortcut notation for memory dump.
zone numeric
0 1 2 3 4 5 6
ASCII-8: uses 8 bits and can represent 28 =256 characters. For all practical
purposes an 8-bit code is used.8th bit is added for parity.
Characters are assigned decimal values.
zone numeric
0 1 2 3 4 5 6 7
Representation of alphabets and digits 0-9 using ASCII-7 and ASCII-8 code are
given below in table 1.3 and 1.4
TABLE 1.3
ASCII-7 ASCII-8
0 1 2 3 4 5 6 7
EBCDIC
Character zone Numeric
A-I 1100 0001-1001
J-R 1101 0001-1001
S-Z 1110 0010-1001
0-9 1111 0000-1001
RAJIV in ASCII-8
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
A B C D E F G H I J K L M N O PQ R S T U V W X Y Z
R A J I V
Decimal 82 65 74 73 86
ASCII-8 0101 0010 0100 0001 0100 1010 0100 1001 0101 0110
There are two types of number systems
(a) Non-positional Number System- In non-positional number system 0 is
absent. One example of this system is Roman number system.
I for 1, II for 2, III for 3, IV for 4, V for 5, VI for 6,X for 10,L for 50 etc.
There is no symbol for 0
Due to absence of zero it is not sufficient for arithmetic calculations.
The leftmost digit is called MSD and the right most digit is called LSD
Digits a n-1 a n-2…….a 2 a 1 a 0 b-1 b-2 …… b-m.
MSD LSD
Position n-1 n-2 2 1 0 -1 -2 -m
n-1 n-1 2 1 -1 -2
Weight r r r r 1 r r r-m
Quantity a n-1 r n-1 +a n-2 r n-1+……+a 2 r 2 +a 1 r 1+ a 0 + b- 1 r -1+ b-2 r-2+….+b-mr –m
or Value
2 31
2 15 1 (LSB)
2 7 1
2 3 1
2 1 1
0 (MSB) (31)10=(11111 )2
Fraction Conversion
Multiply the fraction by 2. Let the integral part be I1. Multiply the fraction
obtained by 2.Let the integral part be I2. Repeat till the fraction disappears. The
binary fraction is .I1 I2 I3….
Example 1.3 Convert (.125)10 into binary.
.125
x2
0.250 I1=1
x2
0.500 I2=0
x2
1.000 I3=1 (.125)10=(.101)2
.8125
X2
1.6250 I1=1
X2
1.2500 I2=1
X2
0.5000 I3=0
X2
1.0000 I4=1 (.8125)10=(.1101)2
(23.8125)10=(10111.1101)2
Decimal to Hexadecimal Conversion
Conversion of a decimal into a hexadecimal is similar to that of converting a
decimal into its binary equivalent. The decimal part is divided by 16 until it
becomes 0 for integer part conversion. The remainders are than arranged in
reverse order. Similarly the fraction part is converted by multiplying by 16 until
the fraction part reduces to 0. Then the integer part in these multiples is collected
in the order of appearance.
1.10 Summary
Computer is an electronic device that performs mathematical and non-
mathematical operations in order to achieve the results. Computer have enters
almost in every field of human life and found applications in various fields such
as medicine and health care, business, science, technology, engineering,
entrainment. Number systems are very important to represent the quantity.
Number systems are of two types viz. non-positional and positional. Non-position
number system (Roman Number system) is not so much popular due to absence
of zero. Positional number system(decimal, binary, octal, hexadecimal) is used
very much now a days. Since a computer can understand only 0 or 1, therefore
binary coded schemes(BCD,ASCII,EBCDIC) are used to represent internal
storage area of the computers. In this scheme each character is represented by
combination of bits.
2.0 Objective
A computer accepts (input) information and manipulates (processes) it to
get desired result (output) on a sequence of instructions. In the previous
lesson, we discussed that a computer system essentially consists of three
components: input devices, central processing unit, and output devices.
Input devices are used to provide data to the central processing unit for
processing. The aim of this lesson is to familiarise you with the various
types of input devices along with their advantages, disadvantages, and
applications.
2.1 Introduction
Input devices are used to provide data to the central processing unit for
processing. After processing, the input data is converted into meaningful
information and this output is presented to the user with the help of output
devices. In computer terminology devices can be refereed as a unit of
hardware, which is capable of providing input to the computer or receiving
output or both. An input device captures information and translates into
form understandable by computer and output devices translate
information into form understandable by human-being as shown in fig
2.1. Input devices let the user talk to the computer. Output devices let
the computer communicate to the user.
The common input devices are keyboards and mouse. The output devices
are monitors and printers.
Fig 2.2
Layout of the Keyboard
The layout of the keyboard can be divided into the following five sections:
Typing Keys: These keys include the letter keys (1, 2, A, B, etc.), which
are generally laid out in the same style that was common for typewriters.
Numeric Keypad: Numeric keys are located on the right hand side of the
keyboard. Generally, it consists of a set of 17 keys that are laid out in the
same configuration used by most adding machines and calculators.
Function Keys: The functions keys (FI, F2, F3, etc.) are arranged in a row
along the top of the keyboard and could be assigned specific commands by
the current application or the operating system.
Control Keys: These keys provide cursor and screen control. It includes
four directional arrows(← ↑ → ↓ ). These keys allow the user to move the
cursor on the display area one space at a time in either an up, down, left or
right direction. Control keys also include Home, End, Insert, Delete, Page
Up, Page Down, Control (Ctrl), Alternate (A It), and Escape (Esc).
Special Purpose Keys: Apart from the above-mentioned keys, a keyboard
contains some special purpose keys such as Enter, Shift, Caps Lock, Num
Lock, Spacebar, Tab, and Print Screen.
Working of a Keyboard
A keyboard is series of switches connected to a small keyboard
microprocessor. When the user presses a key, it causes a change in the
amount of current flowing through the circuit associated specifically with
that key. The keyboard microprocessor detects this change in current flow.
By doing this, the processor can tell when a key has been pressed and
when it is being released. The processor generates the associative code,
known as scan code, of the key and sends it to the operating system. A
copy of this code is also stored in the keyboard's memory.
2.2.2 Pointing Devices
In some applications, keyboard is not convenient. For example, if the user
wants to select an item from a list, the user can identify that items position
by selecting it through the keyboard. However, this action could be
performed quickly by pointing at correct position. A pointing device is
used to communicate with the computer by pointing to location on the
screen. Some of the commonly used pointing devices are mouse,
trackball, joystick, light pen, and touch panel.
2.2.2.1 Mouse
Mouse is a small hand-held pointing device, which is rectangular-shaped
with a rubber ball embedded at its lower side and buttons on the top.
Usually a mouse contains two or three buttons, which can be used to input
commands or information. Figure 3.3 shows a mouse with three buttons.
tracking sensors.
• They do not require a special surface such as a mouse pad.
The cursor of the mouse can be text cursor or graphic cursor. The text
cursor(I) is used for text while the graphic cursor( )is used for pointing
and drawing.
A mouse allows us to create graphic elements on the screen, such as lines,
curves, and freehand shapes. Since it is an intuitive device, it is much
easier and convenient to work as compared to the keyboard. Like keyboard,
usually it is also supplied with a computer; therefore, no additional cost is
incurred. The mouse cannot easily be used with laptop, notebook or
palmtop computers. These need a track ball or a touch sensitive pad called
a touch pad.
Working of a mouse
A mechanical mouse has a rubber ball in the bottom. When the user
moves the mouse, the ball rolls along the surface of the mouse pad, and
the mouse keeps track of how far the ball rolls. This allows it to tell how
far it has moved. Inside the bottom of the mouse are three rollers. These
rollers are mounted at a 90° angle to the one other, one roller measures
how fast the ball is turning horizontally, and the other measures how fast
it is turning vertically. When the ball rolls, it turns these two rollers. The
rollers are connected to axles, and the axles are connected to a small
sensor that measures how fast the axle is turning. Both sets of information
are passed to the electronics inside the mouse. This little processor,
usually consisting of little more than a single chip, uses the information to
determine how fast the mouse itself is Processor Chip moving, and in
what direction. This information is passed to the computer via mouse cord,
where the operating system then moves the pointer accordingly.
The optical mouse uses an infrared light and special mouse pads with fine
grid lines to measure the rotation of the axle. The axle in optical mouse is
connected to a little photo-interrupter wheel with a number of tiny holes in
it. In front of this wheel is a light and on the other side of the wheel is a
light meter. As the wheel turns, the light flashes through the holes in the
wheel. By measuring how often these flashes occur, the light sensor can
measure how fast the wheel is turning and sends the corresponding
coordinates to the computer. The computer moves the cursor on the screen
based on the coordinates received from the mouse. This happens hundreds
of times each second, making the cursor appear to move very smoothly.
2.2.2.2 Trackball
Trackball is another pointing device that resembles a ball nestled in a
square cradle and serves as an alternative to a mouse. In general, a
trackball is as if a mouse is turned upside down. It has a ball, which can be
rotated by fingers in any direction, the cursor moves accordingly. The size
of the ball of the trackball varies from as large as a cue ball, to as small as
a marble. Since, it is a static device so rather than rolling the mouse on the
top of the table, the ball on the top is moved by using fingers, thumbs, and
palms.
This pointing device comes in various shapes and forms but with the same
functionality. The three shapes, which are commonly used, are a ball, a
button, and a square.
Figure 2.4 Trackball
2.2.2.3 Joystick
Joystick is a device that moves in all directions and controls the movement
of the cursor. The joystick offers three types of control: digital, glide, and
direct.
Digital control allows movement in a limited number of directions such as
up, down, left, and right.
Glide and direct control allow movements in all directions (360 degrees).
Direct control joysticks have the added ability to respond to the distance
and speed which user moves the stick.
A joystick is generally used to control the velocity of the screen cursor
movement rather than its absolute position. Joysticks are mainly used for
computer games, for other applications, which includes flight simulators,
training simulators, CAD/CAM systems, and for controlling industrial
robots.
Computer Monitor -
A computer monitor is a visual screen display unit
and it is the most common example of an output
device.
Printers -
a printer is a peripheral device which makes a persistent
representation of graphics or text, usually on paper.
While most output is human-readable, bar code printers are
an example of an expanded use for printers.
Types of Printer
Laser Printers.
Solid Ink Printers.
LED Printers.
Business Inkjet Printers.
Home Inkjet Printers.
Multifunction Printers.
Dot Matrix Printers.
3D Printers.
Basic Computer Peripherals
Printers -
Different Types of Printer
PRINTER
INJET PRINTER
LINE PRINTER DOTMATRIX PRINTER LASER PRINTER
THERMAL PRINTER
PLOTTERS
PHOTO PRINTER
Speakers -
Computer speakers are hardware devices that transform the
signal from the computer's sound card into audio.
Projector -
A projector or image projector is an optical device that
projects an image onto a surface, commonly a projection
screen.
Headphone -
A headset is a hardware device that connects to a telephone
or computer that allow the user to talk and listen while
keeping their hands free.