EE121 Chapter1
EE121 Chapter1
EE121 Chapter1
EE121
FALL 2022
Dr. R. NAMANE
Introduction
The history of computers can be divided into two time ages (dark
and modern):
Mechanical computers (Early Calculating Machines).
Electronic computers (5 Generations of Modern Computers).
Early Calculating Machines
ABACUS
A Chinese wooden ABACUS Emerged about 5000 BC.
It is said to be the first known computer.
It was used to perform simple additions and subtractions.
It consists of wooden beads and calculation were performed by
moving these beads properly.
Early Calculating Machines
NAPIER'S BONES
It is a manually-operated calculating device created in 1617 for the
calculation of multiplications and divisions.
It consists of a set of eleven rods with numbers marked on them in
such a way that by simply placing the roads side-by-side products and
quotients of large numbers can be obtained.
Early Calculating Machines
Pascaline Calculator
It was invented by Blaise Pascal in 1642.
It was first mechanical adding machine
It had a series of wheels with teeth which could be turned using
hands.
It was limited to addition and subtraction.
Early Calculating Machines
Stepped Reckoner
Invented by Gottfried Wilhelm Leibniz in 1672.
The machine that can add, subtract, multiply and divide
automatically.
Early Calculating Machines
Arithmometer
A mechanical calculator invented by Thomas de Colmar in 1820.
The first reliable, useful and commercially successful calculating
machine.
The machine could perform the four basic mathematic functions.
Early Calculating Machines
Jacquard Loom
The Jacquard Loom is a mechanical loom, invented by a French
textile manufacturer Joseph-Marie Jacquard in 1881.
This machine was designed for automatically creating weaving
patterns on cloths.
They were able to read information that which have been punched
into the cards automatically
Early Calculating Machines
Difference Engine
In 1822 Charles Babbage, a British scientist and mathematician at
Cambridge University, invented a huge mechanical machine called
difference engine that performs differential equations.
It is based on the principle of difference of the squares of number.
Babbage is considered to the father for modern digital computers.
Early Calculating Machines
Analytical Engine
In 1833, Babbage came out with a new idea of Analytical engine, the
first programmable machine.
It was intended to be completely automatic machine having punched
card input, storage unit, arithmetic unit, printing unit, and controlled
by a sequential program.
Electronic digital computers
The five generations of electronic digital computers
are:
First generation electronic computers(1942-1955)
Second generation (1955-1964)
Third generation (1964-1975)
Forth generation (1975-Now)
Fifth generation
First generation (1942-1955)
1946 : ENIAC
(Electronic Numerical
Integrator And
Computer), the first
electronic computer
developed at the
University of
Pennsylvania.
Vacuum tubes
First generation (1942-1955)
1948: John von
Neumann describes a
design architecture for an
electronic digital computer
with these components:
A processing unit with both an
arithmetic logic unit and processor
registers, a control unit that
includes an instruction register and
a program counter, Memory that
stores data and instructions, and
Input and output mechanisms.
First generation (1942-1955)
1949 : EDVAC
(Electronic Discrete
Variable Automatic
Computer), to overcome
the problems faced with
ENIAC, John Von
Neumann developed the
idea of “stored program”.
Second generation (1955-1964)
Major Development: Transistor
Transistors were used in place of vacuum tubes.
Efforts were made of reduce the size and cost of computers
and also to increase the speed and reliability of computers.
IBM 1401
Second generation (1955-1964)
IBM 7070
Third generation (1964-1975)
Major Development:
Integrated solid state circuitry, improved secondary storage
devices, new input/output devices.
This generation computers also contained secondary storage
devices for large data storage.
Memory Memory
addresses contents
Other types of Main Memory
Other types of main memory include:
ROM
Cache
ROM (Read Only Memory)
Read-only memory (ROM) is a type of non-volatile
memory used in computers and other electronic devices.
Data stored in ROM cannot be electronically modified after the
manufacture of the memory device.
Read-only memory is useful for storing software that is rarely
changed during the life of the system, sometimes known as
firmware.
Example of such firmware is the BIOS (Basic Input/Output
System and also known as the System BIOS which is the first
software to run when powered on the computer (booting
process). The BIOS initializes and tests the system hardware
components, and loads a boot loader which then initializes the
operating system.
Cache Memory
Cache Memory is a special very high-speed memory.
It is used to speed up program execution and synchronizing
with high-speed CPU.
Cache memory is an extremely fast memory type that acts as
a buffer between RAM and the CPU.
It holds frequently requested data and instructions so that
they are immediately available to the CPU when needed.
Cache Levels
Central
Input Output
Processing
Peripherals Peripherals
Unit (CPU)
Main
Memory
Secondary
Memory
How does a computer work?
A program is a coded form of an Algorithm
A program is a set of instructions for carrying out
a specific task.
Programs are stored in secondary memory, when
created.
Programs are in main memory during execution.
How CPU executes program instructions
step-by-step
CPU-RAM Diagram
Digital Information
A digital computer is built out of tiny electronic
switches.
From the viewpoint of ease of manufacturing and
reliability, such switches can be in one of two
states, ON and OFF.
A switch can represent a digit in the so-called
binary number system, 0 and 1.
A computer works based on the binary number
system.
Digital Information
Computers store all information digitally:
Numbers
Text
Graphics and images
Audio
Video
Program instructions
In some way, all information is digitized – broken
down into pieces and represented as numbers
Bits, Bytes, and Words
Once information is digitized, it is represented and stored in
memory using the binary number system.
Bit = Binary digIT = 0 or 1 (A bit can be represented as a voltage
in a hardware computer).
Byte = a sequence of 8 bits = 00000000, 00000001, ..., or
11111111
Word = a sequence of N bits where N = 16, 32, 64 depending
on the computer architecture.
Double-Word = a double-word also has the size of 2 words