Chapter-1
Chapter-1
Peripherals
Main Memory
Input/Output
Input/ Main
Output Memory
System
Bus Arithmetic and Logic
Registers Unit
Central
Processing
CPU BUS
Unit
(CPU)
Control Unit
Main Structural components of the CPU
Control Unit: Controls the operation of the CPU and hence
the computer.
Arithmetic and Logic Unit (ALU): Performs the computer's
data processing functions.
Registers: Provides storage internal to the CPU.
CPU Interconnection: Some mechanism that provides for
communication among the control unit, ALU, and registers.
Common Bus system
Bus: is a communication system that transfers data between components inside
a computer, or between computers
There are normally three types of bus in any processor system:
An address bus: this determines the location in memory that the processor
will read data from or write data to and it carry the address of signals.
A data bus: this contains the contents that have been read from the memory
location or are to be written into the memory location.
A control bus: this manages the information flow between components
indicating whether the operation is a read or a write and ensuring that the
operation happens at the right time
Generations of Computer
• Currently, there are five generations of computer. In the
following subsections, we will discuss the generations of
computer in terms of the technology used by them
(hardware and software), computing characteristics (speed, i.e.,
number of instructions executed per second), physical
appearance, and their applications.
First Generation Computers
(1940-1956)
• The first computers used vacuum tubes for
circuitry and magnetic drums for memory.
• They were often enormous and taking up entire room.
• First generation computers relied on machine language.
• They were very expensive to operate and in addition to
using a great deal of electricity, generated a lot of heat,
which was often the cause of malfunctions.
• The UNIVAC and ENIAC computers are examples of
first-generation computing devices.
First Generation Computers
Advantages :
• It was only electronic device
• First device to hold memory
Disadvantages :
• Too bulky i.e large in size
• Vacuum tubes burn frequently
• They were producing heat
• Maintenance problems
Second Generation Computers
(1956-1963)
• Transistors replaced vacuum tubes and ushered in
the second generation of computers.
• Second-generation computers moved from
cryptic binary machine language to symbolic.
• High-level programming languages were also being
developed at this time, such as early versions of COBOL
and FORTRAN.
• These were also the first computers that stored their
instructions in their memory.
Second Generation Computers
Advantages :
• Size reduced considerably
• The very fast
• Very much reliable
Disadvantages :
• They over heated quickly
• Maintenance problems
Third Generation Computers
(1964-1971)
• The development of the integrated circuit was the
hallmark of the third generation of computers.
• Instead of punched cards and printouts, users interacted
with third generation computers through keyboards
and monitors and interfaced with an operating system.
• Allowed the device to run many different applications at
one time.
Third generation computers
Advantages :
Disadvantages :
ACA 24
Example
PerformanceA / PerformanceB = n
Or
Execution Time B / Execution Time A = n
ACA 25
Designer’s Performance Metrics
ACA 27
Example