CH 1
CH 1
1
Architecture of Digital Computer
The five major functional units of a digital computer
are:
CPU
Input units
Output units
Storage devices
Communication interfaces
2
Architecture of Digital Computer
CPU: is the brain of a computer. Its primary function is to execute programs or
instructions. Beside this the CPU also controls the operation of all other components
such as memory, input and output devices
The major parts of a central processing unit (CPU) are:
Primary memory
Arithmetic and Logic unit (ALU)
Control unit
Input Units: refers to the process of entering data into the computer, by the user using
input devices.
Output Units: refers to the process of showing the information or results to the user
either on the screen-monitor or on paper through printer.
Storage devices: refers to those devices that hold data and instructions
Communication interfaces: ports that enables components to communicate to each
other
Example: The following diagram shows jobs done by different parts of digital computer.
3
Application of Computers
Accounting
General Shops
Hospital
4
Human Vs Computer
Human Computer
5
Generation of Computers
Describes the stage of technological development of
computer systems from time to time.
For instance,
Before 2000 years ago, abacus was developed
holding two horizontal wires with beads strung on
them.
In 1642, Blaise Pascal developed the first
mechanical adding machine that was used for
tax calculations.
In 1842, Charles Babbage and August Ada
Lovelace invented an analytic machine to
compute astronomical tables for Navy.
Generally, based on the type of processors installed in the
machine, the modern computer can be classified into five
generations: 6
First Generation Computers (1944-1958)
7
Second Generation Computers (1959-1963)
were manufactured using transistors as their CPU.
used punched cards as their I/O devices.
Assembly languages such as BASIC, FORTRAN,
COBOL, etc. were used.
Magnetic cores & disk packs were introduced as
storage devices.
e.g. PDP-8, IBM 1401, IBM 7090
8
Third Generation Computers (1964-1970)
9
Fourth Generation Computers (1971-Now)
were manufactured based on LSI & VLSI circuits
containing thousands or millions of transistors on a
single chip.
the first microprocessor containing the entire CPU
was developed by Intel Company.
Semiconductor memories (RAM) & hard disks
(secondary memories) were developed.
the network of computers emerged.
some software applications became available.
e.g. Apple II, Altair 8800, CRAY-1
10
Fifth Generation Computers (Present & Future)
are under development, and function with Artificial
Intelligence (AI) provided to it.
due to AI, computers will have ability to learn by
itself, can reason & make decision with the
knowledge it posses.
simulate human way of thinking & reasoning.
AI includes areas like Expert System, Natural
Language Processing, speech recognition, voice
recognition, robotics, etc.
1
Cont’d…
1
Characteristics of Computers
Computers became popular tools due to their
characteristics described below:
Speed
Accuracy
Storage
Versatility
Automatic
Diligence
13
Limitations of Computers
Computers need clear & complete instructions to
perform a task accurately.
Computers cannot think.
14
Types of Computers
1. Application Wise Classification
Classified into 3:
A. Analog Computers
use analog signals for calculating & transmitting data.
operate on data in the form of continuously varying physical
quantities.
Analog data is calculated using the concept of ‘measuring
values’ like magnitude in terms of voltage, length, current,
etc.
For instance, Electrical signals on telephone line are analog
data representing original voice. e.g. SLIDE RULER
15
Cont’d….
B. Digital Computers
use digital signals to calculate & transmit data.
Digital signals have only 2 states, i.e. ON & OFF or HIGH &
LOW or 1 & 0.
Digital data is calculated using the concept of ‘counting values’.
Result obtained from digital computers is more accurate than that
obtained from analog computers.
Intermediate languages such as BASIC, COBOL, FORTRAN,
PASCAL, C, C++, JAVA, etc. has been developed to facilitate the
performance of digital computers.
16
Cont’d…
Digital computers are classified into 2:
(i) General Purpose Computers
have the ability to store different programs or instructions.
perform variety of operations.
also called Personal Computers (PCs).
C. Hybrid Computers
18
Cont’d…
2. Capacity & Size of Microprocessor Wise Classification
Classified into 4:
a) Microcomputers
Sometimes referred as Personal Computers (PCs).
can be used as either standalone machine or connected to a
network.
are single users.
e.g. Desktop computers, Laptop, Notebook, etc.
b) Minicomputers
can be used for general purpose applications & as server for small
networks.
bigger in size, faster in speed, have more memory capacity &
expensive than microcomputers.
19
Cont’d…
c)Mainframe Computers
are multi-user systems usually used in larger organizations.
more powerful in processing, faster in speed, have large memory
& very expensive than micro & minicomputers.
d) Super Computers
occupy specially designed air-conditioned rooms.
used for research & to process complex scientific applications
like weather forecasting, oil exploration, aircraft design,
mathematical research, etc.
have hundreds of CPU & are largest, most expensive & very
powerful than all other types of computers.
e.g. CRAY-1
20