Professional Documents
Culture Documents
Intro To Comp
Intro To Comp
of
Computers
in
Pictures
Abacus
2400 BC
Calculating tool
used centuries
before the
written modern
numerical
number system
was adopted.
Supports
Multiplication,
Addition,
Subtraction,
Division,
Square Root
https://history-computer.com/MechanicalCalculators/Pioneers/Pascal.html
Pascaline, 17th Century
Initially called
arithmetic
machine, Pascal’s
calculator. It was
primarily an
adding machine
which could add
and subtract
numbers.
Blaise
Pascal
1623-1662
a French
mathematician,
physicist, inventor,
writer and a
Christian
philosopher
http://totallyhistory.com/blaise-pascal/
Leibniz Calculator
17th Century
Prominent German
polymath and one
of the most
important logicians,
mathematicians
and natural
philosophers of the
Enlightenment.
https://en.wikipedia.org/wiki/Gottfried_Wilhelm_Leibniz
Analytical Engine – 18 th Century
https://history-computer.com/Babbage/AnalyticalEngine.html
Analytical Engine
Analytical engine contained many
similar elements to modern digital
computers. For example, Babbage's
engines 'punched card' control; fast
multiplier/divider; a range of
peripherals; even array processing'.
*wikipedia.org
Charles
Babbage
1791 – 1871
English mathematician,
philosopher, inventor and
mechanical engineer, who
is best remembered now
for originating the concept
of a programmable
computer; Father of
Computer.
Lady Ada
Lovelace
1815 – 1852
English mathematician,
first computer
programmer; known for
her work on the
Analytical Engine
Tabulating Machine
Counting
machine used
in the 1890
US census.
It used
punched
cards to
represent an
individual’s
census data
https://web.archive.org/web/20090719073019/https://www.census.gov/history/www/technology/010873.html
Herman
Hollerith
1860 – 1929
American
businessman, inventor,
and statistician who
developed an
electromechanical
tabulating machine
Konrad
Zuse
1910 - 1995
German civil
engineer, inventor
and computer
pioneer; Created
Z1-Z4
Konrad Zuse faced a serious problem, while studying
the construction of buildings and roads.
English
mathematician,
computer scientist,
cryptanalyst,
philosopher, and
theoretical biologist
https://en.wikipedia.org/wiki/Alan_Turing
Alan Turing is considered to be the father of the modern
computer and was credited by Winston Churchill for making “the
single biggest contribution to the allied victory” in World War II
Harvard Mark 1
1944
Harvard Mark 1
1944
Harvard Mark-1 is completed.
Conceived by Harvard
professor Howard Aiken, and
designed and built by IBM, the
Harvard Mark-1 was a room-
sized, relay-based calculator.
Hungarian-born American
mathematician who is
widely credited with
defining that stored-
program computer
architecture, on which the
Manchester Mark 1 was
based.
https://en.wikiquote.org/wiki/John_von_Neumann
https://en.wikipedia.org/wiki/Manchester_Mark_1#CITEREFLavington1998
https://en.wikipedia.org/wiki/Plugboard
Electronic Delay Storage Automatic
EDSAC Calculator was an early British computer.
1949
EDSAC the
second
usefully
operational
electronic
digital stored-
program
computer.
EDSAC
1949 It was constructed by
Maurice Wilkes and his
team at the University of
Cambridge Mathematical
Laboratory in England.
Undeterred, he offered it to
Silicon Valley's Homebrew
Computer Club and,
together with his friend The suggested retail price: $666.
Steve Jobs, managed to sell
Though sales were low (200 units
50 pre-built models to The sold), the machine paved the way
Byte Shop in Mountain for the smash success of the
View, California. Apple II (which sold in millions).
Apple II
1977
Apple II The Apple II became an
instant success when
released in 1977 with its
1977 printed circuit
motherboard, switching
power supply, keyboard,
case assembly, manual,
game paddles, A/C
powercord, and cassette
tape with the computer
game "Breakout."
When hooked up to a
color television set, the
Apple II produced brilliant
color graphics.
At the time of its release, the
Cray Cray-1 was the fastest computing
machine in the world.
1976
Despite its price tag
Cray — between $5 and
$10 million — it
1976 sold well. It is one
of the many
machines designed
by Seymour Cray, a
computer architect
who devoted his life
to the creation of
so-called
supercomputers,
machines which
prioritized
processing capacity
and speed of
calculation.
TRS
1977
VAX 780
1978
VAX 780
1978
Featuring an independent
keyboard, printer and monitor, the
slick, complete-looking package
that was the IBM PC helped push
personal computing out of the
hobbyist's garage and into the
corporate and consumer
mainstream.
Osborne
1981
Commodore 64
1982
Hewlett Packard 150
1983
Apple Lisa
1983
Apple Macintosh
1984
IBM PS2
1987
Checkpoint 4:
Videos
BBC History of Computers
http://www.youtube.com/watch?v=6dME3wgaQpM&list=PL1331A4548513
EA81
➢ HARDWARE
Physical components of the computer system
➢ SOFTWARE
Instructions that run the computer system
➢ PEOPLEWARE
The people involved in the information
technology system whether as user or developer
HARDWARE
1. According to Size
3. According to Purpose
CLASSIFICATION OF COMPUTERS
1. According to Size
➢ Supercomputer
➢ Mainframe
➢ Minicomputer
➢ Microcomputer
CLASSIFICATION OF COMPUTERS
By size Supercomputer
• Weather
forecasting
• Climate research
• Oil Exploration
• Molecular
modelling
• Quantum
mechanics
• Cryptanalysis
By size Supercomputer
CRAY
Image source: britannica.com
Watch
Japanese Fugaku Supercomputer Is Now World's Fastest, Twice Faster Than IBM
Summit
https://www.youtube.com/watch?v=BqebM9SoAlk
CLASSIFICATION OF COMPUTERS
Supercomputers
• Census Data
Processing
• Transaction
Processing
Mainframe Computers
Microcomputers
By size Minicomputer
Lesser than a
mainframe in
terms of
• Size
• Price
• Memory
• Speed
• Functionality
Minicomputers
➢ Analog
➢ Digital
➢ Hybrid
CLASSIFICATION OF COMPUTERS
By Data Handling
Analog Vs. Digital
While
https://www.britannica.com/technology/analog-computer
https://www.britannica.com/technology/analog-computer
Analog devices displays data in continuous form
By Data Handling
Hybrid
Examples:
* https://www.britannica.com/technology/analog-computer
CLASSIFICATION OF COMPUTERS
1. According to Purpose
➢ Special Purpose
➢ Generap Purpose
CLASSIFICATION OF COMPUTERS
2. According to Purpose
http://en.allexperts.com/q/Understanding-Computers-
3627/processing.htm
http://www.techspeed.com/dataprocessing.php?gclid=CJT-
1MnguboCFedapgodjmMA_w
http://ejaz007.expertscolumn.com/article/data-processing-operations
http://innovativebox.blogspot.com/2012/12/types-of-data-
processing.html
http://www.datasciencecentral.com/profiles/blogs/batch-vs-real-time-
data-processing
NUMBER SYSTEMS
DECIMAL 0 1 2 3 4 5 6 7 8 9
BINARY 0 1
OCTAL 0 1 2 3 4 5 6 7
HEXADECIMAL 0 1 2 3 4 5 6 7 8 9 A B C D E F
From
DECIMAL
to
ANY NUMBER SYSTEM
CONVERSION FROM DECIMAL TO
BINARY, DIVISOR IS 2
OCTAL, DIVISOR IS 8
HEXADECIMAL, DIVISOR IS 16
Steps :
6
26 = 110102 ------ =3 0
2
3
------ =1 1
2
1
------ =0 1
2
DECIMAL TO OCTAL CONVERSION
Convert 426 to octal
53
426 = 6528 ------ = 6 5
8
6
------ =0 6
8
DECIMAL TO HEXADECIMAL CONVERSION
Convert 348 to hexadecimal
21
348 = 15C16 ------ = 1 5
16
1
------ =0 1
16
CONVERSION
From
ANY NUMBER SYSTEM
to
DECIMAL
CONVERSION FROM ANY NUMBER SYSTEM TO
DECIMAL
Binary number 1 1 0 1 02
Octal number 4 2 68
= 1 X 24 + 1 X 23 + 0 X 22 + 1 X 21 + 0 X 20
= 1 X 16 + 1 X 8 + 0 X 4 + 1 X 2 + 0 X 1
= 16 + 8 + 0 + 2 + 0
= 26
Hence 1 1 0 1 02 = 2610
CONVERSION FROM ANY OCTAL SYSTEM TO
DECIMAL
= 6 X 8 2 + 5 X 8 1 + 2 X 80
= 6 X 64 + 5 X 8 + 2 X 1
= 384 + 40 + 2
= 426
= 1 X 256 + 5 X 16 + 12 X 1
= 256 + 80 + 12
= 348
From
BINARY to OCTAL
and
VICE VERSA
CONVERSION FROM BINARY TO OCTAL
Example 1011010102
- Group the digits by 3s starting at the least
significant bit (LSB) which is the leftmost
Example 5528
5 5 2
101 101 010
From
BINARY to HEXADECIMAL
and
VICE VERSA
CONVERSION FROM BINARY TO HEXADECIMAL
Example 1011010102
- Group the digits by 4s starting at the least
significant bit (LSB) which is the leftmost
Example 16A16
1 6 A
0001 0110 1010
From
OCTAL to HEXADECIMAL
and
VICE VERSA
CONVERSION FROM OCTAL TO HEXADECIMAL
▪ Unicode
➢ Unicode is the universal character encoding standard,
maintained by the Unicode Consortium.
➢ Unicode covers all the characters for all the writing systems of
the world, modern and ancient – as of Version 13.0, the
Unicode Standard contains 143,859 characters
https://www.unicode.org/faq/basic_q.html
ASCII Table
EBCIDIC TABLE
Parity Bit
1.Even parity
2.Odd parity
Two types :
https://en.wikipedia.org/wiki/Parity_bit
How does it work?
7 8 9
0111 1000 1001
105 → 1000001012
7 8 9
11110111 11111000 11001001
-105 →
1 0 5
11110001 11110000 11010101
123
890
Numeric Representation
7 8 9 +(sign bit)
0111 1000 1001 1100
-105 →
1 0 5 - (sign bit)
0001 0000 0101 1101
Examples
1789 →
1 7 8 9 +(sign bit)
0000 0001 0111 1000 1001 1100
2) Fixed Point
3) Floating Point
Absolute Value Representation
Limitations
1. With the 8-bit representation, the range of numeric
values that can be represented is only
-127 to 127
2. Value 0 can be represented as 00000000 (positive)
and 10000000 (negative) which makes the operation
more complicated
Absolute Value Representation
Examples
100011002 = -1210
000011002 = +1210
FIXED POINT vs FLOATING POINT
A fixed point number just means that there are a fixed number of digits after the
decimal point. A floating point number allows for a varying number of digits after the
decimal point.
For example, if you have a way of storing numbers that requires exactly four digits after
the decimal point, then it is fixed point. Without that restriction it is floating point.
Floating point numbers are more general purpose because they can represent very
small or very large numbers in the same way, but there is a small penalty in having to
have extra storage for where the decimal place goes.
https://stackoverflow.com/questions/7524838/fixed-point-vs-floating-point-number
Floating Point
Example:
1,500,000,000 - instead of writing 8 zeroes, this is written
as 15 X 108
In floating point, it would be written as
1.5 X 109 Exponent
Mantissa Radix
Steps in Decimal to Floating Point Conversion (IEEE)
(IEEE - Institute of Electrical and Electronics Engineering)
Sign bit
0-positive Only binary fraction, lower
1-negative than 1 can be represented
Radix is 2
Step 3 : Floating point representation
Exponent Portion
0 10000001
1.01 - 1 = .01
0 10000001 01000000000000000000000
Example # 2
0.09375 X 2 = 0.1875
0.1875 X 2 = 0.375
0.375 X 2 = 0.75
0.75 X 2 = 1.5
0.5 X 2 = 1.0
Example # 2
0 01111011 10000000000000000000000
32.125 = 100000.0012
Step 2 : Get the scientific notation of the number
32.12510 = 100000.0012
0 10000100 000000010000000000000
References:
https://www.wikihow.com/Convert-a-Number-from-Decimal-to-IEEE-754-
Floating-Point-Representation
NUMBER SYSTEMS
Arithmetic
Addition
Octal Addition
Example 1
747
+ 007
Examples
Octal Addition
Example 1
1
747 7 4 7
+ 007 + 0 0 7
14
- 8 (subtact 8 once, carry 1)
6
Examples
Octal Addition
Example 1
1
747 7 4 7
+ 007 + 0 0 7
14
- 8 (subtact 8 once, carry 1)
5 6
Examples
Octal Addition
Example 1
1
747 7 4 7
+ 007 + 0 0 7
14
- 8 (subtact 8 once, carry 1)
7 5 6
Examples
Octal Addition
Example 1
747 7 4 7
+ 007 + 0 0 7
756 14
- 8 (subtact 8 once, carry 1)
7 5 6
Example 2
1101
+ 7657
Examples
Octal Addition
Example 1
747 7 4 7
+ 007 + 0 0 7
756 14
- 8 (subtact 8 once, carry 1)
7 5 6
Example 2
1101
+ 7657
10760
Examples
BAD
+ CA
Examples
1 1
BAD B A D
+ CA + C A
23 23
- 16 16
C 7 7
Hexadecimal Addition Example 2
Examples
Binary Addition
(1)
1 0 1 0
+ 1 1 0 1
___________________________________
1 2 1 1 1
2
____________________________________
1 0 1 1 1
Examples
+ 1 1 1 1
________________________________
2 3 2 1
- 2 2 2
________________________________
1 0 1 0 1
Subtraction
Octal Subtraction
747
- 157
570
1600
- 657
721
Examples
Hexadecimal Subtraction
BAD
- CA
AE3
BEAD
- AFE
B3AF
Examples
1 1 0 1
- 1 0 0 1
________________________________
1 0 0
Examples
1 1 1 0
- 1 0 0 1
________________________________
1 0 1
Examples
1 1 0 0
- 1 0 0 1
________________________________
1 1
Examples
1 0 0 0
- 1 1 1
________________________________
1
Binary Subtraction
To get the 1’s complement of a binary number, the “0” and “1”
bits of the original bit string are switched.
2’s Complement
Procedure
1. Get the 1's complement of the subtrahend.
2. Add the 1’s complement of the subtrahend to the minuend
3. If carry is generated, remove the carry, add it to the result
1101
1101 (minuend)
-1001 (subtrahend) +0110 <- 1’s complement of 1001
0100
Binary Subtraction (Using 2’s complement)
Procedure
1. Get the 2's complement of the subtrahend.
2. Add the 2’s complement of the subtrahend to the minuend
3. If carry is generated, remove the carry.
1101
1101
-0111 + 1 0 0 1 <- 2’s complement of 0111
10110
0110
Binary Subtraction (Using 1’s complement)
1001 1001
-1100 + 0 0 1 1<- 1’s complement of the subtrahend
1100
0 0 1 1 <- 1’s complement of the result
0 0 1 1 <- True Result
Binary Subtraction (Using 2’s complement)
0 1 1 1
X 1 1 0 1
0 1 1 1
0 0 0 0
0 1 1 1
0 1 1 1
1 0 1 1 0 1 1
Example
1. 0 1 1
X 1 0. 0 1
1 0 1 1
0 0 0 0
0 0 0 0
1 0 1 1
1 1. 0 0 0 1 1
Division
Example 1
101
101 11001
101
10
0
101
Division
Exercise : Divide the following binary number
1001 11110
Reference: