Unit 1 Introduction To Computers
Unit 1 Introduction To Computers
Unit 1 Introduction To Computers
Computer is the most powerful device that man has ever made. It has made a great impact on our
everyday life. Consider this statement Everything is in computer. Does it sound like an
overstatement? No. This statement is true. Nowadays, everything is in computer means any
information you can get easily with the help of computer and its technologies. Thats why
Everything is in computer and as a result computers are everywhere.
In the past three decades, technology has been transferred from developed countries (Britain, USA)
to developing countries like Nepal as well. As a result, most of the citizens of Nepal have been using
the computer these days. We use computer because of its influence in professional endeavors in
daily life. With the invent of computer, all sciences, accounting, financial, cultural, art, historical,
medical, engineering and current other disciplines are required to change with the base of computer
or computing environment. No disciplines shall survive for long time until they base their studies
through computer. We used to say Mathematics is a god of science. In the same context,
computing has been recognized as brain for all kinds of operational area.
Six decades ago, our past generation was referred as illiterate as they were not capable of writing a
letter to their children and their dears. In addition to this, these days the people would be treated as
illiterate because of incapability to send message through e-mail. Nowadays, computing
environment is really very interactive and has also reduced distance a lot. Now, the world has
turned into a global village due to computer and information technology. So, we can get
information easily at any part of the earth within a second.
CONCEPT OF COMPUTER
The development of computer is not a one days invention. In fact, it began with the civilization and
computing instructions on devices. The word computer comes from Latin word computare
(compute in English), which means to calculate. The word calculate mean to find out the result of
some operation on numeric and non-numeric values. So, a computer is normally considered to be a
calculating device at high speed. Moreover, computer is defined in the oxford dictionary as An
automatic electronic apparatus of making calculations or controlling operations that are
expressible in numerical or logical terms.
Definition
A computer can be defined as a multipurpose, programmable, electronic data processing device
that is capable of accepting input (data), processing it and producing a refined data (information) as
output at enormous speed.
2
A computer may be defined as a machine that can solve problems by accepting data, performing
certain operations and presenting results of those operations in sequential instructions. Such a set of
sequenced instructions, which cause a computer program to perform particular operations, is called
a program.
A computer can be defined as a programmable digital automatic machine, which takes input from
the user, processes it, and gives output (information) in the desired form to the user and stores it if
necessary.
A computer is an electronic device, which can perform computation as well as logical action at
enormous speed.
Input
Input(data)
(data) Processing
Processing Output
Output (information)
(information)
CHARACTERISTICS (FEATURES OR
CAPABILITIES) OF COMPUTER
Some factors that might lead people to use a computer are speed, accuracy, word length, automation,
diligence, reliability, versatility, and storage capacity.
1. Speed: The speed of electronic computer is very fast because the signals can pass at the speed of
electricity which is near to that of speed of light i.e. 2.997 x 108 m/sec. Thus millions of calculations
can be done in a second. Such speeds are beyond the comprehension of the human brain.
The processing speed of a microprocessor is usually measured in Millions of Instructions Per
Second (MIPS or throughput is also used in computer literature for number of instructions per
second.)
Note : CPU executes one instruction per second is one cycle per second that is one hertz (Hz).Similarly 1Mega
Hertz (MHz) is equal to 10 6 instructions per second that is the measuring unit of processing speed of the computer
although Hertz is measuring unit of frequency.
3
Its formula is:
Frequency (Hz) =
For Computer processing,
Frequency (MHz) =
Table 1.1: Measuring units for processing speed in terms of frequency and time
APPLICATION OF COMPUTERS
Computer is the most powerful instrument man has ever produced. It has great impact on every aspect of
mankind and plays an important role in our society. Earlier, computer was massive, special-purpose
instrument/device that only huge institution could afford for complex scientific calculations. They
used for lunching the precise orbit of Ballistic Missile or space craft and processing statistics for the
Bureau of the Census and other engineering purposes
Nowadays, computer is used in education; to teach students through multimedia, in business; to perform
accounting and financial work, tabulation of results, in office; office automation to accurate reschedule
secretarial job, managerial job, make decision, business plan activities and organization activities into
specific tasks, in communication; to communicate people to receive, and send, information, process their
message in accurate given format of time, in bank work; analyze transaction of cash of several sub
branches, analyze them for future use to maintain and sort the records of clients, in hospitals; do medical
5
diagnosis, to diagnose diseases and prescribe medicines, to perform clinical tests, in factory; to make
automatic control of devices, counting mechanism, and its process, in military; to control of military
equipment and search certain areas, to help police in crime investigation, in airways; make the route of
aircraft landing and departure guidelines, air traffic control and air ticket issue and reservation system,
in robotics; to control robots and its simulation that is use for science and technology and so on. In this
chapter these important applications of computers are discussed below:
1. Computer in Education
In education, most good schools in the world (including Nepal) have computers available for use in
the institution. It has been proved that learning with computers has been more successful and this is
why numerous forms of new teaching methods have been introduced. This enhances the knowledge
of the student at computers in our daily lives - whether we are at the cinema, the school, or the
public library. The beginning of computer literacy is already apparent.
In educational institutions, computer is used as teaching aids, information resources and computing
and research means or tools. When computer is used as a teaching tool, it is referred to as computer-added
(assisted) instruction (CAI). The CAI programs can be prepared in a variety of modes, such as tutorial,
discovery, problem solving, modeling, and drill and practice mode.
2. Computer in Business
In business sector, a Point of Sale (POS) -terminal is mostly used in department Mall, shops and
other retail centers to process sale transaction. Usually an optical bar reader is provided with a POS.
Bar code reader is marked on most packets to be soled by merchants to identify them. The POS is
connected to a computer for processing sales and sold packets are passed through a scanning
window of optical bar reader. The optical bar reader reads the bar code of that item to identify it. The
computer stores its price and other details. The computer prints name of the item, rate, price
validated date and other details on the receipt and issues the receipt to the customer, then total
amount to be paid. Most notable thing is that it also updates sale records and inventory control of that
department Mall.
3. Computer in Office
In office, Computer is used in preparing report, memorandum, copy of advertisement, letter,
publicity, contract, form, note, and notice that is the basic works of an office. It helps user in
preparing, storing, retrieving and displaying text. In office accounting, billing preparation of
payrolls, data analysis, auditing, investment, inventory control, preparation of budgets, sales
analysis is also performed. In most of the computerized office, word processing and spread
applications are used.
6
The term electronic office is used, when all work of the office is done using computers. The term office
automation is used, when computers are extensively used for office work.
4. Computer in Communication
Computer is massively used in communication. Communication is done by emails, chat, online
conferencing (computer conferencing, teleconferencing or audio or video conferencing), e-fax throughout a
computer network that connects a number of computers or workstations with the help of Internet. In
communications, computers are used to view and post news on computer Bulletin Board System
(BBS), for electronic shopping, banking and brokerage and to get information services.
Most of all, computers are the backbone of all the telecommunication companys and
telecommunication means.
7
5. Computer in Bank
Banks use computer for general-purpose computations, to
handle transaction, to maintain ledger, to issue fixed deposit
receipts, to make withdrawals and deposits to customers, to
provide online service to customers who want to perform bank
transactions from terminals and to answer customers regarding
their balance. Even through, handling the cash, banks use
cash dispensing machines, this is mainly a microprocessor-
based device. The large volumes of cheque received everyday
in banks are processed by computers. To handle this task
magnetic-ink character reader is employed with computers.
With the use of a computer, electronic transfer of funds
from one
account to another has become possible. The customers from their prefer places (home, office or
store) can insert their identification number and type the transaction details on the terminals
keyboard. Immediately the amount they specify will move out of their account and enter another's
account.
These days, banks provide 24 hours ATM service, where user can withdraw their money anytime
from ATM machine by using the ATM card.
7. Computer in Industry
In industry, computer is extensively used for automatic control of machines, process, measurement
and display of electrical and physical quantities. For example, automatic control of temperature of a
heating system, speed of a motor, voltage of generator, pressure of boiler, testing of products, all are
microprocessor based computer system.
A microprocessor-based (computer) system can monitor, measure, control and displays any part of
physical and electrical quantities like pressure of boilers, temperature of heating system,
displacement of devices, deflection of object, force, strain, voltage, current, power, frequency output
of generators, and water level.
If any fault occurs on any part or the system, it immediately alarm and disconnect the faulty part
from the healthy part of the system.
8. Computer in Military
Computer is widely used in defense purposes. At present, sophisticated weapons are being widely
used in military operations with refined microprocessor-based control systems. These are Modern tanks,
missiles, fighter planes.
9
In guided missiles, tanks, fighter planes or even arms use internal computer for their control. Com-
puter's memory holds the detailed map of the target area. Photographs of the target area are taken and
compared with stored map before it hits the target. These computer guided missiles or fighter planes are
flying faster and turn more quickly as compared to manned aircraft. They can fly into dangerous zones without
the risk of pilot's life. In this way, computer plays vital role in military system.
9. Computer in Aviation
In Aviation, computer stores all necessary information regarding ticket reservation, such as flight
number, flight route, flight distance, number of seats available for each flight in each class, ticket
fare. It also stores information regarding persons who has already reserved. The person sitting at the
counter gets information immediately whether seat on a particular date, in a particular flight is
available or not. If seat are available, computer prints and issues ticket and the details of the person
getting reservation are recorded. The computer also prints reservation charts. It also gives
information regarding flight departure and arrival time to customer and aviation department.
It is also used in air traffic control system to control landing and takeoff of airplanes to minimize any
accidental risk and to increase the number of flight in an airport. Computer is used to control
RADAR system and other communication devices.
CAD is a software package which helps design engineers and architects to design and prepare
drawings. CAD is widely used to prepare machine drawings, building drawings, presentation of
solid model (3-D views) of machine parts on the screen. It also shows dimensions. The output of
CAD helps other engineers in manufacturing the machines and erecting buildings. CAD is also used
to draw electric and electronic circuit diagrams, to design printed circuit board layouts, LSI/VLSI
chips, aircraft structure, bridge, tower structures, chemical plants piping layout. AutoCAD is a
popular CAD package used for preparing drawings.
Limitation
Computer is the non- intelligent machine (dull machine). It cannot think and give the right
decisions as human being.
It cannot operate without battery or electricity.
Failure in devices and wrong information by users makes it unreliable.
It cannot memorize and recall as needed only store data in secondary memory.
It requires instructions to perform a task.
14
Disadvantage
Computer can be used for computer crimes like hacking, creating and sending viruses, etc.
It has increased dependency on machine.
It is still expensive so each and every people cannot afford the computer.
Repair and maintenance is required frequently.
Skilled manpower is required to work in the computer.
HISTORY OF COMPUTER
"Necessity is the mother of invention". The saying holds true for computers also because computers
were invented as a result of mans search for fast, accurate and comfort calculating devices.
Evolution of computer is a study of past development of computer, whereas generations of computers may be
defined as an average period of time in which old computer technology may be replaced by newer technology.
Ancient people lived on the earth for centuries without counting. Then they started to count with
their ten fingers. It became so difficult to live and to remember them more and more facts using their
ten fingers. These phenomena were gradually replaced by the use of stones, sticks, counting notches
(V-shaped cut in or on something).
Value stored in 0 5 5 4 7 9 0 8 6
rod
Upper
Wooden deck
frame (Heaven)
Mid bar
Rod
Lower
Beads deck
(Earth)
Power of 10 108 107 106 105 104 103 102=100 101=10 100=1
In this machine, numbers were entered by dialing a series of numbered wheels each wheel having
numbers from 0 to 9. A complete turning of first wheel causes the 2 nd wheel to move the next
number. Another series of toothed wheels transferred the movements to a dial, which showed the
result. For addition the wheel was moved into forward direction and for subtraction into the
reverse direction. It could perform addition and subtraction up to 8 digits i.e. 99,999,999 that was a
great achievement at that time. This mechanical calculator was called Pascaline. Pascal programming
language is named on his name.
Baron Gottfried Wilhelm Von Leibniz (1646-1716 AD)
THE GERMAN mathematician and philosopher Baron Gottfried Wilhelm
Von Leibniz (in short Leibniz) was an outstanding thinker who developed a
method of computation called calculus. Both Leibniz and the English
scientist Isaac Newton (1642-1727) claimed to be First with the theory of
calculus. In fact they developed it simultaneously and independently.
Leibniz's knowledge was vast and diverse, covering all the intellectual
disciplines of his day.
17
In 1671 AD, Leibniz modified the Pascaline machine and invented a first calculator Stepped
Reckoner, which was able to perform automatic addition, subtraction, multiplication, division and
could find out square root. Leibnizs machine used stepped cylinder each with nine teeth of varying
lengths instead of wheels It was called LeibnizCalculator or Stepped Reckoner.
Figure 1.22: Joseph Marie Jacquard and Automated Cloths Weaving Machine
Mark I
A Professor of Physics Howard H. Aiken designed a
Figure 1.24: Mark- I
general purpose mechanical computer at Harvard
University and IBM, while working on his doctorate
in physics, in the year 1937. The machine was called
IBM Automatic Sequence Controlled Calculator
(IBM ASCC) and later as Harvard Mark I. It was
constructed in IBM, leading manufacturer of office
equipment at that time. Mark I is completed in 1944
AD. It was relay-based computer on the based on the
concept of Charles Babbages Analytical engine
principle. Later, Mark II was built by Aiken and his
colleagues that were working electromechanical
relays for its operation. Mark-II used 19000 valves.
Many computers using electromechanical relays were built in the 1940s. But they were quickly
outmoded by faster and more reliable electronic computers.
Features of Mark I:
It used about 18 thousand vacuum tubes (valves) as main memory device with 7 lakes 50
thousands parts
Its about 51 feet long, 8 feet height and 3 feet wide i.e. bulky in size.
Technically it was very complicated machine, consumed huge amount of power and generated
lot of heat during the operation.
The time taken for average multiplication and division was about four and eleven seconds
respectively.
The results were printed at the rate of one result per five seconds.
Communication
[Processor] Program + Data [Memory]
Channel
It consists of a processor & a communication channel. The main job of the processor is to execute
programs & operations stored in computer.
EDSAC
SDSAC (Electronic delay storage automatic computer) was invented by Maurice Wilkes in 1949. It also
used vacuum tubes. Although started after EDVAC, it was completed before EDVAC. So, it became the
first stored program computer.
EDVAC
EDVAC (Electronic Discrete Variable Automatic Computer) was developed by J.P Eckert and J.
Mauchly in 1952 (between 1947 to 1950-2) & used for more school personnel and the Ballistics
Research Laboratory of the USA Army, built a computer named EDVAC, which was based on John
Von Neumanns ideas. Neumann was the first to introduce the stored program concept in a
computer. It also used vacuum tubes and some internal storage.
23
UNIVAC
UNIVAC (Universal automatic computer) was developed by J.P. Eckert and J. Mauchly in 1961. It
was the first computer manufactured for commercial use and general purpose digital computer.
Before this, all the computers were either used for defense or census.
GENERATION OF COMPUTERS
Computer generations classification is mainly based on the basic devices used. Also the
considerations are the architecture, languages, modes of operation, etc. The functions performed by
the computers and the speed of their operations have been changing since the old days to the most
modern computers. There have been great variations in size and cost of computer. Technological
break-through in hardware and software resulted into more and advanced computer systems. It has
been identified that there are four major stages in the continuous development process of the
computers. These stages are called computer generations. In fact, computer system belonging to one
particular technological class is said to belong to a particular computer generation.
The first generation computer was the large mainframes built with valves. The smaller but the more
reliable computers built with transistors are called the second-generation computers. And the
computers made with silicon chips are the third generation computers. Real break-through came
when the microprocessor chip appeared. The microprocessor-based computers are called fourth
generation computers.
Characteristics of AI
AI is man made and its level of activity depends on the programming capability.
It has the potential to extend problem solving ability of a manager beyond his/her normal
capabilities.
It is a mechanism that is not subject to human feelings like fatigue, worry etc.
EXERCISES
Short Answer Questions
1. Computer is a versatile machine. Explain briefly.
2. What are the application areas of computer? Explain in brief. [HSEB 2067]
3. Why is Charles Babbage known as Father of the Computer? [HSEB 2062, Supp]
4. Describe at least five ways in which information technology can help students studying subjects
other than computing. [HSEB 2062]
5. Write short notes on evolution of computer.
6. Why is John Von Neumann a remarkable name in the history of computer?
7. Write brief note on the achievement of the following computer scientists:
a. Howard Aiken [HSEB 2062]
b. Herman Hollerith
c. Lady Ada
8. Explain the evolution of computer describing the technologies used in different generations.
[HSEB 2059]
9. What do you mean by generation of computer? Explain the characteristics of third generation of
computers. [HSEB 2061]
28
10. Compare the distinctions between third and fourth generations of computer. [HSEB 2060]
11. Pentium I computers are fourth generation computers. Why?
12. What are the advantages of transistors over vacuum tubes?
13. State the characteristics of fourth generation computers. [HSEB 2064]
14. Convert the following:
a. 45 GB = (?) MB b. 230 MB = (?) bytes
c. 12.5 GHz = (?) Hz d. 2400 MHz = (?) EHz
15. Write short notes on:
a. Charles Babbage [HSEB 2064] b. AI
c. EDVAC d. Abacus
Introduction.................................................................................................................................1
Concept of Computer...................................................................................................................2
Definition..................................................................................................................................2
1. Computer in Education.........................................................................................................5
2. Computer in Business...........................................................................................................6
3. Computer in Office...............................................................................................................6
4. Computer in Communication...............................................................................................7
5. Computer in Bank.................................................................................................................8
7. Computer in Industry...........................................................................................................9
8. Computer in Military............................................................................................................9
9. Computer in Aviation..........................................................................................................10
13. Computer in CAM (Computer Aided Manufacture) / CAD (Computer Aided Design).........12
Engineering
Management
14. Computer in Desktop Publishing System............................................................................12
Education
Office automation
15. Computers in Some Other Places.....................................................................................13
Tourism
Limitation...............................................................................................................................14
30
Advantages and Disadvantages of Computer.............................................................................15
Advantage..............................................................................................................................15
Disadvantage..........................................................................................................................15
History of Computer...................................................................................................................15
Generation of Computers...........................................................................................................23
Characteristics of AI................................................................................................................27
Exercises.....................................................................................................................................27