Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
analysis etc. are also performed. In most of the computerized offices, word
processing and spread applications are used.
12. Research: Scientific and engineering design and research work involve complex
and massive computations. So computers are must for this type of work.
13. Simulation: Computer simulation involves typing to predict what will happen in a
real-life situation from model of that situation. Computer Aided Design (CAD) is
widely used in the design of electronic circuits, ships, roads cars etc.
The computer, which is one of the most advanced discoveries of mankind, has got a
long history. Around 3000 years before the birth of Jesus Christ, there were no any
kinds of number system. So, people had to remember a lot of information. They felt
the need to count the things. Then they started counting using their fingers. But the
limited number of fingers had made it difficult for them to remember more facts. So,
they used stones for counting or they made scratches on wall or tied knots in a
rope.
The history of computer is classified on the basis of age as follows: 1) Age of
Mechanical Calculators 2) Age of Electromechanical Computers 3) Age of Electronic
Computers
a. Abacus: It is manual calculating device. Basically an abacus consists of wires
having pebbles or beads. The frame consists of two parts upper & lower. The upper
part is called heaven whereas lower part is called earth. The heaven consists of
two beads whereas the earth part consists of five beads to each wire. The value of a
bead on heaven part is five & one in earth part. Each abacus consists of eleven
wires. Its exact origin is unknown. It may have originated in china, Egypt or Greece.
Fig: Abacus
b. Pascals Calculator: In 1642, French mathematician Blaise Pascal invented the
first real calculating machine that could add and subtract numbers quickly, which
was named as Pascals Calculator or Pascaline. It consists of numbered toothed
wheels, each wheel having numbers from 0 to 9. A complete turning of first wheel
causes the 2nd wheel to move the next number. It has a simple monitor to see the
result, too. Calculation including addition and subtraction was possible up to 8
digits, which was a great achievement at that time. The disadvantage of this
machine was that it could not carry out multiplication and divisions.
1) AGE OF MECHANICAL CALCULATORS
HISTORY OF COMPUTERS
Fig: Pascaline
Fig: Pascal Calculator
c. Babbages Difference and Analytical engine: In 1822, a professor of mathematics,
Charles Babbage developed a machine called Difference engine in Cambridge
University. It was made to calculate various mathematical function and logarithmic
tables. Difference machine was intended to be steam powered, fully automatic,
even to the printing of the resulting tables and commanded by a fixed instruction
program. While working on the difference table, in 1833, he developed the new idea
to build an Analytical Engine, which was to become a real ancestor of the modern
day computer. Thats why he is known as father of computer. The analytical
machine would operate on words of 50 digits and was able to store 1000 such
numbers. The instructions for the machine were to be stored on punched cards like
on Jacquard loom. He wanted to input data with the help of punched card and
output (result) to be printed on copper plates. Babbages analytical engine and
modern day computer are similar in their structure. But unfortunately, due to the
lack of time and equipments, he was unable to complete this machine, so the world
had to wait for another hundred years.
Fig: Analytical Engine (Left) and Difference Engine (Right)
d. Lady Augusta Ada Lovelace: After the death of Babbage, an English
mathematician, Ada Lovelace, a long-time supporter of Babbage was successful in
discovering some of the key elements of programming and program design. She got
the idea of loop in the program. Not only this, she made the first program to be
used in Babbages machine. So she is called the first programmer. To honor her
contribution, the programming language used in American defense was named as
ADA
e. Holleriths machine: In 1887, an American statistician, Herman Hollerith
constructed a tabulating machine, to compute the statistics of 1890 US census. He
used the punched cards to store data, with the holes representing data values. This
machine can read 200 punched cards per minute. So, Holleriths punched cards
method become very popular and widely used. In 1896, he established the
Tabulating Machine Company to make and sell his invention. Later in 1923, this firm
merged with other
companies to form the IBM Corporation, which is the most popular and biggest
company in computer
manufacturing.
MarkI: In 1937, Harvard professor, Howard Aiken, constructed an electromechanical
computer named Mark-I (also known as Automatic Sequence Controlled Calculator),
which could perform according to pre-programmed instruction automatically. Thus it
is also called the first computer. It was based on Charles Babbages principle after
100 years of his death. Although it was very huge with dimension 51 ft. long, 8 ft.
height and 3ft. wide using 18,000 vacuum tubes (electronic) with 7 lakhs 50
thousands parts, it was the milestone in history of computer. In 1944, Howard
Aiken modified Mark I and invented Mark-II which used 19000 valves.
Fig: Mark I
f. ABC (Atanasoff Berry Computer): In 1938, John Atanasoff and Clifford Berry
designed ABC (Atanasoff Berry Computer) for solving systems of simultaneous
equation. It used 18000 valves and other 45 valves for internal logic and capacitors
for storage of electrical charges. It used punched cards as secondary storage.
g. John Von Neumann: In 1944, Hungarian mathematician, Jon von Neumann gave
the ideas: Computer instruction as well as the data being manipulated could be
stored internally in the machine. So he is called the father of stored program.
Before that, program required for the computer were integrated and written
permanently in chips, so modification of program was not possible. But after
Neumann, such programs were stored inside computer in some storage media, so
modification was easy and flexible.
h. ENIAC (Electronic Numerical Integrator and Calculator): In 1946, J. Presper Eckert
and John W. Mauchly developed ENIAC. At that time ENIAC was the largest single
electronic apparatus in the world. It was a large-scale, general-purpose digital
electronic computer built from 17468 vacuum tubes. It was the first and last
computer, which used decimal number system instead of binary system.
2) AGE OF ELECTROMECHANICAL COMPUTERS
3) AGE OF ELECTRONIC COMPUTERS
Fig: ENIAC
That is, inputs must be given in the machine language (binary code). This is
achieved through the input unit.
The input unit allows user to enter data and instructions into a computer. Input unit
is also responsible to convert data and instructions from human-readable form to
machine code. Hardware, which is used to send input to the computer is called input
device. Varieties of input devices are used for sending inputs. Keyboard, mouse,
joystick, and microphone are the most commonly used input devices.
Functions of the input unit can be summarized as followings: Provides users
facility to send data and instructions. Converts data and instructions from humanreadable from to machine code. Supplies data and instructions to the computers
storage unit for processing.
The procedure that converts raw data into useful information is called
processing. In the computer, processing is done by central processing unit (CPU).
CPU is perhaps the most vital part of the computer. It is often regarded as brain of
the computer. It is because CPU performs computers entire work of calculating and
processing. In personal computer (PC), this job is done by microprocessor.
In addition to the processing, the CPU also controls all other units of the computer. It
accepts inputs from input device, keep them into memory, processes them, and
send outputs to the output device.
The CPU is made up of three units. They are: a. Arithmetic and Logic Unit (ALU) b.
Memory Unit (MU) c. Control Unit (CU)
a. Arithmetic and Logic Unit (ALU) Arithmetic and Logic Unit (ALU) is the part of the
CPU, where all the processing jobs are performed. As the name suggests, two types
of operations are done inside the ALU arithmetic operation and logical operation.
Arithmetic operation means calculations like addition, subtraction, multiplication,
and division on data. Similarly, logical operation means comparison of data like
equal to, greater than, less than, and not equal.
2. CENTRAL PROCESSING UNIT (CPU)
1. INPUT UNIT
All the operations in the ALU are done under directions of the control unit. Once
data enter into memory, the data necessary for processing are transferred into the
ALU. When processing completes, the data is again transferred back into the
memory unit. This transfer of data from the memory unit to the ALU and vice-versa
is also done under the directions of the control unit.
Main functions of the ALU are given below. Carries out arithmetic operations such
as addition, subtraction, multiplication, and division. Performs logical operations
such as comparison among data (equal to, greater than, less than and not equal to).
Works under the direction of the control unit.
b. Control Unit (CU) Control unit is the most vital part of the CPU. It reads every
instruction stored into the memory. Thereafter, it issues control signals necessary to
execute the instruction. The control unit, actually, ensures that every instruction is
read, understood, and executed in sequence.
The CU coordinates and controls all the parts of the computer. It is the nerve center
of the computer. It coordinates and controls the interpretation, flow and
manipulation of all data and information. It also controls the flow of data from input
devices to memory and from memory to output device.
Main functions of the Control Unit are as here under: Receives inputs send by
input device, and store them into memory unit. Bring instruction from the
memory unit, and decode the instruction (interpret what the instruction is saying).
Controls movement of data in and out of the ALU. Directs the ALU to process
data. Control the movement of data and instruction in and out of the memory
unit. Controls movement of processed data (information) to output device.
Directs output device to produce information. Directs and controls reading and
writing of data on storage unit.
In computer, data moves between RAM and the CPU frequently. In fact, RAM is very
much slower than the CPU. Hence, moving data between RAM and the CPU is a time
consuming process. It makes the CPU often idle and waiting for data. A solution to
this problem is a special type of memory called cache memory (pronounced cash).
CACHE MEMORY
Main Memory
Cache Memory
CPU
The cache memory (also called RAM cache) exists between RAM and the CPU. A
Cache memory is a high-speed memory placed in between central processing unit
(CPU) and RAM to increase the speed of processing. The speed of processor is faster
than the RAM; hence the cache memory is used in between CPU and main memory
(RAM) so that the speed of operation of main memory and cache memory together
can meet the speed requirement of the high speed CPU.
The cache memory is very small, expensive and has high speed. Todays PCs have
256 KB, 512 KB or even 1024 KB cache memory. Cache memory is generally built
directly into the microprocessor chip. Actually, the cache memory stores only a few
and frequently used data and instructions. When the CPU needs data, it first
searches in the cache memory. If the data is not there, it searches RAM. This helps
the CPU to work faster and increase processing speed. Below is the figure that
shows how the cache memory works with the CPU and the main memory (RAM).
Fig: Use of cache memory
Registers are primarily used to store data temporarily during the execution of a
program. They are used as temporary memory locations in the sense that the
information or data is held in them only for as long as it is necessary for one
instruction. Registers can be of different sizes & capacities.
Some registers are special purpose registers and some are general-purpose
registers. General purpose registers store data and intermediate results during the
execution of a program. General- purpose registers are also accessible to
programmer through instructions. Special purpose registers like PC (Program
Counter) holds the address of the next instruction to be executed and SP (Stack
Pointer) holds the address of the first location of the stack.
Memory unit is the area, where the computer keeps programs, files, data, and
instructions. All these things are only stored temporarily. Memory unit is built inside
the computer, so it is also known as internal memory.
The CPU needs data and instructions to operate the computer. These things must be
stored in an area somewhere inside the computer. When data and programs are not
in use, they must be kept permanently in another safe area. In computer, all these
areas are called memory. Therefore, memory is the area in the computer, which
holds data, instructions or programs.
As input unit sends data or instructions, the computer at first keeps them into the
memory unit. When the computer completes processing of data, it again keeps
them into memory unit. When a user launches a program, it is also loaded into and
run from memory unit. Thus memory unit is a space, which is allocated for
temporary storage of data and programs. Memory is a part of computer (device)
that is used to store data as well as instructions (programs). Physically, memory
consists of chips either on the motherboard or on a small circuit board attached to
the motherboard.
There are mainly two types of memory: Primary Memory and Secondary Memory.
Primary Memory: Primary memory is also called main memory. Primary memories
are made up of semiconductor materials and consist of large number of 8-bit
registers, arranged in a sequence (lines). A register can store eight binary bits.
Primary memory is of two types: Read Only Memory (ROM) Random Access
Memory (RAM)
REGISTERS
3. MEMORY UNIT (MU)
Secondary Memory: Secondary memory is also called secondary storage, auxiliary
storage, mass storage or, simply storage. It holds large volume of data, programs,
information and games for future uses. Secondary memory is non-volatile. It can
keep data, programs, and information permanently even when electrical power is
removed from the computer.
The secondary memory is used to store data, information and programs
permanently. So, they are often referred as storage memory. The capacity of
secondary memory is larger than the main memory. The two main categories of
storage technology used today are magnetic storage and optical storage. The
common secondary or auxiliary memories used in computer are floppy disks, hard
disks and compact disk.
Followings are the functions of the memory unit: Stores data and instructions
sent from input units. Stores data and instructions before they undergo
processing (or store raw data). Stores data and instructions during their
processing. Stores data and instructions after their processing (or store useful
information). Loads and unloads programs run by users. Loads files opened by
users.
The read and write memory of a computer is known as RAM. The users of the
computer can write information into RAM and read information from RAM. The main
drawback of RAM memory is that it is a volatile memory, i.e., when the power goes
off, the contents of RAM gets erased. RAM is available in the form of a chip with
different memory capacity ranging, from 640 Kilobytes to 256 Megabytes.
Increasing RAM capacity improves system performance.
There are two types of RAM: Static RAM Dynamic RAM
Static RAM (SRAM) A static RAM retains stored data and programs as long as
power supply is on. Its cost is high. It is made up of flip flops and it stores the
bit as a voltage. Speed is high. Produce more heat. Larger than DRAM