Unit1 Chapter1 Foc Notes
Unit1 Chapter1 Foc Notes
FUNDAMENTALS OF COMPUTERS
Akshay K
Lecturer
Department of Computer Science
Trisha College of Commerce and Management
Mangaluru
UNIT I
INDEX
Page | 1
CHAPTER 1 : COMPUTER BASICS
INTRODUCTION TO COMPUTERS
o In the beginning of civilization, people used fingers and pebbles for computing
purposes. In fact, the word digitus in Latin actually means finger and calculus
means pebble.
o This gives the clue into the origin of early computing concepts.
o The term computer is derived from the word compute which means to calculate.
o Computers have left such an impression on modern civilization that we call this
era as the “information age”.
CHARACTERISTICS OF COMPUTERS
Speed:
The computers process data at an extremely fast rate at millions or billions of
instructions per second. The speed of computer is calculated in MHz(Megahertz),
one million instructions per second.
Accuracy:
Computer are very efficient as well as very accurate. The accuracy depends on
the instructions and the type of machines being used.
Diligence:
Computer does not suffer from the human traits of tiredness and lack of
concentration.
Reliability:
It is the measurement of performance of a computer which is measured against
some predetermined standard for operation without any failure.
Page | 2
Storage Capability:
Computers can store large amounts of data and can recall the required
information almost instantaneously.
Versatility:
Computers are quite versatile in nature. Means it can perform multiple tasks
simultaneously with equal ease.
Resource Sharing:
In the initial stages of development computers used to be isolated machines. With
the tremendous growth in computer technologies computers today have the
capability of connect with each other for data and information sharing. Even we
can share peripherals(resources) like printers.
LIMITATIONS OF COMPUTER
o A computer can only perform what it is programmed to do.
EVOLUTION OF COMPUTERS
Having the right tool to perform these tasks has always been important for
human beings.
In the beginning, when the task was simply counting or adding, people used
either their fingers or pebbles along lines in the sand.
In order to conveniently have the sand and pebbles all the time, people in Asia
Minor built a counting device called abacus.
Page | 3
The abacus was simple to operate and was used worldwide for centuries.
This brass rectangular box, also called a Pascaline, used eight movable dials
to add numbers up to eight figures long.
The only problem with this device was that it lacked mechanical precision in
its construction and was not very reliable.
The real beginning of computers as we know them today, however, lay with
an English mathematics professor, Charles Babbage.
However, Babbage never quite made a fully functional difference engine and
in 1833 he quitted working on this machine to concentrate on the Analytical
Engine.
The basic design of this engine included input devices in the form of
perforated cards containing operating instructions and a “store” for memory
of 1,000 numbers of up to 50 decimal digits long.
A punched card or punch card is a piece of stiff paper that can be used to
contain digital data represented by the presence or absence of holes in
predefined positions. Digital data can be for data processing applications or,
in earlier examples, used to directly control automated machinery.
In 1889, Herman Hollerith, who worked for the US Census Bureau, also
applied Jacquard’s loom concept to computing and developed a machine
called Hollerith’s Tabulator.
Page | 4
machine, Hollerith’s method used cards to store the data, which he fed into a
machine that compiled the results mechanically.
In 1944 in the time of World War II, IBM and Harvard Aiken developed Mark
I. This electronic calculating machine used relays and electromagnetic
components to replace mechanical components.
This computer used electronic vacuum tubes to make the internal parts of the
computer. It embodied almost all the components and concepts of today’s
high-speed, electronic computers.
This is the first electronic computer to use the stored program concept
introduced by John Von Neumann.
In the 1960s, efforts to design and develop the fastest possible computer with
the greatest capacity reached a turning point with the Livermore Advanced
Research Computer (LARC), which had access time of less than 1 μs (micro
second) and the total capacity of 100,000,000 words.
The vacuum deposition of transistors became the norm and entire computer
assemblies became available on tiny “chips”.
Microprocessors equipped with the Read Only Memory (ROM), which stores
constantly used and unchanging programs, performed an increased number of
functions.
By the late 1980s, some PCs were run by microprocessors that were capable
of handling 32 bits of data at a time and processing about 4,000,000
Page | 5
instructions per second.
By the 1990s, PCs became part of everyday life. This transformation was the
result of the invention of the microprocessor, a processor on a
single integrated circuit (IC) chip.
GENERATIONS OF COMPUTERS
In computer terminology, the word generation is described as a stage of
technological development or innovation.
These computers used vacuum tubes for circuitry and magnetic drums for
memory.
A magnetic drum is a metal cylinder coated with magnetic iron oxide material on
which data and programs can be stored.
The input was based on punched cards and paper tape, and the output was in the
form of printouts
Page | 6
called machine language (language of 0s and 1s) to perform operations and
were able to solve only one problem at a time.
Each machine was fed with different binary codes and hence, were difficult to
program. This resulted in lack of versatility and speed.
2. These were the fastest computing devices of their times (computation time
was in milliseconds).
3. These computers were very large and required a lot of space for installation.
4. Since thousands of vacuum tubes were used, they generated a large amount of
heat. Therefore, air conditioning was essential.
7. They were very expensive to operate and used a large amount of electricity.
9. Since machine language was used, these computers were difficult to program
and use.
Page | 7
Since a transistor is a small device, the physical size of computers was greatly
reduced.
Computers became smaller, faster, cheaper, energy efficient and more reliable
than their predecessors.
However, they still relied on punched cards for the input and printouts for the
output.
One of the major developments of this generation includes the progress from
machine language to assembly language.
For example, ADD for addition and MULT for multiplication. As a result,
programming became less cumbersome.
4. These were more reliable and less prone to hardware failure. Hence, they
required less frequent maintenance.
Page | 8
7. Second-generation computers still required air conditioning.
3. These were easily portable and more reliable than the second-generation
computers.
4. These devices consumed less power and generated less heat. In some cases,
air conditioning was still required.
Page | 9
computers.
6. Since hardware rarely failed, the maintenance cost was quite low.
Page | 10
be linked together to form networks, which eventually led to the development
of the Internet.
CLASSIFICATION OF COMPUTERS
Microcomputers
• The micro-computer is generally the smallest of the computer family.
• Originally, these were designed for individual users only, but nowadays they
have become powerful tools for many businesses that, when networked
together, can serve more than one user.
• A microcomputer is a small, low-cost digital computer, which usually consists
of a microprocessor, a storage unit, an input channel and an output channel,
all of which may be on one chip inserted into one or several PC boards.
Page | 12
• The addition of power supply and connecting cables, appropriate peripherals
(keyboard, monitor, printer, disk drives and others), an operating system and
other software programs can provide a complete microcomputer system.
Desktop Computer:
• The desktop computer, also known as the PC, is principally intended for
stand-alone use by an individual.
• These are the most-common type of micro-computers.
• These micro-computers typically consist of a system unit, a display monitor,
a keyboard, an internal hard disk storage and other peripheral devices.
• The main reason behind the importance of the PCs is that they are not very
expensive for the individuals or the small businesses.
Laptop:
• A laptop is a portable computer that a user can carry around.
• Since the laptop resembles a notebook, it is also known as the notebook
computer.
• Laptops are small computers enclosing all the basic features of a normal
desktop computer.
• The biggest advantage of laptops is that they are lightweight and one can use
them anywhere and at anytime, especially when one is travelling.
• Moreover, they do not need any external power supply as a rechargeable
battery is completely self-contained in them.
• However, they are expensive as compared to desktop computers
Hand-held Computer:
• A hand-held computer such as a Personal Digital Assistant (PDA) is a
portable computer that can conveniently be stored in a pocket and used while
the user is holding it.
• PDAs are essentially small portable computers and are slightly bigger than the
common calculators.
• A PDA user generally uses a pen or electronic stylus, instead of a keyboard
for input.
• The monitor is very small and is the only apparent form of output.
Page | 13
• Since these computers can be easily fitted on the top of the palm, they are also
known as palmtop computers.
• Hand-held computers usually have no disk drive; rather, they use small cards
to store programs and data.
• However, they can be connected to a printer or a disk drive to generate output
or store data.
• They have limited memory and are less powerful as compared to desktop
computers.
• Some examples of hand-held computers are Apple Newton, Casio Cassiopeia
and Franklin eBookMan.
Minicomputers
• In the early 1960s, Digital Equipment Corporation (DEC) started shipping its
PDP series computer, which the press described and referred to as minicomputers.
• Some of the widely used minicomputers are PDP 11, IBM (8000 series) and VAX
7500.
Page | 14
Mainframes
• A mainframe is an ultra-high-performance computer made for high-volume,
processor-intensive computing.
• It consists of a high-end computer processor, with related peripheral devices,
capable of supporting large volumes of data processing, high-performance
online transaction processing, and extensive data storage and retrieval.
• Normally, it is able to process and store more data than a minicomputer and
far more than a microcomputer.
• Moreover, it is designed to perform at a faster rate than a minicomputer and
at even faster rate than a microcomputer.
• Mainframes are the second largest (in capability and size) of the computer
family, the largest being the supercomputers.
• However, mainframes can usually execute many programs simultaneously at
a high speed.
• The mainframe allows its users to maintain a large amount of data storage at
a centralized location and to access and process this data from different
computers located at different locations.
• It is typically used by large businesses and for scientific purposes.
• Some examples of the mainframe are IBM's ES000, VAX 8000 and CDC
6600.
Supercomputers
• Supercomputers are the special-purpose machines, which are especially
designed to maximize the numbers of floating-point operations per second
(FLOPS).
• Any computer below one gigaflop per second is not considered a
supercomputer.
• A supercomputer has the highest processing speed at a given time for solving
scientific and engineering problems.
• Essentially, it contains a number of CPUs that operate in parallel to make it
faster.
• Its processing speed lies in the range 400–10,000 MFLOPS (millions of
floating point operations per second).
Page | 15
• Due to this feature, supercomputers help in many applications including
information retrieval and computer-aided designing
• A supercomputer can process a great deal of data and make extensive
calculations very quickly.
• It can resolve complex mathematical equations in a few hours, which would
have taken many years when performed using a paper and pencil or using a
hand calculator.
• It is the fastest, costliest and most powerful computer available today.
• Scientists build complex models and simulate them in a supercomputer.
• However, a supercomputer has limited broad-spectrum use because of its price
and limited market.
• The largest commercial uses of supercomputers are in the
entertainment/advertising industry. CRAY-3, Cyber 205 and PARAM are
some well known supercomputers.
Page | 16
• Every computer needs to be instructed exactly what to do and how to do.
• The instructions given to computers are called programs.
• Without programs, computers would be useless. The physical parts that make
up a computer (the CPU, input, output and storage unit) are known
as hardware.
• Any hardware device connected to the computer or any part of the computer
outside the CPU and working memory is known as a peripheral.
• Some examples of peripherals are keyboards, mouse and monitors.
Page | 17
o The CPU works with data in discrete form, that is, either 1 or 0.
o It counts, lists, compares and rearranges the binary digits of data in accordance
with the detailed program instructions stored within the memory.
o Before the completion of the processing, data may need to be transferred back
and forth several times between these two sections.
Control Unit
o This unit checks the correctness of the sequence of operations.
o It fetches the program instructions from the memory unit, interprets them and
ensures correct execution of the program.
o It also controls the I/O devices and directs the overall functioning of the other
units of the computer.
Registers
o These are the special-purpose, high-speed temporary memory units that can
hold varied information such as data, instructions, addresses and intermediate
results of calculations.
o Essentially, they hold the information that the CPU is currently working on.
Page | 18
operation can be performed on the given data.
o Similarly, after processing the data, the information must go out from the
computer system to the user.
o For this, every computer system incorporates the I/O unit that serves as a
communication medium between the computer system and the user.
o An input unit accepts instructions and data from the user with the help of input
devices such as keyboard, mouse, light pen, etc.
o Since the data and instructions entered through different input devices will be
in different form, the input unit converts them into the form that the computer
can understand.
o After this, the input unit supplies the converted instructions and data to the
computer for further processing.
o The primary memory, also called the main memory, is the part of a computer
that holds the instructions and data currently being processed by the CPU, the
intermediate results produced during the course of calculations and the
recently processed data.
o While the instructions and data remain in the main memory, the CPU can
access them directly and quickly.
o However, the primary memory is quite expensive and has a limited storage
capacity.
o Due to the limited size of the primary memory, a computer employs the
secondary memory, which is extensively used for storing data and
Page | 19
instructions.
o It supplies the stored information to the other units of the computer as and
when required.
o It is less expensive and has higher storage capacity than the primary memory.
o Some commonly used secondary storage devices are floppy disks, hard disks
and tape drives.
Step 2
o The computer processes the data.
o During this stage, the computer follows the instructions using the data that
have been input.
o Examples of processing include calculations, sorting lists of words or numbers
and modifying documents according to user instructions.
Step 3
o The computer produces output.
o Computer output is the information that has been produced by a computer.
o Some examples of computer output include reports, documents and graphs.
o Output can be in several formats, such as printouts, or displayed on the screen
APPLICATIONS OF COMPUTERS
o In the last few decades, computer technology has revolutionized the businesses
and other aspects of human life all over the world.
Page | 20
o Practically, every company, large or small, is now directly or indirectly
dependent on computers for data processing.
o Computer systems also help in the efficient operation of railway and airway
reservation, hospital records, accounts, electronic banking and so on.
o Computers not only save time, but also save paper work.
Some of the areas where computers are being used are listed below:
o Science: Scientists have been using computers to develop theories, to analyze
and to test the data.
The fast speed and the accuracy of the computer allow different scientific
analyses to be carried out.
They can be used to generate detailed studies of how earthquakes affect
buildings or pollution affects weather pattern.
Satellite-based applications would not have been possible without the use of
computers.
It would also not be possible to get the information of our solar system and the
cosmos without computers.
o Business Application: There are various concerns for which computers are
used such as in business forecasting, to prepare pay bills and personal records,
in banking operations and data storage, in various types of life insurance
business, and as an aid to management.
Businesses are also using the networking of computers, where a number of
computers are connected together to share the data and the information.
Use of an e-mail and the Internet has changed the ways of doing business.
o Banking: In the field of banking and finance, computers are extensively used.
People can use the Automated Teller Machine (ATM) services 24 hours a day
in order to deposit and withdraw cash.
When the different branches of the bank are connected through the computer
networks, the inter-branch transactions, such as drawing cheques and making
drafts, can be performed by the computers without any delay
Page | 22