Introduction To Computing Com 101
Introduction To Computing Com 101
WHAT IS A COMPUTER
We are all familiar with what a computer is in a specific, contemporary sense.
Personal computers (PCs) are found in most aspects of our daily life, and for
some it is hard to even imagine a world without them. But the term means
more than simply the Macs and PCs we are familiar with. A computer is an
electronic machine that works under the control of a stored program capable
of accepting, storing, processing data, and returning the results of the
processing as information. A computer is, at its most basic, a machine which
can take instructions, and perform computations based on those instructions.
It has the ability to take instructions – often known as programs – and execute
them, which distinguishes a computer from a mechanical calculator. While
both are able to make computations, a calculator responds simply to
immediate input. In fact, most modern calculators are actually computers, with
a number of pre-installed programs to help aid in complex tasks.
To have a full grip on what a computer is; it is necessary to have a proper
understanding of what program, data, and information are. So what is a
2
DILLIGENCE: A Computer can work for long hours with the same accuracy and
speed because it is free from the problems of boredom or lack of
concentration.
Drawbacks of Computer
Despite various advantages, computer has certain limitations also:-
NO IQ: A Computer is a dumb machine and it cannot do any work without
instruction from the user. It has no intelligence of its own. So the Computer
cannot take its own decision as we can.
NO FEELINGS: It does not have feelings or emotion, taste, knowledge and
experience. That's why it does not get tired even after long hours of work.
NO DECISION MAKING CAPABILITY: Computers are not capable of taking decisions.
Human beings take decisions after analysis the output given by computer.
Applications of Computer:
The use of computer is well recognized, since we are living in the informative
society.
Information Technology is playing an ever-growing role in our lives.
It includes telecommunications, microwaves, lasers and fibre optics along with
computer.
There is no area of human life which is not affected by the power of computer
systems.
Computer is a tool to work with information and to create new information.
Following are the applications of Computer
Uses of Computers in Homes: These days, computers are essential for a family like
washing machines and refrigerators. They are used for entertainment,
watching movies, playing games etc. Computers are used to manage
faineances, working in home away from office, Internet Backing,
communication and information sharing, doing homework etc.
Computers in Education: More and more schools are adding computer technology
to their syllabi so that students may be aware of the computer skills and may
use these skills for other subjects also. Computers can be used for solving
engineering, mathematical and scientific problems with great speed and
accuracy. Students make use of Encyclopaedias to search and find useful
information. They can read the books available online and can surf the e-
libraries of other institutions.
4
water, on air and on the surface of the earth. Govt. also uses computerized
control systems to manage traffic. Moreover airlines, railways are also
computerized. The details of flights or rail can be easily found on the
computers via Internet. The entire world has become small because of the
availability of Information Technology. Computers in Agriculture: Information
Technology is used in crop farming and management practices. This area
includes the control of pest and disease, weed control, land preparation and
other related practices.
Components of Computer:
A computer system has mainly four basic units. These are:
Input Unit: This unit is used for entering data and programs into the computer
system by the user for processing.
Storage Unit: The storage unit is used for storing data and instructions before
and after processing.
Central Processing Unit: The CPU takes data and instructions from the storage
unit and makes all sorts of calculations based on the instructions given to it.
Then it is sent back to the storage unit. CPU includes Arithmetic logic unit (ALU)
and control unit (CU).
Output Unit: The output unit is used for storing the result as output produced
by the computer after processing.
History of Computers:
COMPUTER AS A SYSTEM
Computer is an electronic device that performs calculation on data,
manipulates the data band thus presenting the results to humans.
The computer includes not only the hardware but also software that is
necessary to make the computer functional.
Like any other system, computer is also a system which communicates with all
its functional units.
All the functional units work together to get input. Then input is processed and
output is generated. Functional units or computer organization is explained
below:-
Computer Organization:
A computer performs basically five major operations or functions. These are:
6
Input: This is the process of entering data and programs into computer system.
.
You should know that computer is an electronic machine like any other
machine which takes input raw data and performs some processing giving
processed data or output.
Thus, the input unit takes data from human or other systems; it consists of
instructions regarding what to do.
Storage: The process of saving data and instructions permanent ally known as
storage. Data has to be fed into the system before the actual processing starts.
It is because the processing speed of CPU is very fast that data has to be
provided to CPU with the same speed. Therefore the data is first stored in the
storage unit for fast access and processing. The storage unit performs the
following major functions:-
All data and instructions are stored here before and after processing.
Intermediate results of processing are also stored here.
Processing: The task of performing operations like arithmetic and logical
operations is called processing. CPU takes data and instructions from the
storage unit and does all sorts of calculation based on the instructions given
and the type of data provided. It is then sent back to the storage unit.
Output: This is the process of producing results from the data for getting useful
information. Similarly the output produced by the computer after processing
must also be kept somewhere inside the computer before being given to you
in human readable form. Again the output is also stored inside the computer. It
may also be used for further processing.
Control: The manner in which instructions are executed and operations are
performed. Controlling of all operations like input, processing and output are
performed by control unit. It takes care of step by step processing of all
operations inside the computer. In order to carry out the operations
mentioned above, the computer allocate the task between its various
functional units, the computer system is divided into several units for its
operations:
CPU: The place from where everything is done, decisions are made,
computations are performed, and input/output requests are delegated.
Memory: Stores information being processed by the CPU.
Input devices: Allow people to supply information to computer system.
7
Disadvantages:
i. Air conditioning was required.
After 1971 the fourth generation computers were built. The fourth generation
computers were the extension of third generation technology. The fourth
generation computers emerged with development of the VLSI (Very Large
Scale Integration).With the help of VLSI technology microprocessor came into
existence. The computers were designed by using microprocessor, as
thousands of integrated circuits were built onto a single silicon chip. It became
more powerful and reliable.
Advantages:
i. Smaller in size as compared to the previous generations.
ii. More powerful and reliable than previous generations.
iii. No air conditioning required.
iv. Cheapest among all generations.
v. Totally general purpose
vi. Less need to repair the Computers.
Disadvantages:
The latest technology is required for manufacturing of Microprocessors.
5th Generation (1980-Onwards):
Fifth generation computers are in developmental stage which is based on the
artificial Intelligence (AI). The idea of fifth generation computer was developed
by Japan's Ministry of International Trade and Industry in 1982. Computers can
understand spoken words & imitate human reasoning. Scientists are constantly
working to increase the processing power of computers. They are trying to
create a computer with real IQ with the help of advanced programming and
technologies. So we can say that the fifth generation computers will have the
power of human intelligence.
Advantages
i. Smaller in size.
ii. More powerful, reliable and easy to handle.
iii. VLSI (Very Large Scale Integrated) is replaced by ULSI (Ultra Large Scale
Integrated).
Disadvantages:
If Computers have their own brain then they can harm the humans.
TYPES OF COMPUTER
There are several different types of computers, each of which is surrounded to
the humans. For example, there are desktops and laptops for home use and
can carry them while travelling.
Basis of Classification:
i. Operational Principle
ii. Size
iii. Processing Power
iv. Based on Usage
All modern computers, laptops, and calculators are all digital computers.
Hybrid Computers: A hybrid is a combination of digital and analogue
computers. It combines the best features of both types of computers.
It has the speed of analogue computer and the memory and accuracy of digital
computer. Hybrid computer is a digital computer that accepts analogue signals,
converts them to digital and processes them in digital form. Hybrid Machines
are generally used in scientific applications or in controlling industrial
processes.
It is also used in hospitals to measure the heartbeat of the patient.
Hybrid Devices are also used in petrol pumps.
vii. If computer virus or other malicious programs enter your whole data
then packages will be damaged including PC.
viii. Incompatible with the other programs.
ALTERNATIVELY,
A COMPUTER SYSTEM
COMPUTER HARDWARE
The computer hardware is the physical components of the computer that we
can see and touch. Not everybody has exactly the same hardware. But those of
you, who have a desktop system, like the example shown in fig 1, probably
have most of the components shown in that same figure. Those of you with
notebook computers probably have most of the same components. Only in
your case the components are all integrated into a single book – sized portable
unit.
IDE Cables
Power Pack Expansion Card
CD - ROM
Motherboard
RAM
The system unit is the actual computer; everything else is called a peripheral
device. Your computer's system unit probably has at least one floppy disk
drive, and one CD or DVD drive, into which you can insert floppy disks and CDs.
There's another disk drive, called the hard disk inside the system unit, as
shown in Figure 3. You can't remove that disk, or even see it except you open
the System Unit. But it's there. And everything that's currently "in your
computer" is actually stored on that hard disk. (We know this because there is
no place else inside the computer where you can store information!).
There's too much "stuff" on your computer's hard disk to use it all at the same
time. During the average session sitting at the computer, you'll probably use
only a small amount of all that's available. The stuff you're working with at any
given moment is stored in random access memory (often abbreviated RAM,
and often called simply "memory"). The advantage using RAM to store
whatever you're working on at the moment is that RAM is very fast, much
faster than any disk. For you, "fast" translates to less time waiting and more
time being productive. So if RAM is so fast, why not put everything in it? Why
have hard disks at all? The answer to that lies in the fact that RAM is volatile.
As soon as the computer is shut off, whether intentionally or by an accidental
power outage, everything in RAM disappears, just as quickly as a light bulb
goes out when the plug is pulled. So you don't want to rely on RAM to hold
everything. A disk, on the other hand, holds its information whether the power
is on or off.
17
All of the information that's "in your computer", so to speak, is stored on your
computer's hard disk. You never see that actual hard disk because it's sealed
inside a special housing and needs to stay that way. Unlike RAM, which is
volatile, the hard disk can hold information forever -- with or without
electricity. Most modern hard disks have tens of billions of bytes of storage
space on them. Which, in English, means that you can create, save, and
download files for months or years without using up all the storage space it
provides?
In the unlikely event that you do manage to fill up your hard disk, Windows will
start showing a little message on the screen that reads "You are running low on
disk space" well in advance of any problems. In fact, if that message appears,
it won't until you're down to about 800 MB of free space. And 800 MB of
empty space is equal to about 600 blank floppy disks. That's still plenty of
room!
The Mouse
Your mouse probably has at least two buttons on it. The button on the left is
called the primary mouse button; the button on the right is called the
secondary mouse button or just the right mouse button. I'll just refer to them
as the left and right mouse buttons. Many mice have a small wheel between
the two mouse buttons.
The idea is to rest your hand comfortably on the mouse, with your index finger
touching (but not pressing on) the left mouse button. Then, as you move the
mouse, the mouse pointer (the little arrow on the screen) moves in the same
direction. When moving the mouse, try to keep the buttons aimed toward the
monitor -- don't "twist" the mouse as that just makes it all the harder to
control the position of the mouse pointer.
If you find yourself reaching too far to get the mouse pointer where you want
it to be on the screen, just pick up the mouse, move it to where it's
comfortable to hold it, and place it back down on the mouse pad or desk. The
buzzwords that describe how you use the mouse are as follows:
18
Point: To point to an item means to move the mouse pointer so that it's
touching the item.
Click: Point to the item, then tap (press and release) the left mouse button.
Double-click: Point to the item, and tap the left mouse button twice in rapid
succession - click-click as fast as you can.
Right-click: Point to the item, then tap the mouse button on the right.
Drag: Point to an item, then hold down the left mouse button as you move the
mouse. To drop the item, release the left mouse button.
Right-drag: Point to an item, then hold down the right mouse button as you
move the mouse. To drop the item, release the right mouse button.
The Keyboard
Like the mouse, the keyboard is a means of interacting with your computer.
You really only need to use the keyboard when you're typing text. Most of the
keys on the keyboard are laid out like the keys on a typewriter. But there are
some special keys like Esc (Escape), Ctrl (Control), and Alt (Alternate). There
are also some keys across the top of the keyboard labeled F1, F2, F3, and so
forth. Those are called the function keys, and the exact role they play depends
on which program you happen to be using at the moment.
Most keyboards also have a numeric keypad with the keys laid out like the keys
on a typical adding machine. If you're accustomed to using an adding machine,
you might want to use the numeric keypad, rather than the numbers across
the top of the keyboard, to type numbers. It doesn't really matter which keys
you use. The numeric keypad is just there as a convenience to people who are
accustomed to adding machines.
Most keyboards also contain a set of navigation keys. You can use the
navigation keys to move around through text on the screen. The navigation
keys won't move the mouse pointer. Only the mouse moves the mouse
pointer.
be a Num Lock key on the keypad. When the Num Lock key is "on", the
numeric keypad keys type numbers. When the Num Lock key is "off", the
navigation keys come into play. The Num Lock key acts as a toggle. Which is to
say, when you tap it, it switches to the opposite state. For example, if Num
Lock is on, tapping that key turns it off. If Num Lock is off, tapping that key
turns Num Lock on.
Those mysterious Ctrl and Alt keys are often used in combination with other
keys to perform some task. We often refer to these combination keystrokes as
shortcut keys, because they provide an alternative to using the mouse to select
menu options in programs. Shortcut keys are always expressed as:
key1+key2
Where the idea is to hold down key1, tap key2, then release key1. For example,
to press Ctrl + Esc hold down the Ctrl key (usually with your pinkie), tap the Esc
key, then release the Ctrl key. To press Alt + F you hold down the Alt key, tap
the letter F, then release the Alt key.
COMPUTER SOFTWARE
Computer software, or just software, is any set of machine-readable
instructions (most often in the form of a computer program) that directs a
computer's processor to perform specific operations. The term is used to
contrast with computer hardware, the physical objects (processor and related
devices) that carry out the instructions. Hardware and software require each
other; neither has any value without the other.
Software is a general term for the various kinds of programs used to operate
computers and related devices. Software can be thought of as the variable
part of a computer. Software is often divided into application software
(programs that do work users are directly interested in) and system software
(which includes operating systems and any program that supports application
software).
20
Types of software
System software is the software used to manage and control the hardware
components and which allow interaction between the hardware and the other
types of software. The most obvious type of system software is the computer's
operating system but device drivers are also included within this category.
Any individual software package, whichever of the above types it falls into, can
be either generic (or 'off-the-shelf') or it can be bespoke (custom-built).
Generic software is mass produced with the intention that it will be used by a
wide variety of different users in a range of different situations. Bespoke
software is created for a specific purpose which will be used in a known
environment.
21
Often generic software is used when there is a package available that meets
the needs of the user. Because it is used by many more people the cost of
creating it is spread over a greater number of people or organisations and so
the cost to the individual is much lower. It also has the advantage that it is
available immediately there's no waiting time involved while the software
package is designed, created and tested. Bespoke software has the advantage
that it can be tailor made to exact specifications but it significantly more
expensive and will take time to create.
CHAPTER TWO
CLASSIFICATION OF COMPUTERS
22
The ENIAC gave off so much heat that they had to be cooled by gigantic air
conditioners. However even with these huge coolers, vacuum tubes still
overheated regularly. It was time for something new.
There were obvious differences between the transistor and the vacuum tube.
The transistor was faster, more reliable, smaller, and much cheaper to build
than a vacuum tube. One transistor replaced the equivalent of 40 vacuum
tubes. These transistors were made of solid material, some of which is silicon,
an abundant element (second only to oxygen) found in beach sand and glass.
Since the invention of integrated circuits, the number of transistors that can be
placed on a single chip has doubled every two years, shrinking both the size
and cost of computers even further and further enhancing its power. Most
electronic devices today use some form of integrated circuits placed on printed
circuit boards-- thin pieces of bakelite or fibreglass that have electrical
connections etched onto them -- sometimes called a mother board.
However what really triggered the tremendous growth of computers and its
significant impact on our lives is the invention of the microprocessor. Ted Hoff,
employed by Intel (Robert Noyce's new company) invented a chip the size of a
24
pencil eraser that could do all the computing and logic work of a computer.
The microprocessor was made to be used in calculators, not computers. It led,
however, to the invention of personal computers, or microcomputers.
It wasn't until the 1970's that people began buying computer for personal
use. One of the earliest personal computers was the Altair 8800 computer kit.
In 1975 you could purchase this kit and put it together to make your own
personal computer. In 1977 the Apple II was sold to the public and in 1981
IBM entered the PC (personal computer) market.
Today we have all heard of Intel and its Pentium® Processors and now we know
how it all got started. The computers of the next generation will have millions
upon millions of transistors on one chip and will perform over a billion
calculations in a single second. There is no end in sight for the computer
movement.
Super Computer
The fastest and most powerful type of computer Supercomputers are very
expensive and are employed for specialized applications that require immense
25
Mainframe Computer
Mini Computer
Micro Computers
Those computers that use microprocessor as their central processing unit and
are the smallest of the types are the microcomputers. Microcomputers are
often called personal computers (PCs) because they are intended to be used by
a single person at a time. While mainframe and mini computers can support
multiple users simultaneously, it can support only one user at a time.
26
Micro computers can further be classified into desktop computers (that can fit
within the top of a desk), laptops (portable computers that can be operated on
your lap) and palmtops (hand held computers).
Analog Computers
Analog computers are used to process continuous data. Analog computers
represent variables by physical quantities. Thus any computer which solve
problem by translating physical conditions such as flow, temperature,
27
Digital Computers
Digital computer represents physical quantities with the help of digits or
numbers. These numbers are used to perform Arithmetic calculations and also
make logical decision to reach a conclusion, depending on, the data they
receive from the user.
Hybrid Computers
Various specifically designed computers are with both digital and analog
characteristics combining the advantages of analog and digital computers
when working as a system. Hybrid computers are being used extensively in
process control system where it is necessary to have a close representation
with the physical world. The hybrid system provides the good precision that
can be attained with analogue computers and the greater control that is
possible with digital computers, plus the ability to accept the input data in
either form.
CHAPTER THREE
COMPUTER ORGANIZATION
The computer system is organized by the four basic operations of the
computer system. These basic operations are Input, Storage, Processing, and
Output. Therefore, the computer system is organized into Input Devices,
Storage Devices, Processor, and Output Devices.
INPUT DEVICE
In computing, an input device is any peripheral (piece of computer hardware
equipment) used to provide data and control signals to an information
processing system such as a computer or other information appliance.
28
An input device is any hardware device that sends data to the computer,
without any input devices, a computer would only be a display device and not
allow users to interact with it, much like a TV.
Keyboard
Mouse
Joy Stick
Light pen
Track Ball
Scanner
Graphic Tablet
Microphone
Magnetic Ink Card Reader(MICR)
Optical Character Reader(OCR)
Bar Code Reader
Optical Mark Reader
Keyboard
Most common and very popular input device is keyboard. The keyboard helps
in inputting the data to the computer. The layout of the keyboard is like that of
traditional typewriter, although there are some additional keys provided for
performing some additional functions.
Keyboards are of two sizes 84 keys or 101/102 keys, but now 104 keys or 108
keys keyboard is also available for Windows and Internet.
Mouse
Generally it has two buttons called left and right button and scroll bar is
present at the mid. Mouse can be used to control the position of cursor on
screen, but it cannot be used to enter text into the computer.
Advantages
Easy to use
Not very expensive
Moves the cursor faster than the arrow keys of keyboard.
Joystick
Light Pen
When light pen's tip is moved over the monitor screen and pen button is
pressed, its photocell sensing element detects the screen location and sends
the corresponding signal to the CPU.
Track Ball
Since the whole device is not moved, a track ball requires less space than a
mouse. A track ball comes in various shapes like a ball, a button and a square.
30
Scanner
Scanner captures images from the source which are then converted into the
digital form that can be stored on the disc. These images can be edited before
they are printed.
Digitizer
Microphone
This reading process is called Magnetic Ink Character Recognition (MICR). The
main advantage of MICR is that it is fast and less error prone.
31
OCR is an input device used to read a printed text. OCR scans text optically
character by character, converts them into a machine readable code and
stores the text on the system memory.
Bar Code Reader is a device used for reading bar coded data (data in form of
light and dark lines). Bar coded data is generally used in labelling goods,
numbering the books etc. It may be a hand held scanner or may be embedded
in a stationary scanner.
Bar Code Reader scans a bar code image, converts it into an alphanumeric
value which is then fed to the computer to which bar code reader is
connected.
OMR is a special type of optical scanner used to recognize the type of mark
made by pen or pencil. It is used where one out of a few alternatives is to be
selected and marked. It is specially used for checking the answer sheets of
examinations having multiple choice questions.
CHAPTER FOUR
STORAGE DEVICES
A computer storage device is any type of hardware that stores data. Storage
Devices are the data storage devices that are used in the computers to store
the data. The computer has many types of data storage devices. Some of them
can be classified as the removable data Storage Devices and the others as the
non removable data Storage Devices. The memory is of two types; one is the
primary memory and the other one is the secondary memory.
The primary memory is the volatile memory and the secondary memory is the
non volatile memory. The volatile memory is the kind of the memory that is
32
erasable and the non volatile memory is the one where in the contents cannot
be erased. Basically when we talk about the data storage devices it is generally
assumed to be the secondary memory.
The secondary memory is used to store the data permanently in the computer.
The secondary storage devices are usually as follows: hard disk drives – this is
the most common type of storage device that is used in almost all the
computer systems. The other ones include the floppy disk drives, the CD ROM,
and the DVD ROM. The flash memory, the USB data card etc.
Floppy discs
Application
Any use where small files such as word processing, small spreadsheets and
databases need to be moved from one computer to another.
Useful to backup small data files.
A hard disk drive is the device used to store large amounts of digital
information in computers and related equipment like iPods and games
consoles such as the Xbox 360 and PS3.
Hard disk drives are used to store operating systems, software and working
data.
These are suitable for any application which requires very fast access to data
for both reading and writing to. However, Hard disk drives may not be suitable
for applications which need portability.
Almost all computers used a fixed hard disc. Used for on-line and real time
33
processes requiring direct access. Used in file servers for computer networks to
store large amount of data.
Portable hard discs are good fun because you can carry data about all over the
place and transfer information, programs, pictures, etc between computers.
Advantages:
Greatly improved data cargo carrying capacity (relative to the 1.44 Mb floppy
discs).
You don't need to worry about the other person having the same type of
special cartridge drive as yourself.
Disadvantages:
Hard drives have to be handled quite carefully, and when being transported
should be wrapped in something soft and put in a padded bag.
More expensive than other forms of removable media.
Application
Portable discs are used to store very large files which need transporting from
one computer to another and price is not an issue.
Magnetic tapes
Magnetic tape has been used for data storage for over 50 years. When storing
large amounts of data, tape can be substantially less expensive than disk or
other data storage options. Tape storage has always been used with large
computer systems. Modern usage is primarily as a high capacity medium
for backups and archives.
Drawbacks
Writing and retrieving data is slow.
It uses serial access for reading and writing.
34
Application
Magnetic tapes are used for application which requires extremely large storage
capacity where speed of access is not an issue.
It is commonly used for backups of file servers for computer networks, in a
variety of batch processing applications such as reading of bank cheques,
payroll processing and general stock control.
CDs tend to be used for large files (but smaller than 1Gb) which are too big for
a floppy disc to hold such as music and general animation.
DVDs are used to hold very large files (several Gb) such as movie films. Both
CDs and DVDs are portable i.e. they can be transported from one computer to
another. Both can be used to store computer data.
CD ROM/DVD ROM Applications which require the prevention of deletion of
data, accidental or otherwise. CDs used by software companies for distributing
software programs and data; by Music companies for distributing music
albums and by book publishers for distributing encyclopaedias, reference
books etc. DVDs used by film distributors.
CD R/DVD R Applications which require a single ‘burning’ of data, e.g. CDs -
recording of music downloads from the Internet, recording of music from MP3
format, recording of data for archiving or backup purposes. DVDs – recording
of film movies and television programs.
CD RW/DVD RW Applications which require the updating of information and
ability to record over old data. Not suitable for music recording but is very
useful for keeping generations of files. DVDs have between five and ten times
the capacity of CDs.
These are the smallest form of memory available in the market today.
Widely used as removable storage.
They are more robust than other forms of storage.
35
Though expensive than other forms they can be easily written to and updated.
USB flash drives are typically removable and rewritable, much smaller than a
floppy disk. Storage capacities typically range from 64 MB to 64 GB. USB flash
drives offer potential advantages over other portable storage devices,
particularly the floppy disk.
They have a more compact shape, operate faster, hold much more data, have
a more durable design, and operate more reliably due to their lack of moving
parts. Flash drives are widely used to transport files and backup data from
computer to computer.
CHAPTER FIVE
Introduction
The processor (CPU, for Central Processing Unit) is the computer's brain. It
allows the processing of numeric data, meaning information entered in binary
form, and the execution of instructions stored in memory.
The first microprocessor (Intel 4004) was invented in 1971. It was a 4-bit
calculation device with a speed of 108 kHz. Since then, microprocessor power
has grown exponentially.
A computer can have more than one CPU; this is called multiprocessing. Some
integrated circuits (ICs) can contain multiple CPUs on a single chip; those ICs
are called multi-core processors.
Two typical components of a CPU are the arithmetic logic unit (ALU), which
performs arithmetic and logical operations, and the control unit (CU), which
extracts instructions from memory and decodes and executes them, calling on
the ALU when necessary.
Control unit
The control unit of the CPU contains circuitry that uses electrical signals to
direct the entire computer system to carry out stored program instructions.
The control unit does not execute program instructions; rather, it directs other
parts of the system to do so. The control unit must communicate with both the
arithmetic/logic unit and memory.
Clock rate
Operation
The processor (called CPU, for Central Processing Unit) is an electronic circuit
that operates at the speed of an internal clock thanks to a quartz crystal that,
when subjected to an electrical current, send pulses, called "peaks". The clock
speed (also called cycle), corresponds to the number of pulses per second,
written in Hertz (Hz). Thus, a 200 MHz computer has a clock that sends
200,000,000 pulses per second. Clock frequency is generally a multiple of the
system frequency (FSB, Front-Side Bus), meaning a multiple of the
motherboard frequency.
With each clock peak, the processor performs an action that corresponds to an
instruction or a part thereof. A measure called CPI (Cycles per Instruction) gives
a representation of the average number of clock cycles required for a
microprocessor to execute an instruction. A microprocessor’s power can thus
be characterized by the number of instructions per second that it is capable of
processing. MIPS (millions of instructions per second) are the unit used and
correspond to the processor frequency divided by the CPI.
38
Instructions
The operation code, which represents the action that the processor must
execute;
The operand code, which defines the parameters of the action. The operand
code depends on the operation. It can be data or a memory address.
Registers
The accumulator register (ACC), which stores the results of arithmetic and
logical operations;
The status register (PSW, Processor Status Word), which holds system status
indicators (carry digits, overflow, etc.);
The instruction register (RI), which contains the current instruction being
processed;
The ordinal counter (OC or PC for Program Counter), which contains the
address of the next instruction to process;
The buffer register, which temporarily stores data from the memory.
39
Cache Memory
Cache memory (also called buffer memory) is local memory that reduces
waiting times for information stored in the RAM (Random Access Memory). In
effect, the computer's main memory is slower than that of the processor.
There are, however, types of memory that are much faster, but which have a
greatly increased cost. The solution is therefore to include this type of local
memory close to the processor and to temporarily store the primary data to be
processed in it. Recent model computers have many different levels of cache
memory:
Level one cache memory (called L1 Cache, for Level 1 Cache) is directly
integrated into the processor. It is subdivided into two parts:
o The first part is the instruction cache, which contains instructions from the
RAM that have been decoded as they came across the pipelines.
o The second part is the data cache, which contains data from the RAM and data
recently used during processor operations.
Level 1 cache can be accessed very rapidly. Access waiting time approaches
that of internal processor registers.
Level two cache memory (called L2 Cache, for Level 2 Cache) is located in the
case along with the processor (in the chip). The level two cache is an
intermediary between the processor, with its internal cache, and the RAM. It
can be accessed more rapidly than the RAM, but less rapidly than the level one
cache.
Level three cache memory (called L3 Cache, for Level 3 Cache) is located on the
motherboard.
All these levels of cache reduce the latency time of various memory types
when processing or transferring information. While the processor works, the
level one cache controller can interface with the level two controller to
transfer information without impeding the processor. As well, the level two
40
cache interfaces with the RAM (level three cache) to allow transfers without
impeding normal processor operation.
Control Signals
Control signals are electronic signals that orchestrate the various processor
units participating in the execution of an instruction. Control signals are sent
using an element called a sequencer. For example, the Read / Write signal
allows the memory to be told that the processor wants to read or write
information.
Functional Units
A control unit that links the incoming data, decodes it, and sends it to the
execution unit: The control unit is made up of the following elements:
o Sequencer (or monitor and logic unit) that synchronizes instruction execution
with the clock speed. It also sends control signals;
o Ordinal counter that contains the address of the instruction currently being
executed;
o Instruction register that contains the following instruction.
An execution unit (or processing unit) that accomplishes tasks assigned to it by
the instruction unit. The execution unit is made of the following elements:
o The arithmetical and logic unit (written ALU). The ALU performs basic
arithmetical calculations and logic functions (AND, OR, EXCLUSIVE OR, etc.);
o The floating point unit (written FPU) that performs partial complex calculations
which cannot be done by the arithmetical and logic unit.
o The status register;
o The accumulators register.
A bus management unit (or input-output unit) that manages the flow of
incoming and outgoing information and that interfaces with system RAM.
41
CHAPTER FIVE
Output Device
Computer Monitors
The computer sends a signal to the video adapter, telling it what character,
image or graphic to display. The video adapter converts that signal to a set of
instructions that tell the display device (monitor) how to draw the image on
the screen.
the image. If the distance between pixels on a monitor screen is too great, the
picture will appear "fuzzy", or grainy. The closer together the pixels are, the
sharper the image on screen. The distance between pixels on a computer
monitor screen is called its dot pitch and is measured in millimeters. You
should try to get a monitor with a dot pitch of .28 mm or less.
Note: From an environmental point of view, the monitor is the most difficult
computer peripheral to dispose of because of the lead it contains.
There are a couple of electromagnets (yokes) around the collar of the tube that
actually bend the beam of electrons. The beam scans (is bent) across the
monitor from left to right and top to bottom to create, or draw the image, line
by line. The number of times in one second that the electron gun redraws the
entire image is called the refresh rate and is measured in Hertz (Hz).
If the scanning beam hits each and every line of pixels, in succession, on each
pass, then the monitor is known as a non-interlaced monitor. A non-interlaced
monitor is preferred over an interlaced monitor. The electron beam on an
interlaced monitor scans the odd numbered lines on one pass, and then scans
the even lines on the second pass. This results in an almost unperceivable
flicker that can cause eye-strain.
This type of eye-strain can result in blurred vision, sore eyes, headaches and
even nausea. Don't buy an interlaced monitor, they can be a real pain in the
eyes... ask your optometrist.
Interlaced computer monitors are getting harder to find (good!), but they are
still out there, so keep that in mind when purchasing a monitor and watch out
for that "steal of a deal".
Video Technologies
Video technologies differ in many different ways. However, the major 2
differences are resolution and the number of colours it can produce at those
resolutions.
Resolution
Resolution is the number of pixels that are used to draw an image on the
screen. If you could count the pixels in one horizontal row across the top of the
screen, and the number of pixels in one vertical column down the side, that
would properly describe the resolution that the monitor is displaying. It’s given
43
as two numbers. If there were 800 pixels across and 600 pixels down the side,
then the resolution would be 800 X 600. Multiply 800 times 600 and you’ll get
the number of pixels used to draw the image (480,000 pixels in this example).
A monitor must be matched with the video card in the system. The monitor
has to be capable of displaying the resolutions and colours that the adapter
can produce. It works the other way around too. If your monitor is capable of
displaying a resolution of 1,024 X 768 but your adapter can only produce 640 X
480, then that’s all you’re going to get.
When we talk about the different technologies, we’re talking about the video
card and monitor that make up that display system. Also, standards describe
the basic number of colours and resolutions for each technology, but individual
manufacturers always take liberties, providing options and enhancements that
are designed to make their product more appealing to the end user. This is, of
course, how new standards come about.
Monochrome
Monochrome monitors are very basic displays that produce only one colour.
The basic text mode in DOS is 80 characters across and 25 down. When
graphics were first introduced, they were fairly rough by today’s standards,
and you had to manually type in a command to change from text mode to
graphics mode. A company called Hercules Graphics developed a video adapter
that could do this for you. Not only could it change from text to graphics, but it
could do it on the fly whenever the application required it. Today’s adapters
still basically use the same methods.
CGA/EGA
The Colour Graphics Adapter (CGA) introduced colour to the personal
computer. In APA mode it can produce a resolution of 320 X 200 and has a
palette of 16 colours but can only display 4 at a time. With the introduction of
the IBM Enhanced Graphics Adapter (EGA), the proper monitor was capable of
a resolution of 640 X 350 pixels and could display 16 colours from a palette
of64.
VGA
Up until VGA, colours were produced digitally. Each electron beam could be
either on or off. There were three electron guns, one for each colour, red,
green and blue (RGB). This combination could produce 8 colours. By cutting the
intensity of the beam in half, you could get 8 more colours for a total of 16.
IBM came up with the idea of developing an analog display system that could
44
SVGA
Once again, manufacturers began to develop video adapters that added
features and enhancements to the VGA standard. Super-VGA is based on VGA
standards and describes display systems with several different resolutions and
a varied number of colours. When SVGA first came out it could be defined as
having capabilities of 800 X 600 with 256 colours or 1024 X 768 with 16
Colours. However, these cards and monitors are now capable of resolutions up
to 1280 X 1024 with a palette of more than 16 million colours.
XGA
Extended Graphics Array was developed by IBM. It improved upon the VGA
standard (also developed by IBM) but was a proprietary adapter for use in
Micro Channel Architecture expansion slots. It had its own coprocessor and
bus-mastering ability, which means that it had the ability to execute
instructions independent of the CPU. It was also a 32-bit adapter capable of
increased data transfer speeds. XGA allowed for better performance, could
provide higher resolution and more colours than the VGA and SVGA cards at
the time. However, it was only available for IBM machines. Many of these
features were later incorporated by other video card manufacturers.
Printer
An external hardware device responsible for taking computer data and
generating a hard copy of that data. Printers are one of the most used
peripherals on computers and are commonly used to print text, images, and
photos.
Types of printers
Below is a list of all the different types of computer printers. Today, the most
common printers used with a computer are Inkjet and Laser printers.
45
DOT matrix
1. The term DOT matrix refers to the process of placing dots to form an image;
the quality of the image being determined by the dots per inch.
2. Alternatively referred to as a pin printer, Dot matrix printers were first
introduced by Centronics in 1970 and is a printer that uses print heads to shoot
ink or strike an ink ribbon to place hundreds to thousands of little dots to form
text or images. Today, Dot matrix printers are rarely used or found because of
the low quality print outs when compared to ink jet printers and laser printers.
In the picture below, is an example of what a dot matrix printer may have
looked like.
Inkjet printer
The most popular printer for home computer users that prints by spraying
streams of quick-drying ink on paper. The ink is stored in disposable ink
cartridges, often a separate cartridge is used for each of the major colors.
These colors are usually Black, Red/Magenta, Green/Cyan, and Yellow (CYMK).
In the picture below, is an example of a computer inkjet printer.
Although inkjet printers themselves are often relatively inexpensive, the ink
cartridges used in the printers can increase the overall cost of the printer.
46
Laser printer
Conditioning
Applies a uniform negative charge to the drum.
Writing
Light source such as lasers, LED, or LCS (Liquid Crystal Shutter) write to areas
on the drum discharging the negative potential where it hits.
Developing
The toner is ionized with a negative charge and is attracted to the areas
previously written (discharged) on the drum.
Transfer
The toner of the drum is transferred to the paper by either a positively ionized
field (created by a transfer corona wire) or by a transfer roller in newer
47
printers. The toner is not yet permanently set on the paper and requires the
last stage.
Fusing
Heat and pressure are applied to the paper and toner. The toner melts and
then is pressed to the paper like doing an iron-on transfer to a T-shirt.
Thermal printer
1. A thermal impact printer or electrothermal printer is a printer that uses
heated pins to "burn" images onto heat-sensitive paper. These printers are
commonly used in calculators and fax machines; and although they are
inexpensive and print relatively fast, they produce low resolution print jobs.
2. A thermal printer, thermal transfer printer, or thermal wax-transfer printer
is a high quality printer invented by Jack Kilby that commonly utilizes a thermal
wax ribbon that melts a colored wax onto the paper creating near photo-
realistic images.
LED Printer
Short for light emitting diode printer, LED printers were developed by Casio
and are printers capable of printing at the same or close to the same quality as
most laser printers. LED printers work much like laser printers, but utilize a LED
panel that recreates the image on a negatively charged drum. The areas where
the light hits the drum become less charged, which attracts toner. The printer
then transfers the toner from the drum to the paper and applies intense heat
to fuse the toner to the paper.
Plotter
Speaker
speakers with subwoofer and resemble what most computer speakers look
like today. When computers were originally released they had on-board
speakers that generated a series of different tones and beeps. As multimedia
and games became popular, higher quality computers speakers began to be
released that required additional power. Because computer sound cards are
not powerful enough to power a nice set of speakers today's speakers are self-
powered, relatively small in size, and contain magnetic shielding.
Projector
An output device that can take the display of a computer screen and project a
large version of it onto a flat surface. Projectors are often used in meetings and
presentations to help make sure everyone in the room can view the
presentation. In the picture below, are a ViewSonic projector and an example
of what a projector may look like. Projectors used with computers are small
devices that are rarely much larger than a toaster and typically weigh a few