Computer Fundamentals Notes
Computer Fundamentals Notes
Introduction to Computers
Almost all of us in the world make use of computers in one way or the other. It finds
applications in various fields of engineering, medicine, commercial, research and others.
The word computer comes from the word “compute”, which means, “to calculate”. Compute
means to calculate.
The computer was originally defined as a super fast calculator. It had the capacity to solve
complex arithmetic and scientific problems at very high speed. But nowadays in addition to
handling complex arithmetic computations, computers perform many other tasks like accepting,
sorting, selecting, moving, comparing various types of information. They also perform arithmetic
and logical operations on alphabetic, numeric and other types of information.
A computer is also called a data processor because it can store, process, and retrieve data
whenever desired.
Data is raw material used as input and information is processed data obtained as output of data
processing
Information in another form is presented by the computer after performing a process on it.
This information is the output information or output data.
Data Processing
1
The set of instructions given to the computer to perform various operations is called as the
computer program.
The process of converting the input data into the required output form with the help of the
computer program is called as data processing. The computers are therefore also referred to as
data processors.
A computer is a fast and accurate data processing system that accepts data, performs various
operations on the data, has the capability to store the data and produce the results on the basis of
detailed step by step instructions given to it.
Computer is an advanced electronic device that takes raw data as an input from the user and
processes it under the control of a set of instructions (called program), produces a result (output),
and saves it for future use.
Functionalities of a Computer
If we look at it in a very broad sense, any digital computer carries out the following five
functions –
2
Characteristics / Advantages of Computer
1. Automatic:
Given a job, computer can work on it automatically without human interventions.
2. Speed:
• Computer can perform data processing jobs very fast.
• It is capable of performing calculation of very large amount of data.
• The speed of a computer is measured in terms of the number of instructions that it
can perform or execute in a second. It can perform millions of calculations in a
few seconds as compared to man who will spend many months to perform the
same task. The speeds of computers are measured in microseconds (10-6),
nanoseconds (10-9), and picoseconds (10-12)
3. Accuracy:
In addition to being very fast, computers are very accurate. Accuracy of a computer is
consistently high and the degree of its accuracy depends upon its design. A computer
performs every calculation with same accuracy.
Errors can occur in a computer. These errors caused due to incorrect input data or
unreliable programs are often referred to as Garbage-In-Garbage-Out (GIGO)
4. Storage capability:
Computers are capable of storing large amounts of data in their storage devices. These
storage devices typically include floppy disks, tapes, hard disks, CDs etc,
5. Diligence:
Computer is free from monotony, tiredness, and lack of concentration. It can
continuously work for hours without creating any error and without boredom. The
computers can perform repeated tasks with the same speed and efficiency any number of
times without exhausting there selves
6. Versatility:
They are capable not only of performing complex mathematical tasks of science and
engineering, but also other non-numerical operations fielding air-line reservation, electricity
bills, data base management etc.
7. Power of remembering:
3
A computer can store and recall any amount of information because of secondary storage
devices.
Limitations of Computers:
EVOLUTION OF COMPUTERS
4
o The ENIAC computed at speed about thousand times faster than Mark I.
o However, it could store and manipulate only a limited amount of data.
o Program modifications and detecting errors were also difficult.
5
GENERATION OF COMPUTERS
The computers of the first generation were very bulky and emitted large amount of heat
which required air conditioning. They were large in size and cumbersome to handle. They had to
be manually assembled and had limited commercial use. The concept of operating systems was
not known at that time. Each computer had a different binary coded program called a machine
language that told it how to operate.
This was the generation of Transistorized Computers. Vacuum tubes were replaced by
transistors. As a result, the size of the machines started shrinking. These computers were smaller,
faster, more reliable and more energy efficient. The first transistorized computer was TX-0. The
first large scale machines that took advantage of the transistor technology were the early
supercomputers, Stretch by IBM and LARC by Sperry Rand. These machines were mainly
developed for atomic energy laboratories. Typical computers of the second generation were the
IBM 1400 and 7000 series, Honeywell 200 and General Electric.
IBM 1401 was universally accepted throughout the industry and most large businesses
routinely processed financial information using second generation computers. The machine
language was replaced by assembly language. Thus the long and difficult binary code was
replaced with abbreviated programming code which was relatively easy to understand.
The stored program concept and programming languages gave the computers flexibility to
finally be cost effective and productive for business use. The stored program concept implied
6
that the instructions to run a computer for a specific task were held inside the computer’s
memory and could quickly be modified or replaced by a different set of instructions for a
different function. High level languages like COBOL, FORTRAN and AL- GOL were dev
eloped. Computers started finding vast and varied applications. The entire software industry
began with the second generation computers.
This generation was characterized by the invention of Integrated Circuits (ICs). The 1C
combined electronic components onto a small chip which was made from quartz.
Later, even more components were fitted onto a single chip, called a semiconductor. This
reduced the size even further. The weight and power consumption of computers decreased and
the speed increased tremendously. Heavy emphasis was given to the development of software.
Operating systems were designed which allowed the machine to run many different programs at
once. A central program monitored and co-ordinate the computer s memory. Multiprogramming
was made possible, whereby the machine could perform several jobs at the same time.
Computers achieved speeds of executing millions of instructions per second. Commercial
production became easier and cheaper. Higher level languages like Pascal and Report Program
Generator (RPG) were introduced and applications oriented languages like FORTRAN, COBOL,
and PL/1 were developed.
The third generation computers made use of ‘Integrated Circuits that had 1020 components
on each chip, this was Small Scale Integration (SSI).
The Fourth Generation realized Large Scale Integration (LSI) which could fit hundreds of
components on one chip and Very Large Scale integration (VLSI) which squeezed thousand of
components on one chip. The Intel 4004 chip, located all the components of a computer (central
processing unit, memory, input and output controls) on a single chip and microcomputers were
7
introduced. Higher capacity storage media like magnetic disks were developed. Fourth
generation languages emerged and applications software’s started becoming popular.
Computer production became inexpensive and the era of Personal Computers (PCs)
commenced. In 1981, IBM introduced its personal computer for use in office, home and schools.
In direct competition, the Macintosh was introduced by Apple in 1984. Shared interactive
systems and user friendly environments were the features of these computers.
As the computers started becoming more and more powerful, they could be linked
together or networked to share not only data but also memory space and software. The networks
could reach enormous proportions with local area networks. A global web of computer circuitry,
the Internet, links the computers worldwide into a single network of information.
Defining the fifth generation computers is somewhat difficult because the field is still in
its infancy. The computers of tomorrow would be characterized by Artificial Intelligence (At).
An example of Al is Expert Systems. Computers could be developed which could think and
reason in much the same way as humans. Computers would be able to accept spoken words as
input (voice recognition).
Many advances in the science of computer design and technology are coming together to
enable the creation of fifth generation computers. Two such advances are parallel processing
where many CPUs work as one and advance in superconductor technology which allows the
flow of electricity with little or no resistance, greatly improving the speed of information flow.
8
9
CLASSIFICATION OF COMPUTERS
Computers are broadly classified into two categories depending upon the logic used in their
design as:
Hybrid Computers:
Hybrid Computers are a combination of Analog and Digital computers. They combine
the speed of analog computers and accuracy of digital computers. They are mostly used in
specialized applications where the input data is in an analog form i.e. measurement. This is
converted into digital form for further processing. The computers accept data from sensors and
produce output using conventional input/output devices.
10
Classification of digital computers:
Another classification of digital computers is done on the basis of their capacity to access
memory and size like
1. Microcomputers:
These are portable in nature and are battery operated. Storage devices like CDs, floppies
etc. and output devices like printers can be connected to these computers. Notebook computers
are smaller in physical size than lap top computers. However, both have powerful processors,
support graphics, and can accept mouse driven input.
These types of computers are mainly used in applications like collection of field data.
They are even smaller than the note book computers.
4. Mini Computers:
Mini computers are more powerful than the micro computers. They have higher memory
capacity and more storage capacity with higher speeds. These computers are mainly used in
process control systems. They are mainly used in applications like payrolls, financial accounting,
Computer aided design etc. ex. VAX, PDP-11
5. Mainframe Computers:
Main frame computers are very large computers which process data at very high speeds of
the order of several million instructions per second. They can be linked into a network with
smaller computers, micro computers and with each other. They are typically used in large
organizations, government departments etc. ex. IBM4381, CDC
6. Super Computers:
A super computer is the fastest, most powerful and most expensive computer which is used
for complex tasks that require a lot of computational power. Super computers have multiple
processors which process multiple instructions at the same time. This is known as parallel
processing. These computers are widely used in very advanced applications like weather
forecasting, processing geological data etc. ex. CRAY-2, NEC - 500, PARAM.
11
A COMPUTER SYSTEM
Any system is defined as a group of integrated parts which are designed to achieve a common
objective. Thus, a system is made up of more than one element or part, where each element
performs a specific function and where all the elements (parts) are logically related and are
controlled in such a way that the goal (purpose) of the system is achieved.
Each of these units performs a specific task. However, none of them can function independently
on their own. They are logically related and controlled to achieve a specific goal. When they are
thus integrated they form a fully fledged computer system.
• Input Unit
• The Central Processing Unit
• Output Unit
12
1. The Input Unit:
Input dev ices are the devices which are used to feed programs and data to the computer. The
input system connects the external environment with the computer system. The input dev ices are
the means of communication between the user and the computer system. Typical input devices
include the keyboard, floppy disks, mouse, microphone, light pen, joy stick, magnetic tapes etc.
The way in which the data is fed into the computer through each of these devices is different.
However, a computer can accept data only in a specific form. Therefore these input devices
transform the data fed to them, into a form which can be accepted by the computer. These
devices are a means of communication and inter station between the user and the computer
systems.
e.g: keyboard, mouse, microphone, joystick, MICR, OCR, OMR, Scanner etc.
This is the brain of any computer system. The central processing unit or CPU is made of
three parts:
The Control Unit controls the operations of the entire computer system. The control unit
gets the instructions from the programs stored in primary storage unit interprets these instruction
an subsequently directs the other units to execute the instructions. Thus it manages and
coordinates the entire computer system.
The Arithmetic Logic Unit (ALU) actually executes the instructions and performs all the
calculations and decisions. The data is held in the primary storage unit and transferred to the
ALU whenever needed. Data can be moved from the primary storage to the arithmetic logic unit
a number of times before the entire processing is complete. After the completion, the results are
sent to the output storage section and the output devices.
This is also called as Main Memory. Before the actual processing starts the data and the
instructions fed to the computer through the input units are stored in this primary storage unit.
Similarly, the data which is to be output from the computer system is also temporarily stored in
13
the primary memory. It is also the area where intermediate results of calculations are stored. The
main memory has the storage section that holds the computer programs during execution.
3. Output Unit:
The output devices give the results of the process and computations to the outside world. The
output units accept the results produced by the computer, convert them into a human readable
form and supply them to the users. The more common output devices are printers, plotters,
display screens, magnetic tape drives etc.
Hardware:
The hardware is the machinery itself. It is made up of the physical parts or devices of the
computer system like the electronic Integrated Circuits (ICs), magnetic storage media and other
mechanical devices like input devices, output devices etc. All these various hardware are linked
together to form an effective functional unit. The various types of hardware used in the
computers, has evolved from vacuum tubes of the first generation to Ultra Large Scale Integrated
Circuits of the present generation.
Software:
The computer hardware itself is not capable of doing anything on its own. It has to be
given explicit instructions to perform the specific task. The computer program is the one which
controls the processing activities of the computer. The computer thus functions according to the
instructions written in the program. Software mainly consists of these computer programs,
procedures and other documentation used in the operation of a computer system. Software is a
collection of programs which utilize and enhance the capability of the hardware
CLASSIFICATION OF SOFTWARES
Software means a set of programs, procedures and other associated documentation which
describes what the program does and how it is to be used. Hardware and software both have to
work together. A number of software’s can be run on the same hardware to perform different
types of jobs. The software acts as an interface between the user and the computer.
Software is mainly classified into:
• Application Software
• System Software
14
Application Software:
Application software is a program or a set of programs which are written to carry out a
specific application.eg. Payroll, financial accounting etc. Nowadays special application software
or packages for specialized areas like drawing, engineering, manufacturing, banking, and
publishing are available. The set of programs which together make an application package are
called application programs.
System Software:
The systems software controls the working of the computer system. It helps the user to
use the computer by allowing him to communicate with the system. System software controls the
working of other software’s, hardware, hardware devices like printers, memory, CPU etc. Thus,
they make the operation of the computer more efficient. The programs included in system
software are systems programs. Without the systems programs, it would not be possible for the
application programs to work on the computer. The systems software is generally provided by
the manufacturer of the computer hardware. Without the systems software the hardware would
not work. E.g. Operating System, Compiler, Interpreter, Assembler etc.
Utility Software:
These are a set of programs or tools which are used in program development or for performing
limited tasks, eg. Scandisk, disk cleanup, disk defragmenter etc.
Firmware:
With the advances in technology it is now possible to make the software available on
ROM (Read Only Memory) chips. These chips, which form a part of the software, have the
programs in them. Thus programs available on hardware are called Firmware. Today not only
systems software, but even some dedicated application programs are being made available on
firmware.
15