SlideShare a Scribd company logo
1 of 536
Download to read offline
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Ref Page

Chapter 1: Introduction to Computers

Slide 1/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
In this chapter you will learn about:
§ Computer
§ Data processing
§ Characteristic features of computers
§ Computers’ evolution to their present form
§ Computer generations
§ Characteristic features of each computer generation

Ref Page 01

Chapter 1: Introduction to Computers

Slide 2/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer
§ The word computer comes from the word “compute”,
which means, “to calculate”
§ Thereby, a computer is an electronic device that can
perform arithmetic operations at high speed
§ A computer is also called a data processor because it can
store, process, and retrieve data whenever desired

Ref Page 01

Chapter 1: Introduction to Computers

Slide 3/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Data Processing
The activity of processing data using a computer is called
data processing
Data
Capture Data
Manipulate Data
Output Results
Information
Data is raw material used as input and information is
processed data obtained as output of data processing

Ref Page 01

Chapter 1: Introduction to Computers

Slide 4/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Characteristics of Computers
1) Automatic: Given a job, computer can work on it
automatically without human interventions
2) Speed: Computer can perform data processing jobs
very fast, usually measured in microseconds (10-6),
nanoseconds (10-9), and picoseconds (10-12)
3) Accuracy: Accuracy of a computer is consistently high
and the degree of its accuracy depends upon its design.
Computer errors caused due to incorrect input data or
unreliable programs are often referred to as GarbageIn-Garbage-Out (GIGO)
(Continued on next slide)

Ref Page 02

Chapter 1: Introduction to Computers

Slide 5/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Characteristics of Computers
(Continued from previous slide..)

4) Diligence: Computer is free from monotony, tiredness,
and lack of concentration. It can continuously work for
hours without creating any error and without grumbling
5) Versatility: Computer is capable of performing almost
any task, if the task can be reduced to a finite series of
logical steps
6) Power of Remembering: Computer can store and
recall any amount of information because of its
secondary storage capability. It forgets or looses certain
information only when it is asked to do so
(Continued on next slide)

Ref Page 02

Chapter 1: Introduction to Computers

Slide 6/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Characteristics of Computers
(Continued from previous slide..)

7) No I.Q.: A computer does only what it is programmed
to do. It cannot take its own decision in this regard
8) No Feelings: Computers are devoid of emotions. Their
judgement is based on the instructions given to them in
the form of programs that are written by us (human
beings)

(Continued on next slide)

Ref Page 03

Chapter 1: Introduction to Computers

Slide 7/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Evolution of Computers
§ Blaise Pascal invented the first mechanical adding
machine in 1642
§ Baron Gottfried Wilhelm von Leibniz invented the first
calculator for multiplication in 1671
§ Keyboard machines originated in the United States
around 1880
§ Around 1880, Herman Hollerith came up with the concept
of punched cards that were extensively used as input
media until late 1970s

Ref Page 03

Chapter 1: Introduction to Computers

Slide 8/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Evolution of Computers
(Continued from previous slide..)

§ Charles Babbage is considered to be the father of
modern digital computers
§

He designed “Difference Engine” in 1822

§

He designed a fully automatic analytical engine in
1842 for performing basic arithmetic functions

§

His efforts established a number of principles that
are fundamental to the design of any digital
computer

(Continued on next slide)

Ref Page 03

Chapter 1: Introduction to Computers

Slide 9/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Some Well Known Early Computers
§ The Mark I Computer (1937-44)
§ The Atanasoff-Berry Computer (1939-42)
§ The ENIAC (1943-46)
§ The EDVAC (1946-52)
§ The EDSAC (1947-49)
§ Manchester Mark I (1948)
§ The UNIVAC I (1951)

Ref Page 03

Chapter 1: Introduction to Computers

Slide 10/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
§ “Generation” in computer talk is a step in technology. It
provides a framework for the growth of computer industry
§ Originally it was used to distinguish between various
hardware technologies, but now it has been extended to
include both hardware and software
§ Till today, there are five computer generations

(Continued on next slide)

Ref Page 05

Chapter 1: Introduction to Computers

Slide 11/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Some
representative
systems

Generation
(Period)

Key hardware
technologies

Key software
technologies

Key
characteristics

First
(1942-1955)

§ Vacuum tubes
§ Electromagnetic
relay memory
§ Punched
cards
secondary storage

§ Machine
and
assembly
languages
§ Stored
program
concept
§ Mostly
scientific
applications

§ Bulky in size
§ Highly unreliable
§ Limited
commercial
use and costly
§ Difficult
commercial
production
§ Difficult to use

§
§
§
§
§

ENIAC
EDVAC
EDSAC
UNIVAC I
IBM 701

Second
(1955-1964)

§ Transistors
§ Magnetic
cores
memory
§ Magnetic tapes
§ Disks for secondary
storage

§ Batch
operating
system
§ High-level
programming
languages
§ Scientific
and
commercial
applications

§ Faster, smaller, more
reliable and easier to
program than previous
generation systems
§ Commercial production
was still difficult and
costly

§
§
§
§

Honeywell 400
IBM 7030
CDC 1604
UNIVAC LARC

(Continued on next slide)

Ref Page 13

Chapter 1: Introduction to Computers

Slide 12/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Generation
(Period)

Key hardware
technologies

Key software
technologies

Key
characteristics

Some rep.
systems

Third
(1964-1975)

§ ICs with SSI and
MSI technologies
§ Larger magnetic
cores memory
§ Larger capacity
disks and
magnetic tapes
secondary
storage
§ Minicomputers;
upward
compatible family
of computers

§ Timesharing
operating
system
§ Standardization
of high-level
programming
languages
§ Unbundling of
software from
hardware

§ Faster, smaller, more
reliable, easier and
cheaper to produce
§ Commercially, easier
to use, and easier to
upgrade than
previous generation
systems
§ Scientific, commercial
and interactive online applications

§ IBM 360/370
§ PDP-8
§ PDP-11
§ CDC 6600

(Continued on next slide)

Ref Page 13

Chapter 1: Introduction to Computers

Slide 13/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Generation
(Period)
Fourth
(1975-1989)

Key hardware
Technologies

Key software
technologies

Key
characteristics

Some rep.
systems

§ ICs
with
VLSI
technology
§ Microprocessors;
semiconductor memory
§ Larger capacity hard
disks
as
in-built
secondary storage
§ Magnetic tapes and
floppy disks as portable
storage media
§ Personal computers
§ Supercomputers based
on
parallel
vector
processing
and
symmetric
multiprocessing
technologies
§ Spread of high-speed
computer networks

§ Operating systems for
PCs with GUI and
multiple windows on a
single terminal screen
§ Multiprocessing
OS
with
concurrent
programming
languages
§ UNIX operating system
with C programming
language
§ Object-oriented design
and programming
§ PC,
Network-based,
and
supercomputing
applications

§ Small, affordable,
reliable, and easy
to use PCs
§ More
powerful
and
reliable
mainframe
systems
and
supercomputers
§ Totally
general
purpose machines
§ Easier to produce
commercially
§ Easier to upgrade
§ Rapid
software
development
possible

§ IBM PC and
its clones
§ Apple II
§ TRS-80
§ VAX 9000
§ CRAY-1
§ CRAY-2
§ CRAY-X/MP

(Continued on next slide)

Ref Page 13

Chapter 1: Introduction to Computers

Slide 14/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Generation
(Period)
Fifth
(1989Present)

Ref Page 13

Key hardware
technologies

Key software
technologies

Key
characteristics

§ ICs
with
ULSI
technology
§ Larger
capacity
main
memory,
hard disks with
RAID support
§ Optical disks as
portable read-only
storage media
§ Notebooks,
powerful
desktop
PCs
and
workstations
§ Powerful servers,
supercomputers
§ Internet
§ Cluster computing

§ Micro-kernel based,
multithreading,
distributed OS
§ Parallel
programming
libraries like MPI &
PVM
§ JAVA
§ World Wide Web
§ Multimedia,
Internet
applications
§ More
complex
supercomputing
applications

§ Portable computers
§ Powerful, cheaper,
reliable, and easier
to
use
desktop
machines
§ Powerful
supercomputers
§ High uptime due to
hot-pluggable
components
§ Totally
general
purpose machines
§ Easier to produce
commercially,
easier to upgrade
§ Rapid
software
development
possible

Chapter 1: Introduction to Computers

Some rep.
systems
§ IBM notebooks
§ Pentium PCs
§ SUN
Workstations
§ IBM SP/2
§ SGI Origin 2000
§ PARAM 10000

Slide 15/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Electronic Devices Used in Computers of Different Generations
Electronic Devices Used in Computers of Different Generations

(a) A Vacuum Tube

Ref Page 07

(b) A Transistor

(c) An IC Chip

Chapter 1: Introduction to Computers

Slide 16/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Key Words/Phrases
§ Computer
§ Computer generations
§ Computer Supported Cooperative
Working (CSCW)
§ Data
§ Data processing
§ Data processor
§ First-generation computers
§ Fourth-generation computers
§ Garbage-in-garbage-out (GIGO)
§ Graphical User Interface (GUI)
§ Groupware
§ Information

Ref Page 12

Integrated Circuit (IC)
Large Scale Integration (VLSI)
Medium Scale Integration (MSI)
Microprocessor
Personal Computer (PC)
Second-generation computers
Small Scale Integration (SSI)
Stored program concept
Third-generation computers
Transistor
Ultra Large Scale Integration
(ULSI)
§ Vacuum tubes
§
§
§
§
§
§
§
§
§
§
§

Chapter 1: Introduction to Computers

Slide 17/17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Ref Page

Chapter 1: Introduction to Computers

Slide 1/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
In this chapter you will learn about:
§ Computer
§ Data processing
§ Characteristic features of computers
§ Computers’ evolution to their present form
§ Computer generations
§ Characteristic features of each computer generation

Ref Page 01

Chapter 1: Introduction to Computers

Slide 2/17

1
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer
§ The word computer comes from the word “compute”,
which means, “to calculate”
§ Thereby, a computer is an electronic device that can
perform arithmetic operations at high speed
§ A computer is also called a data processor because it can
store, process, and retrieve data whenever desired

Ref Page 01

Chapter 1: Introduction to Computers

Slide 3/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Data Processing
The activity of processing data using a computer is called
data processing
Data
Capture Data
Manipulate Data
Output Results
Information
Data is raw material used as input and information is
processed data obtained as output of data processing

Ref Page 01

Chapter 1: Introduction to Computers

Slide 4/17

2
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Characteristics of Computers
1) Automatic: Given a job, computer can work on it
automatically without human interventions
2) Speed: Computer can perform data processing jobs
very fast, usually measured in microseconds (10-6),
nanoseconds (10-9), and picoseconds (10-12)
3) Accuracy: Accuracy of a computer is consistently high
and the degree of its accuracy depends upon its design.
Computer errors caused due to incorrect input data or
unreliable programs are often referred to as GarbageIn-Garbage-Out (GIGO)
(Continued on next slide)

Ref Page 02

Chapter 1: Introduction to Computers

Slide 5/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Characteristics of Computers
(Continued from previous slide..)

4) Diligence: Computer is free from monotony, tiredness,
and lack of concentration. It can continuously work for
hours without creating any error and without grumbling
5) Versatility: Computer is capable of performing almost
any task, if the task can be reduced to a finite series of
logical steps
6) Power of Remembering: Computer can store and
recall any amount of information because of its
secondary storage capability. It forgets or looses certain
information only when it is asked to do so
(Continued on next slide)

Ref Page 02

Chapter 1: Introduction to Computers

Slide 6/17

3
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Characteristics of Computers
(Continued from previous slide..)

7) No I.Q.: A computer does only what it is programmed
to do. It cannot take its own decision in this regard
8) No Feelings: Computers are devoid of emotions. Their
judgement is based on the instructions given to them in
the form of programs that are written by us (human
beings)

(Continued on next slide)

Ref Page 03

Chapter 1: Introduction to Computers

Slide 7/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Evolution of Computers
§ Blaise Pascal invented the first mechanical adding
machine in 1642
§ Baron Gottfried Wilhelm von Leibniz invented the first
calculator for multiplication in 1671
§ Keyboard machines originated in the United States
around 1880
§ Around 1880, Herman Hollerith came up with the concept
of punched cards that were extensively used as input
media until late 1970s

Ref Page 03

Chapter 1: Introduction to Computers

Slide 8/17

4
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Evolution of Computers
(Continued from previous slide..)

§ Charles Babbage is considered to be the father of
modern digital computers
§

He designed “Difference Engine” in 1822

§

He designed a fully automatic analytical engine in
1842 for performing basic arithmetic functions

§

His efforts established a number of principles that
are fundamental to the design of any digital
computer

(Continued on next slide)

Ref Page 03

Chapter 1: Introduction to Computers

Slide 9/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Some Well Known Early Computers
§ The Mark I Computer (1937-44)
§ The Atanasoff-Berry Computer (1939-42)
§ The ENIAC (1943-46)
§ The EDVAC (1946-52)
§ The EDSAC (1947-49)
§ Manchester Mark I (1948)
§ The UNIVAC I (1951)

Ref Page 03

Chapter 1: Introduction to Computers

Slide 10/17

5
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
§ “Generation” in computer talk is a step in technology. It
provides a framework for the growth of computer industry
§ Originally it was used to distinguish between various
hardware technologies, but now it has been extended to
include both hardware and software
§ Till today, there are five computer generations

(Continued on next slide)

Ref Page 05

Chapter 1: Introduction to Computers

Slide 11/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Some
representative
systems

Key hardware
technologies

Key software
technologies

Key
characteristics

First
(1942-1955)

§ Vacuum tubes
§ Electromagnetic
relay memory
§ Punched
cards
secondary storage

§ Machine
and
assembly
languages
§ Stored
program
concept
§ Mostly
scientific
applications

§ Bulky in size
§ Highly unreliable
§ Limited
commercial
use and costly
§ Difficult
commercial
production
§ Difficult to use

§
§
§
§
§

ENIAC
EDVAC
EDSAC
UNIVAC I
IBM 701

Second
(1955-1964)

§ Transistors
§ Magnetic
cores
memory
§ Magnetic tapes
§ Disks for secondary
storage

§ Batch
operating
system
§ High-level
programming
languages
§ Scientific
and
commercial
applications

§ Faster, smaller, more
reliable and easier to
program than previous
generation systems
§ Commercial production
was still difficult and
costly

§
§
§
§

Honeywell 400
IBM 7030
CDC 1604
UNIVAC LARC

Generation
(Period)

(Continued on next slide)

Ref Page 13

Chapter 1: Introduction to Computers

Slide 12/17

6
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Generation
(Period)

Key hardware
technologies

Key software
technologies

Key
characteristics

Some rep.
systems

Third
(1964-1975)

§ ICs with SSI and
MSI technologies
§ Larger magnetic
cores memory
§ Larger capacity
disks and
magnetic tapes
secondary
storage
§ Minicomputers;
upward
compatible family
of computers

§ Timesharing
operating
system
§ Standardization
of high-level
programming
languages
§ Unbundling of
software from
hardware

§ Faster, smaller, more
reliable, easier and
cheaper to produce
§ Commercially, easier
to use, and easier to
upgrade than
previous generation
systems
§ Scientific, commercial
and interactive online applications

§ IBM 360/370
§ PDP-8
§ PDP-11
§ CDC 6600

(Continued on next slide)

Ref Page 13

Chapter 1: Introduction to Computers

Slide 13/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Generation
(Period)
Fourth
(1975-1989)

Key hardware
Technologies

Key software
technologies

Key
characteristics

Some rep.
systems

§ ICs
with
VLSI
technology
§ Microprocessors;
semiconductor memory
§ Larger capacity hard
disks
as
in-built
secondary storage
§ Magnetic tapes and
floppy disks as portable
storage media
§ Personal computers
§ Supercomputers based
on
parallel
vector
processing
and
symmetric
multiprocessing
technologies
§ Spread of high-speed
computer networks

§ Operating systems for
PCs with GUI and
multiple windows on a
single terminal screen
§ Multiprocessing
OS
with
concurrent
programming
languages
§ UNIX operating system
with C programming
language
§ Object-oriented design
and programming
§ PC,
Network-based,
and
supercomputing
applications

§ Small, affordable,
reliable, and easy
to use PCs
§ More
powerful
and
reliable
mainframe
systems
and
supercomputers
§ Totally
general
purpose machines
§ Easier to produce
commercially
§ Easier to upgrade
§ Rapid
software
development
possible

§ IBM PC and
its clones
§ Apple II
§ TRS-80
§ VAX 9000
§ CRAY-1
§ CRAY-2
§ CRAY-X/MP

(Continued on next slide)

Ref Page 13

Chapter 1: Introduction to Computers

Slide 14/17

7
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Generation
(Period)
Fifth
(1989Present)

Key hardware
technologies

Key software
technologies

Key
characteristics

§ ICs
with
ULSI
technology
§ Larger
capacity
main
memory,
hard disks with
RAID support
§ Optical disks as
portable read-only
storage media
§ Notebooks,
powerful desktop
PCs
and
workstations
§ Powerful servers,
supercomputers
§ Internet
§ Cluster computing

§ Micro-kernel based,
multithreading,
distributed OS
§ Parallel
programming
libraries like MPI &
PVM
§ JAVA
§ World Wide Web
§ Multimedia,
Internet
applications
§ More
complex
supercomputing
applications

§ Portable computers
§ Powerful, cheaper,
reliable, and easier
to
use
desktop
machines
§ Powerful
supercomputers
§ High uptime due to
hot-pluggable
components
§ Totally
general
purpose machines
§ Easier to produce
commercially,
easier to upgrade
§ Rapid
software
development
possible

Ref Page 13

Chapter 1: Introduction to Computers

Some rep.
systems
§ IBM notebooks
§ Pentium PCs
§ SUN
Workstations
§ IBM SP/2
§ SGI Origin 2000
§ PARAM 10000

Slide 15/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Electronic Devices Used in Computers of Different Generations
Electronic Devices Used in Computers of Different Generations

(a) A Vacuum Tube

Ref Page 07

(b) A Transistor

(c) An IC Chip

Chapter 1: Introduction to Computers

Slide 16/17

8
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Key Words/Phrases
§ Computer
§ Computer generations
§ Computer Supported Cooperative
Working (CSCW)
§ Data
§ Data processing
§ Data processor
§ First-generation computers
§ Fourth-generation computers
§ Garbage-in-garbage-out (GIGO)
§ Graphical User Interface (GUI)
§ Groupware
§ Information

Ref Page 12

Integrated Circuit (IC)
Large Scale Integration (VLSI)
Medium Scale Integration (MSI)
Microprocessor
Personal Computer (PC)
Second-generation computers
Small Scale Integration (SSI)
Stored program concept
Third-generation computers
Transistor
Ultra Large Scale Integration
(ULSI)
§ Vacuum tubes
§
§
§
§
§
§
§
§
§
§
§

Chapter 1: Introduction to Computers

Slide 17/17

9
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Ref Page

Chapter 1: Introduction to Computers

Slide 1/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
In this chapter you will learn about:
§ Computer
§ Data processing
§ Characteristic features of computers
§ Computers’ evolution to their present form
§ Computer generations
§ Characteristic features of each computer generation

Ref Page 01

Chapter 1: Introduction to Computers

Slide 2/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer
§ The word computer comes from the word “compute”,
which means, “to calculate”
§ Thereby, a computer is an electronic device that can
perform arithmetic operations at high speed
§ A computer is also called a data processor because it can
store, process, and retrieve data whenever desired

Ref Page 01

Chapter 1: Introduction to Computers

Slide 3/17

1
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Data Processing
The activity of processing data using a computer is called
data processing
Data
Capture Data
Manipulate Data
Output Results
Information
Data is raw material used as input and information is
processed data obtained as output of data processing

Ref Page 01

Chapter 1: Introduction to Computers

Slide 4/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Characteristics of Computers
1) Automatic: Given a job, computer can work on it
automatically without human interventions
2) Speed: Computer can perform data processing jobs
very fast, usually measured in microseconds (10-6),
nanoseconds (10-9), and picoseconds (10-12)
3) Accuracy: Accuracy of a computer is consistently high
and the degree of its accuracy depends upon its design.
Computer errors caused due to incorrect input data or
unreliable programs are often referred to as GarbageIn-Garbage-Out (GIGO)
(Continued on next slide)

Ref Page 02

Chapter 1: Introduction to Computers

Slide 5/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Characteristics of Computers
(Continued from previous slide..)

4) Diligence: Computer is free from monotony, tiredness,
and lack of concentration. It can continuously work for
hours without creating any error and without grumbling
5) Versatility: Computer is capable of performing almost
any task, if the task can be reduced to a finite series of
logical steps
6) Power of Remembering: Computer can store and
recall any amount of information because of its
secondary storage capability. It forgets or looses certain
information only when it is asked to do so
(Continued on next slide)

Ref Page 02

Chapter 1: Introduction to Computers

Slide 6/17

2
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Characteristics of Computers
(Continued from previous slide..)

7) No I.Q.: A computer does only what it is programmed
to do. It cannot take its own decision in this regard
8) No Feelings: Computers are devoid of emotions. Their
judgement is based on the instructions given to them in
the form of programs that are written by us (human
beings)

(Continued on next slide)

Ref Page 03

Chapter 1: Introduction to Computers

Slide 7/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Evolution of Computers
§ Blaise Pascal invented the first mechanical adding
machine in 1642
§ Baron Gottfried Wilhelm von Leibniz invented the first
calculator for multiplication in 1671
§ Keyboard machines originated in the United States
around 1880
§ Around 1880, Herman Hollerith came up with the concept
of punched cards that were extensively used as input
media until late 1970s

Ref Page 03

Chapter 1: Introduction to Computers

Slide 8/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Evolution of Computers
(Continued from previous slide..)

§ Charles Babbage is considered to be the father of
modern digital computers
§

He designed “Difference Engine” in 1822

§

He designed a fully automatic analytical engine in
1842 for performing basic arithmetic functions

§

His efforts established a number of principles that
are fundamental to the design of any digital
computer

(Continued on next slide)

Ref Page 03

Chapter 1: Introduction to Computers

Slide 9/17

3
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Some Well Known Early Computers
§ The Mark I Computer (1937-44)
§ The Atanasoff-Berry Computer (1939-42)
§ The ENIAC (1943-46)
§ The EDVAC (1946-52)
§ The EDSAC (1947-49)
§ Manchester Mark I (1948)
§ The UNIVAC I (1951)

Ref Page 03

Chapter 1: Introduction to Computers

Slide 10/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
§ “Generation” in computer talk is a step in technology. It
provides a framework for the growth of computer industry
§ Originally it was used to distinguish between various
hardware technologies, but now it has been extended to
include both hardware and software
§ Till today, there are five computer generations

(Continued on next slide)

Ref Page 05

Chapter 1: Introduction to Computers

Slide 11/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Some
representative
systems

Generation
(Period)

Key hardware
technologies

Key software
technologies

Key
characteristics

First
(1942-1955)

§ Vacuum tubes
§ Electromagnetic
relay memory
§ Punched
cards
secondary storage

§ Machine
and
assembly
languages
§ Stored program
concept
§ Mostly
scientific
applications

§ Bulky in size
§ Highly unreliable
§ Limited
commercial
use and costly
§ Difficult
commercial
production
§ Difficult to use

§
§
§
§
§

ENIAC
EDVAC
EDSAC
UNIVAC I
IBM 701

Second
(1955-1964)

§ Transistors
§ Magnetic
cores
memory
§ Magnetic tapes
§ Disks for secondary
storage

§ Batch operating
system
§ High-level
programming
languages
§ Scientific
and
commercial
applications

§ Faster, smaller, more
reliable and easier to
program than previous
generation systems
§ Commercial production
was still difficult and
costly

§
§
§
§

Honeywell 400
IBM 7030
CDC 1604
UNIVAC LARC

(Continued on next slide)

Ref Page 13

Chapter 1: Introduction to Computers

Slide 12/17

4
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Generation
(Period)

Key hardware
technologies

Key software
technologies

Key
characteristics

Some rep.
systems

Third
(1964-1975)

§ ICs with SSI and
MSI technologies
§ Larger magnetic
cores memory
§ Larger capacity
disks and
magnetic tapes
secondary
storage
§ Minicomputers;
upward
compatible family
of computers

§ Timesharing
operating
system
§ Standardization
of high-level
programming
languages
§ Unbundling of
software from
hardware

§ Faster, smaller, more
reliable, easier and
cheaper to produce
§ Commercially, easier
to use, and easier to
upgrade than
previous generation
systems
§ Scientific, commercial
and interactive online applications

§ IBM 360/370
§ PDP-8
§ PDP-11
§ CDC 6600

(Continued on next slide)

Ref Page 13

Chapter 1: Introduction to Computers

Slide 13/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Generation
(Period)

Key hardware
Technologies

Key software
technologies

Key
characteristics

Some rep.
systems

Fourth
(1975-1989)

§ ICs
with
VLSI
technology
§ Microprocessors;
semiconductor memory
§ Larger capacity hard
disks
as
in-built
secondary storage
§ Magnetic tapes and
floppy disks as portable
storage media
§ Personal computers
§ Supercomputers based
on
parallel
vector
processing
and
symmetric
multiprocessing
technologies
§ Spread of high-speed
computer networks

§ Operating systems for
PCs with GUI and
multiple windows on a
single terminal screen
§ Multiprocessing
OS
with
concurrent
programming
languages
§ UNIX operating system
with C programming
language
§ Object-oriented design
and programming
§ PC,
Network-based,
and
supercomputing
applications

§ Small, affordable,
reliable, and easy
to use PCs
§ More
powerful
and
reliable
mainframe
systems
and
supercomputers
§ Totally
general
purpose machines
§ Easier to produce
commercially
§ Easier to upgrade
§ Rapid
software
development
possible

§ IBM PC and
its clones
§ Apple II
§ TRS-80
§ VAX 9000
§ CRAY-1
§ CRAY-2
§ CRAY-X/MP

(Continued on next slide)

Ref Page 13

Chapter 1: Introduction to Computers

Slide 14/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Generations
(Continued from previous slide..)

Generation
(Period)
Fifth
(1989Present)

Ref Page 13

Key hardware
technologies

Key software
technologies

Key
characteristics

§ ICs
with
ULSI
technology
§ Larger
capacity
main
memory,
hard disks with
RAID support
§ Optical disks as
portable read-only
storage media
§ Notebooks,
powerful desktop
PCs
and
workstations
§ Powerful servers,
supercomputers
§ Internet
§ Cluster computing

§ Micro-kernel based,
multithreading,
distributed OS
§ Parallel
programming
libraries like MPI &
PVM
§ JAVA
§ World Wide Web
§ Multimedia,
Internet
applications
§ More
complex
supercomputing
applications

§ Portable computers
§ Powerful, cheaper,
reliable, and easier
to
use
desktop
machines
§ Powerful
supercomputers
§ High uptime due to
hot-pluggable
components
§ Totally
general
purpose machines
§ Easier to produce
commercially,
easier to upgrade
§ Rapid
software
development
possible

Chapter 1: Introduction to Computers

Some rep.
systems
§ IBM notebooks
§ Pentium PCs
§ SUN
Workstations
§ IBM SP/2
§ SGI Origin 2000
§ PARAM 10000

Slide 15/17

5
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Electronic Devices Used in Computers of Different Generations

(a) A Vacuum Tube

Ref Page 07

(b) A Transistor

(c) An IC Chip

Chapter 1: Introduction to Computers

Slide 16/17

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Key Words/Phrases
§ Computer
§ Computer generations
§ Computer Supported Cooperative
Working (CSCW)
§ Data
§ Data processing
§ Data processor
§ First-generation computers
§ Fourth-generation computers
§ Garbage-in-garbage-out (GIGO)
§ Graphical User Interface (GUI)
§ Groupware
§ Information

Ref Page 12

Integrated Circuit (IC)
Large Scale Integration (VLSI)
Medium Scale Integration (MSI)
Microprocessor
Personal Computer (PC)
Second-generation computers
Small Scale Integration (SSI)
Stored program concept
Third-generation computers
Transistor
Ultra Large Scale Integration
(ULSI)
§ Vacuum tubes
§
§
§
§
§
§
§
§
§
§
§

Chapter 1: Introduction to Computers

Slide 17/17

6
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Ref. Page

Chapter 2: Basic Computer Organization

Slide 1/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
In this chapter you will learn about:
§ Basic operations performed by all types of computer
systems
§ Basic organization of a computer system
§ Input unit and its functions
§ Output unit and its functions
§ Storage unit and its functions
§ Types of storage used in a computer system

(Continued on next slide)

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 2/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
(Continued from previous slide..)

§ Arithmetic Logic Unit (ALU)
§ Control Unit (CU)
§ Central Processing Unit (CPU)
§ Computer as a system

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 3/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

The Five Basic Operations of a Computer System
§ Inputting. The process of entering data and instructions
into the computer system
§ Storing. Saving data and instructions to make them
readily available for initial or additional processing
whenever required
§ Processing. Performing arithmetic operations (add,
subtract, multiply, divide, etc.) or logical operations
(comparisons like equal to, less than, greater than, etc.)
on data to convert them into useful information

(Continued on next slide)

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 4/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

The Five Basic Operations of a Computer System
§ Outputting. The process of producing useful information
or results for the user such as a printed report or visual
display
§ Controlling. Directing the manner and sequence in which
all of the above operations are performed

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 5/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Basic Organization of a Computer System
Storage Unit
Secondary
Storage
Program
and
Data

Input
Unit

Primary
Storage

Output
Unit

Information
(Results)

Control
Unit
Indicates flow of
instructions and data
Arithmetic
Logic Unit

Indicates the control
exercised by the
control unit

Central Processing Unit (CPU)

Ref. Page 16

Chapter 2: Basic Computer Organization

Slide 6/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Input Unit
An input unit of a computer system performs the
following functions:
1. It accepts (or reads) instructions and data from outside
world
2. It converts these instructions and data in computer
acceptable form
3. It supplies the converted instructions and data to the
computer system for further processing

Ref. Page 16

Chapter 2: Basic Computer Organization

Slide 7/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Output Unit
An output unit of a computer system performs the
following functions:
1. It accepts the results produced by the computer, which
are in coded form and hence, cannot be easily
understood by us
2. It converts these coded results to human acceptable
(readable) form
3. It supplies the converted results to outside world

Ref. Page 16

Chapter 2: Basic Computer Organization

Slide 8/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Storage Unit
The storage unit of a computer system holds (or stores)
the following :
1. Data and instructions required for processing (received
from input devices)
2. Intermediate results of processing
3. Final results of processing, before they are released to
an output device

Ref. Page 17

Chapter 2: Basic Computer Organization

Slide 9/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Two Types of Storage
§ Primary storage
§ Used to hold running program instructions
§ Used to hold data, intermediate results, and
results of ongoing processing of job(s)
§ Fast in operation
§ Small Capacity
§ Expensive
§ Volatile (looses data on power dissipation)

(Continued on next slide)

Ref. Page 17

Chapter 2: Basic Computer Organization

Slide 10/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Two Types of Storage
(Continued from previous slide..)

§ Secondary storage
§ Used to hold stored program instructions
§ Used to hold data and information of stored jobs
§ Slower than primary storage
§ Large Capacity
§ Lot cheaper that primary storage
§ Retains data even without power

Ref. Page 17

Chapter 2: Basic Computer Organization

Slide 11/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit of a computer system is the place
where the actual executions of instructions takes place during
processing operation

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 12/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Control Unit (CU)
Control Unit of a computer system manages and coordinates
the operations of all other components of the computer
system

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 13/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Central Processing Unit (CPU)
Arithmetic
Logic Unit
(ALU)

+

Control Unit
(CU)

=

Central
Processing
Unit (CPU)

§ It is the brain of a computer system
§ It is responsible for controlling the operations of
all other units of a computer system

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 14/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

The System Concept
A system has following three characteristics:
1. A system has more than one element
2. All elements of a system are logically related
3. All elements of a system are controlled in a manner to
achieve the system goal
A computer is a system as it comprises of integrated
components (input unit, output unit, storage unit, and CPU)
that work together to perform the steps called for in the
executing program

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 15/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Key Words/Phrases
§
§
§
§
§
§
§
§
§
§

Arithmetic Logic Unit (ALU)
Auxiliary storage
Central Processing Unit (CPU)
Computer system
Control Unit (CU)
Controlling
Input interface
Input unit
Inputting
Main memory

Ref. Page 19

§
§
§
§
§
§
§
§
§

Output interface
Output unit
Outputting
Primate storage
Processing
Secondary storage
Storage unit
Storing
System

Chapter 2: Basic Computer Organization

Slide 16/16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Ref. Page

Chapter 2: Basic Computer Organization

Slide 1/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
In this chapter you will learn about:
§ Basic operations performed by all types of computer
systems
§ Basic organization of a computer system
§ Input unit and its functions
§ Output unit and its functions
§ Storage unit and its functions
§ Types of storage used in a computer system

(Continued on next slide)

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 2/16

1
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
(Continued from previous slide..)

§ Arithmetic Logic Unit (ALU)
§ Control Unit (CU)
§ Central Processing Unit (CPU)
§ Computer as a system

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 3/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

The Five Basic Operations of a Computer System
§ Inputting. The process of entering data and instructions
into the computer system
§ Storing. Saving data and instructions to make them
readily available for initial or additional processing
whenever required
§ Processing. Performing arithmetic operations (add,
subtract, multiply, divide, etc.) or logical operations
(comparisons like equal to, less than, greater than, etc.)
on data to convert them into useful information

(Continued on next slide)

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 4/16

2
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

The Five Basic Operations of a Computer System
§ Outputting. The process of producing useful information
or results for the user such as a printed report or visual
display
§ Controlling. Directing the manner and sequence in which
all of the above operations are performed

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 5/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Basic Organization of a Computer System
Storage Unit
Secondary
Storage
Program
and
Data

Input
Unit

Primary
Storage

Output
Unit

Information
(Results)

Control
Unit
Indicates flow of
instructions and data
Arithmetic
Logic Unit

Indicates the control
exercised by the
control unit

Central Processing Unit (CPU)

Ref. Page 16

Chapter 2: Basic Computer Organization

Slide 6/16

3
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Input Unit
An input unit of a computer system performs the
following functions:
1. It accepts (or reads) instructions and data from outside
world
2. It converts these instructions and data in computer
acceptable form
3. It supplies the converted instructions and data to the
computer system for further processing

Ref. Page 16

Chapter 2: Basic Computer Organization

Slide 7/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Output Unit
An output unit of a computer system performs the
following functions:
1. It accepts the results produced by the computer, which
are in coded form and hence, cannot be easily
understood by us
2. It converts these coded results to human acceptable
(readable) form
3. It supplies the converted results to outside world

Ref. Page 16

Chapter 2: Basic Computer Organization

Slide 8/16

4
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Storage Unit
The storage unit of a computer system holds (or stores)
the following :
1. Data and instructions required for processing (received
from input devices)
2. Intermediate results of processing
3. Final results of processing, before they are released to
an output device

Ref. Page 17

Chapter 2: Basic Computer Organization

Slide 9/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Two Types of Storage
§ Primary storage
§ Used to hold running program instructions
§ Used to hold data, intermediate results, and
results of ongoing processing of job(s)
§ Fast in operation
§ Small Capacity
§ Expensive
§ Volatile (looses data on power dissipation)

(Continued on next slide)

Ref. Page 17

Chapter 2: Basic Computer Organization

Slide 10/16

5
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Two Types of Storage
(Continued from previous slide..)

§ Secondary storage
§ Used to hold stored program instructions
§ Used to hold data and information of stored jobs
§ Slower than primary storage
§ Large Capacity
§ Lot cheaper that primary storage
§ Retains data even without power

Ref. Page 17

Chapter 2: Basic Computer Organization

Slide 11/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit of a computer system is the place
where the actual executions of instructions takes place during
processing operation

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 12/16

6
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Control Unit (CU)
Control Unit of a computer system manages and coordinates
the operations of all other components of the computer
system

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 13/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Central Processing Unit (CPU)
Arithmetic
Logic Unit
(ALU)

+

Control Unit
(CU)

=

Central
Processing
Unit (CPU)

§ It is the brain of a computer system
§ It is responsible for controlling the operations of
all other units of a computer system

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 14/16

7
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

The System Concept
A system has following three characteristics:
1. A system has more than one element
2. All elements of a system are logically related
3. All elements of a system are controlled in a manner to
achieve the system goal
A computer is a system as it comprises of integrated
components (input unit, output unit, storage unit, and CPU)
that work together to perform the steps called for in the
executing program

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 15/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Key Words/Phrases
§
§
§
§
§
§
§
§
§
§

Arithmetic Logic Unit (ALU)
Auxiliary storage
Central Processing Unit (CPU)
Computer system
Control Unit (CU)
Controlling
Input interface
Input unit
Inputting
Main memory

Ref. Page 19

§
§
§
§
§
§
§
§
§

Output interface
Output unit
Outputting
Primate storage
Processing
Secondary storage
Storage unit
Storing
System

Chapter 2: Basic Computer Organization

Slide 16/16

8
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Ref. Page

Slide 1/16

Chapter 2: Basic Computer Organization

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
In this chapter you will learn about:
§ Basic operations performed by all types of computer
systems
§ Basic organization of a computer system
§ Input unit and its functions
§ Output unit and its functions
§ Storage unit and its functions
§ Types of storage used in a computer system

(Continued on next slide)

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 2/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
(Continued from previous slide..)

§ Arithmetic Logic Unit (ALU)
§ Control Unit (CU)
§ Central Processing Unit (CPU)
§ Computer as a system

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 3/16

1
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

The Five Basic Operations of a Computer System
§ Inputting. The process of entering data and instructions
into the computer system
§ Storing. Saving data and instructions to make them
readily available for initial or additional processing
whenever required
§ Processing. Performing arithmetic operations (add,
subtract, multiply, divide, etc.) or logical operations
(comparisons like equal to, less than, greater than, etc.)
on data to convert them into useful information

(Continued on next slide)

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 4/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

The Five Basic Operations of a Computer System
§ Outputting. The process of producing useful information
or results for the user such as a printed report or visual
display
§ Controlling. Directing the manner and sequence in which
all of the above operations are performed

Ref. Page 15

Chapter 2: Basic Computer Organization

Slide 5/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Basic Organization of a Computer System
Storage Unit
Secondary
Storage
Program
and
Data

Input
Unit

Primary
Storage

Output
Unit

Information
(Results)

Control
Unit
Indicates flow of
instructions and data
Arithmetic
Logic Unit

Indicates the control
exercised by the
control unit

Central Processing Unit (CPU)

Ref. Page 16

Chapter 2: Basic Computer Organization

Slide 6/16

2
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Input Unit
An input unit of a computer system performs the
following functions:
1. It accepts (or reads) instructions and data from outside
world
2. It converts these instructions and data in computer
acceptable form
3. It supplies the converted instructions and data to the
computer system for further processing

Ref. Page 16

Chapter 2: Basic Computer Organization

Slide 7/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Output Unit
An output unit of a computer system performs the
following functions:
1. It accepts the results produced by the computer, which
are in coded form and hence, cannot be easily
understood by us
2. It converts these coded results to human acceptable
(readable) form
3. It supplies the converted results to outside world

Ref. Page 16

Chapter 2: Basic Computer Organization

Slide 8/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Storage Unit
The storage unit of a computer system holds (or stores)
the following :
1. Data and instructions required for processing (received
from input devices)
2. Intermediate results of processing
3. Final results of processing, before they are released to
an output device

Ref. Page 17

Chapter 2: Basic Computer Organization

Slide 9/16

3
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Two Types of Storage
§ Primary storage
§ Used to hold running program instructions
§ Used to hold data, intermediate results, and
results of ongoing processing of job(s)
§ Fast in operation
§ Small Capacity
§ Expensive
§ Volatile (looses data on power dissipation)

(Continued on next slide)

Ref. Page 17

Chapter 2: Basic Computer Organization

Slide 10/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Two Types of Storage
(Continued from previous slide..)

§ Secondary storage
§ Used to hold stored program instructions
§ Used to hold data and information of stored jobs
§ Slower than primary storage
§ Large Capacity
§ Lot cheaper that primary storage
§ Retains data even without power

Ref. Page 17

Chapter 2: Basic Computer Organization

Slide 11/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit of a computer system is the place
where the actual executions of instructions takes place during
processing operation

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 12/16

4
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Control Unit (CU)
Control Unit of a computer system manages and coordinates
the operations of all other components of the computer
system

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 13/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Central Processing Unit (CPU)
Arithmetic
Logic Unit
(ALU)

+

Control Unit
(CU)

=

Central
Processing
Unit (CPU)

§ It is the brain of a computer system
§ It is responsible for controlling the operations of
all other units of a computer system

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 14/16

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

The System Concept
A system has following three characteristics:
1. A system has more than one element
2. All elements of a system are logically related
3. All elements of a system are controlled in a manner to
achieve the system goal
A computer is a system as it comprises of integrated
components (input unit, output unit, storage unit, and CPU)
that work together to perform the steps called for in the
executing program

Ref. Page 18

Chapter 2: Basic Computer Organization

Slide 15/16

5
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Key Words/Phrases
§
§
§
§
§
§
§
§
§
§

Arithmetic Logic Unit (ALU)
Auxiliary storage
Central Processing Unit (CPU)
Computer system
Control Unit (CU)
Controlling
Input interface
Input unit
Inputting
Main memory

Ref. Page 19

§
§
§
§
§
§
§
§
§

Output interface
Output unit
Outputting
Primate storage
Processing
Secondary storage
Storage unit
Storing
System

Chapter 2: Basic Computer Organization

Slide 16/16

6
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Ref Page

Chapter 3: Number Systems

Slide 1/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
In this chapter you will learn about:
§ Non-positional number system
§ Positional number system
§ Decimal number system
§ Binary number system
§ Octal number system
§ Hexadecimal number system

(Continued on next slide)

Ref Page 20

Chapter 3: Number Systems

Slide 2/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
(Continued from previous slide..)

§ Convert a number’s base
§ Another base to decimal base
§ Decimal base to another base
§ Some base to another base
§ Shortcut methods for converting
§ Binary to octal number
§ Octal to binary number
§ Binary to hexadecimal number
§ Hexadecimal to binary number
§ Fractional numbers in binary number system

Ref Page 20

Chapter 3: Number Systems

Slide 3/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Number Systems
Two types of number systems are:
§ Non-positional number systems
§ Positional number systems

Ref Page 20

Chapter 3: Number Systems

Slide 4/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Non-positional Number Systems
§ Characteristics
§ Use symbols such as I for 1, II for 2, III for 3, IIII
for 4, IIIII for 5, etc
§ Each symbol represents the same value regardless
of its position in the number
§ The symbols are simply added to find out the value
of a particular number
§ Difficulty
§ It is difficult to perform arithmetic with such a
number system

Ref Page 20

Chapter 3: Number Systems

Slide 5/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Positional Number Systems
§

Characteristics
§

Use only a few symbols called digits

§

These symbols represent different values depending
on the position they occupy in the number

(Continued on next slide)

Ref Page 20

Chapter 3: Number Systems

Slide 6/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Positional Number Systems
(Continued from previous slide..)

§

The value of each digit is determined by:
1. The digit itself
2. The position of the digit in the number
3. The base of the number system

(base = total number of digits in the number
system)
§

Ref Page 21

The maximum value of a single digit is
always equal to one less than the value of
the base

Chapter 3: Number Systems

Slide 7/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Decimal Number System
Characteristics
§

A positional number system

§

Has 10 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7,
8, 9). Hence, its base = 10

§

The maximum value of a single digit is 9 (one
less than the value of the base)

§

Each position of a digit represents a specific
power of the base (10)

§

We use this number system in our day-to-day
life

(Continued on next slide)

Ref Page 21

Chapter 3: Number Systems

Slide 8/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Decimal Number System
(Continued from previous slide..)

Example
258610 = (2 x 103) + (5 x 102) + (8 x 101) + (6 x 100)
= 2000 + 500 + 80 + 6

Ref Page 21

Chapter 3: Number Systems

Slide 9/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Binary Number System
Characteristics
§

A positional number system

§

Has only 2 symbols or digits (0 and 1). Hence its
base = 2

§

The maximum value of a single digit is 1 (one less
than the value of the base)

§

Each position of a digit represents a specific power
of the base (2)

§

This number system is used in computers

(Continued on next slide)

Ref Page 21

Chapter 3: Number Systems

Slide 10/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Binary Number System
(Continued from previous slide..)

Example
101012 = (1 x 24) + (0 x 23) + (1 x 22) + (0 x 21) x (1 x 20)
= 16 + 0 + 4 + 0 + 1
= 2110

Ref Page 21

Chapter 3: Number Systems

Slide 11/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Representing Numbers in Different Number
Systems

In order to be specific about which number system we
are referring to, it is a common practice to indicate the
base as a subscript. Thus, we write:
101012 = 2110

Ref Page 21

Chapter 3: Number Systems

Slide 12/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Bit
§ Bit stands for binary digit
§ A bit in computer terminology means either a 0 or a 1
§ A binary number consisting of n bits is called an n-bit
number

Ref Page 22

Chapter 3: Number Systems

Slide 13/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Octal Number System
Characteristics
§ A positional number system
§ Has total 8 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7).
Hence, its base = 8
§ The maximum value of a single digit is 7 (one less
than the value of the base
§ Each position of a digit represents a specific power of
the base (8)

(Continued on next slide)

Ref Page 22

Chapter 3: Number Systems

Slide 14/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Octal Number System
(Continued from previous slide..)

§ Since there are only 8 digits, 3 bits (23 = 8) are
sufficient to represent any octal number in binary
Example
20578 = (2 x 83) + (0 x 82) + (5 x 81) + (7 x 80)
= 1024 + 0 + 40 + 7
= 107110

Ref Page 22

Chapter 3: Number Systems

Slide 15/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Hexadecimal Number System
Characteristics
§ A positional number system
§ Has total 16 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7,
8, 9, A, B, C, D, E, F). Hence its base = 16
§ The symbols A, B, C, D, E and F represent the
decimal values 10, 11, 12, 13, 14 and 15
respectively
§ The maximum value of a single digit is 15 (one less
than the value of the base)

(Continued on next slide)

Ref Page 22

Chapter 3: Number Systems

Slide 16/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Hexadecimal Number System
(Continued from previous slide..)

§ Each position of a digit represents a specific power
of the base (16)
§ Since there are only 16 digits, 4 bits (24 = 16) are
sufficient to represent any hexadecimal number in
binary
Example
1AF16

= (1 x 162) + (A x 161) + (F x 160)
= 1 x 256 + 10 x 16 + 15 x 1
= 256 + 160 + 15
= 43110

Ref Page 22

Chapter 3: Number Systems

Slide 17/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Number of Another Base to a
Decimal Number
Method
Step 1: Determine the column (positional) value of
each digit
Step 2: Multiply the obtained column values by the
digits in the corresponding columns
Step 3: Calculate the sum of these products

(Continued on next slide)

Ref Page 23

Chapter 3: Number Systems

Slide 18/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Number of Another Base to a
Decimal Number
(Continued from previous slide..)

Example
47068 = ?10

47068 = 4 x 83 + 7 x 82 + 0 x 81 + 6 x 80
= 4 x 512 + 7 x 64 + 0 + 6 x 1
= 2048 + 448 + 0 + 6
= 250210

Ref Page 23

Common
values
multiplied
by the
corresponding
digits

Sum of these
products

Chapter 3: Number Systems

Slide 19/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Decimal Number to a Number of
Another Base
Division-Remainder Method
Step 1: Divide the decimal number to be converted by
the value of the new base
Step 2: Record the remainder from Step 1 as the
rightmost digit (least significant digit) of the
new base number
Step 3:

Divide the quotient of the previous divide by the
new base

(Continued on next slide)

Ref Page 25

Chapter 3: Number Systems

Slide 20/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Decimal Number to a Number of
Another Base
(Continued from previous slide..)

Step 4: Record the remainder from Step 3 as the next
digit (to the left) of the new base number
Repeat Steps 3 and 4, recording remainders from right to
left, until the quotient becomes zero in Step 3
Note that the last remainder thus obtained will be the most
significant digit (MSD) of the new base number

(Continued on next slide)

Ref Page 25

Chapter 3: Number Systems

Slide 21/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Decimal Number to a Number of
Another Base
(Continued from previous slide..)

Example
95210 = ?8
Solution:
8 952
119
14
1
0

Remainder
s 0
7
6
1

Hence, 95210 = 16708
Ref Page 26

Chapter 3: Number Systems

Slide 22/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Number of Some Base to a Number
of Another Base
Method
Step 1: Convert the original number to a decimal
number (base 10)
Step 2: Convert the decimal number so obtained to
the new base number

(Continued on next slide)

Ref Page 27

Chapter 3: Number Systems

Slide 23/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Number of Some Base to a Number
of Another Base
(Continued from previous slide..)

Example
5456 = ?4
Solution:
Step 1: Convert from base 6 to base 10
5456 = 5 x 62 + 4 x 61 + 5 x 60
= 5 x 36 + 4 x 6 + 5 x 1
= 180 + 24 + 5
= 20910

(Continued on next slide)

Ref Page 27

Chapter 3: Number Systems

Slide 24/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Number of Some Base to a Number
of Another Base
(Continued from previous slide..)

Step 2: Convert 20910 to base 4
4

209

Remainders

52

1

13

0

3

1
3

0
Hence, 20910 = 31014
So, 5456 = 20910 = 31014
Thus, 5456 = 31014

Ref Page 28

Chapter 3: Number Systems

Slide 25/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Binary Number
to its Equivalent Octal Number
Method
Step 1: Divide the digits into groups of three starting
from the right
Step 2: Convert each group of three binary digits to
one octal digit using the method of binary to
decimal conversion

(Continued on next slide)

Ref Page 29

Chapter 3: Number Systems

Slide 26/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Binary Number
to its Equivalent Octal Number
(Continued from previous slide..)

Example
11010102 = ?8
Step 1: Divide the binary digits into groups of 3 starting
from right
001

101

010

Step 2: Convert each group into one octal digit
0012 = 0 x 22 + 0 x 21 + 1 x 20 = 1
1012 = 1 x 22 + 0 x 21 + 1 x 20 = 5
0102 = 0 x 22 + 1 x 21 + 0 x 20 = 2
Hence, 11010102 = 1528

Ref Page 29

Chapter 3: Number Systems

Slide 27/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting an Octal
Number to Its Equivalent Binary Number
Method
Step 1:

Convert each octal digit to a 3 digit binary
number (the octal digits may be treated as
decimal for this conversion)

Step 2: Combine all the resulting binary groups
(of 3 digits each) into a single binary
number

(Continued on next slide)

Ref Page 30

Chapter 3: Number Systems

Slide 28/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting an Octal
Number to Its Equivalent Binary Number
(Continued from previous slide..)

Example
5628 = ?2
Step 1: Convert each octal digit to 3 binary digits
58 = 1012,
68 = 1102,
28 = 0102
Step 2: Combine the binary groups
110
010
5628 = 101
5
6
2
Hence, 5628 = 1011100102

Ref Page 30

Chapter 3: Number Systems

Slide 29/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Binary
Number to its Equivalent Hexadecimal Number
Method
Step 1:

Divide the binary digits into groups of four
starting from the right

Step 2:

Combine each group of four binary digits to
one hexadecimal digit

(Continued on next slide)

Ref Page 30

Chapter 3: Number Systems

Slide 30/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Binary
Number to its Equivalent Hexadecimal Number
(Continued from previous slide..)

Example
1111012 = ?16
Step 1:

Divide the binary digits into groups of four
starting from the right
0011

1101

Step 2: Convert each group into a hexadecimal digit
00112 = 0 x 23 + 0 x 22 + 1 x 21 + 1 x 20 = 310 = 316
11012 = 1 x 23 + 1 x 22 + 0 x 21 + 1 x 20 = 310 = D16
Hence, 1111012 = 3D16

Ref Page 31

Chapter 3: Number Systems

Slide 31/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Hexadecimal
Number to its Equivalent Binary Number
Method
Step 1: Convert the decimal equivalent of each
hexadecimal digit to a 4 digit binary
number
Step 2: Combine all the resulting binary groups
(of 4 digits each) in a single binary number

(Continued on next slide)

Ref Page 31

Chapter 3: Number Systems

Slide 32/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Hexadecimal
Number to its Equivalent Binary Number
(Continued from previous slide..)

Example
2AB16 = ?2
Step 1: Convert each hexadecimal digit to a 4 digit
binary number
216 = 210 = 00102
A16 = 1010 = 10102
B16 = 1110 = 10112

Ref Page 32

Chapter 3: Number Systems

Slide 33/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Hexadecimal
Number to its Equivalent Binary Number
(Continued from previous slide..)

Step 2: Combine the binary groups
2AB16 = 0010 1010 1011
2
A
B
Hence, 2AB16 = 0010101010112

Ref Page 32

Chapter 3: Number Systems

Slide 34/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Fractional Numbers
Fractional numbers are formed same way as decimal
number system
In general, a number in a number system with base b
would be written as:
an an-1… a0 . a-1 a-2 … a-m
And would be interpreted to mean:
an x bn + an-1 x bn-1 + … + a0 x b0 + a-1 x b-1 + a-2 x b-2 +
… + a-m x b-m
The symbols an, an-1, …, a-m in above representation
should be one of the b symbols allowed in the number
system

Ref Page 33

Chapter 3: Number Systems

Slide 35/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Formation of Fractional Numbers in
Binary Number System (Example)
Binary Point
Position

4

3

2

1

0

-1

-2

-3

-4

Position Value

24

23

22

21

20

2-1

2-2

2-3

2-4

Quantity
Represented

16

8

4

2

1

1/
2

1/
4

1/
8

1/
16

.

(Continued on next slide)

Ref Page 33

Chapter 3: Number Systems

Slide 36/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Formation of Fractional Numbers in
Binary Number System (Example)
(Continued from previous slide..)

Example
110.1012 = 1 x 22 + 1 x 21 + 0 x 20 + 1 x 2-1 + 0 x 2-2 + 1 x 2-3
= 4 + 2 + 0 + 0.5 + 0 + 0.125
= 6.62510

Ref Page 33

Chapter 3: Number Systems

Slide 37/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Formation of Fractional Numbers in
Octal Number System (Example)
Octal Point
Position

3

2

1

0

Position Value

83

82

81

80

8

1

Quantity
Represented

512

64

.

-1

-2

-3

8-1

8-2

8-3

1/
8

1/
64

1/
512

(Continued on next slide)

Ref Page 33

Chapter 3: Number Systems

Slide 38/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Formation of Fractional Numbers in
Octal Number System (Example)
(Continued from previous slide..)

Example
127.548

= 1 x 82 + 2 x 81 + 7 x 80 + 5 x 8-1 + 4 x 8-2
= 64 + 16 + 7 + 5/8 + 4/64
= 87 + 0.625 + 0.0625
= 87.687510

Ref Page 33

Chapter 3: Number Systems

Slide 39/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Key Words/Phrases
§
§
§
§
§
§
§
§

Base
Binary number system
Binary point
Bit
Decimal number system
Division-Remainder technique
Fractional numbers
Hexadecimal number system

Ref Page 34

Least Significant Digit (LSD)
Memory dump
Most Significant Digit (MSD)
Non-positional number
system
§ Number system
§ Octal number system
§ Positional number system
§
§
§
§

Chapter 3: Number Systems

Slide 40/40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Ref Page

Chapter 3: Number Systems

Slide 1/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
In this chapter you will learn about:
§ Non-positional number system
§ Positional number system
§ Decimal number system
§ Binary number system
§ Octal number system
§ Hexadecimal number system

(Continued on next slide)

Ref Page 20

Chapter 3: Number Systems

Slide 2/40

1
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
(Continued from previous slide..)

§ Convert a number’s base
§ Another base to decimal base
§ Decimal base to another base
§ Some base to another base
§ Shortcut methods for converting
§ Binary to octal number
§ Octal to binary number
§ Binary to hexadecimal number
§ Hexadecimal to binary number
§ Fractional numbers in binary number system

Ref Page 20

Chapter 3: Number Systems

Slide 3/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Number Systems
Two types of number systems are:
§ Non-positional number systems
§ Positional number systems

Ref Page 20

Chapter 3: Number Systems

Slide 4/40

2
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Non-positional Number Systems
§ Characteristics
§ Use symbols such as I for 1, II for 2, III for 3, IIII
for 4, IIIII for 5, etc
§ Each symbol represents the same value regardless
of its position in the number
§ The symbols are simply added to find out the value
of a particular number
§ Difficulty
§ It is difficult to perform arithmetic with such a
number system

Ref Page 20

Chapter 3: Number Systems

Slide 5/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Positional Number Systems
§

Characteristics
§

Use only a few symbols called digits

§

These symbols represent different values depending
on the position they occupy in the number

(Continued on next slide)

Ref Page 20

Chapter 3: Number Systems

Slide 6/40

3
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Positional Number Systems
(Continued from previous slide..)

§

The value of each digit is determined by:
1. The digit itself
2. The position of the digit in the number
3. The base of the number system

(base = total number of digits in the number
system)
§

The maximum value of a single digit is
always equal to one less than the value of
the base

Ref Page 21

Chapter 3: Number Systems

Slide 7/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Decimal Number System
Characteristics
§

A positional number system

§

Has 10 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7,
8, 9). Hence, its base = 10

§

The maximum value of a single digit is 9 (one
less than the value of the base)

§

Each position of a digit represents a specific
power of the base (10)

§

We use this number system in our day-to-day
life

(Continued on next slide)

Ref Page 21

Chapter 3: Number Systems

Slide 8/40

4
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Decimal Number System
(Continued from previous slide..)

Example
258610 = (2 x 103) + (5 x 102) + (8 x 101) + (6 x 100)
= 2000 + 500 + 80 + 6

Ref Page 21

Chapter 3: Number Systems

Slide 9/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Binary Number System
Characteristics
§

A positional number system

§

Has only 2 symbols or digits (0 and 1). Hence its
base = 2

§

The maximum value of a single digit is 1 (one less
than the value of the base)

§

Each position of a digit represents a specific power
of the base (2)

§

This number system is used in computers

(Continued on next slide)

Ref Page 21

Chapter 3: Number Systems

Slide 10/40

5
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Binary Number System
(Continued from previous slide..)

Example
101012 = (1 x 24) + (0 x 23) + (1 x 22) + (0 x 21) x (1 x 20)
= 16 + 0 + 4 + 0 + 1
= 2110

Ref Page 21

Chapter 3: Number Systems

Slide 11/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Representing Numbers in Different Number
Systems

In order to be specific about which number system we
are referring to, it is a common practice to indicate the
base as a subscript. Thus, we write:
101012 = 2110

Ref Page 21

Chapter 3: Number Systems

Slide 12/40

6
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Bit
§ Bit stands for binary digit
§ A bit in computer terminology means either a 0 or a 1
§ A binary number consisting of n bits is called an n-bit
number

Ref Page 22

Chapter 3: Number Systems

Slide 13/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Octal Number System
Characteristics
§ A positional number system
§ Has total 8 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7).
Hence, its base = 8
§ The maximum value of a single digit is 7 (one less
than the value of the base
§ Each position of a digit represents a specific power of
the base (8)

(Continued on next slide)

Ref Page 22

Chapter 3: Number Systems

Slide 14/40

7
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Octal Number System
(Continued from previous slide..)

§ Since there are only 8 digits, 3 bits (23 = 8) are
sufficient to represent any octal number in binary
Example
20578 = (2 x 83) + (0 x 82) + (5 x 81) + (7 x 80)
= 1024 + 0 + 40 + 7
= 107110

Ref Page 22

Chapter 3: Number Systems

Slide 15/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Hexadecimal Number System
Characteristics
§ A positional number system
§ Has total 16 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7,
8, 9, A, B, C, D, E, F). Hence its base = 16
§ The symbols A, B, C, D, E and F represent the
decimal values 10, 11, 12, 13, 14 and 15
respectively
§ The maximum value of a single digit is 15 (one less
than the value of the base)

(Continued on next slide)

Ref Page 22

Chapter 3: Number Systems

Slide 16/40

8
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Hexadecimal Number System
(Continued from previous slide..)

§ Each position of a digit represents a specific power
of the base (16)
§ Since there are only 16 digits, 4 bits (24 = 16) are
sufficient to represent any hexadecimal number in
binary
Example
1AF16

= (1 x 162) + (A x 161) + (F x 160)
= 1 x 256 + 10 x 16 + 15 x 1
= 256 + 160 + 15
= 43110

Ref Page 22

Chapter 3: Number Systems

Slide 17/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Number of Another Base to a
Decimal Number
Method
Step 1: Determine the column (positional) value of
each digit
Step 2: Multiply the obtained column values by the
digits in the corresponding columns
Step 3: Calculate the sum of these products

(Continued on next slide)

Ref Page 23

Chapter 3: Number Systems

Slide 18/40

9
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Number of Another Base to a
Decimal Number
(Continued from previous slide..)

Example
47068 = ?10

47068 = 4 x 83 + 7 x 82 + 0 x 81 + 6 x 80
= 4 x 512 + 7 x 64 + 0 + 6 x 1
= 2048 + 448 + 0 + 6
= 250210

Ref Page 23

Common
values
multiplied
by the
corresponding
digits

Sum of these
products

Chapter 3: Number Systems

Slide 19/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Decimal Number to a Number of
Another Base
Division-Remainder Method
Step 1: Divide the decimal number to be converted by
the value of the new base
Step 2: Record the remainder from Step 1 as the
rightmost digit (least significant digit) of the
new base number
Step 3:

Divide the quotient of the previous divide by the
new base

(Continued on next slide)

Ref Page 25

Chapter 3: Number Systems

Slide 20/40

10
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Decimal Number to a Number of
Another Base
(Continued from previous slide..)

Step 4: Record the remainder from Step 3 as the next
digit (to the left) of the new base number
Repeat Steps 3 and 4, recording remainders from right to
left, until the quotient becomes zero in Step 3
Note that the last remainder thus obtained will be the most
significant digit (MSD) of the new base number

(Continued on next slide)

Ref Page 25

Chapter 3: Number Systems

Slide 21/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Decimal Number to a Number of
Another Base
(Continued from previous slide..)

Example
95210 = ?8
Solution:
8

952
119
14
1
0

Remainder
s 0
7
6
1

Hence, 95210 = 16708
Ref Page 26

Chapter 3: Number Systems

Slide 22/40

11
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Number of Some Base to a Number
of Another Base
Method
Step 1: Convert the original number to a decimal
number (base 10)
Step 2: Convert the decimal number so obtained to
the new base number

(Continued on next slide)

Ref Page 27

Chapter 3: Number Systems

Slide 23/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Number of Some Base to a Number
of Another Base
(Continued from previous slide..)

Example
5456 = ?4
Solution:
Step 1: Convert from base 6 to base 10
5456 = 5 x 62 + 4 x 61 + 5 x 60
= 5 x 36 + 4 x 6 + 5 x 1
= 180 + 24 + 5
= 20910

(Continued on next slide)

Ref Page 27

Chapter 3: Number Systems

Slide 24/40

12
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Converting a Number of Some Base to a Number
of Another Base
(Continued from previous slide..)

Step 2: Convert 20910 to base 4
4

209

Remainders

52

1

13

0

3

1
3

0
Hence, 20910 = 31014
So, 5456 = 20910 = 31014
Thus, 5456 = 31014

Ref Page 28

Chapter 3: Number Systems

Slide 25/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Binary Number
to its Equivalent Octal Number
Method
Step 1: Divide the digits into groups of three starting
from the right
Step 2: Convert each group of three binary digits to
one octal digit using the method of binary to
decimal conversion

(Continued on next slide)

Ref Page 29

Chapter 3: Number Systems

Slide 26/40

13
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Binary Number
to its Equivalent Octal Number
(Continued from previous slide..)

Example
11010102 = ?8
Step 1: Divide the binary digits into groups of 3 starting
from right
001

101

010

Step 2: Convert each group into one octal digit
0012 = 0 x 22 + 0 x 21 + 1 x 20 = 1
1012 = 1 x 22 + 0 x 21 + 1 x 20 = 5
0102 = 0 x 22 + 1 x 21 + 0 x 20 = 2
Hence, 11010102 = 1528

Ref Page 29

Chapter 3: Number Systems

Slide 27/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting an Octal
Number to Its Equivalent Binary Number
Method
Step 1:

Convert each octal digit to a 3 digit binary
number (the octal digits may be treated as
decimal for this conversion)

Step 2: Combine all the resulting binary groups
(of 3 digits each) into a single binary
number

(Continued on next slide)

Ref Page 30

Chapter 3: Number Systems

Slide 28/40

14
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting an Octal
Number to Its Equivalent Binary Number
(Continued from previous slide..)

Example
5628 = ?2
Step 1: Convert each octal digit to 3 binary digits
58 = 1012,
68 = 1102,
28 = 0102
Step 2: Combine the binary groups
5628 = 101
110
010
5
6
2
Hence, 5628 = 1011100102

Ref Page 30

Chapter 3: Number Systems

Slide 29/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Binary
Number to its Equivalent Hexadecimal Number
Method
Step 1: Divide the binary digits into groups of four
starting from the right
Step 2:

Combine each group of four binary digits to
one hexadecimal digit

(Continued on next slide)

Ref Page 30

Chapter 3: Number Systems

Slide 30/40

15
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Binary
Number to its Equivalent Hexadecimal Number
(Continued from previous slide..)

Example
1111012 = ?16
Step 1:

Divide the binary digits into groups of four
starting from the right
0011

1101

Step 2: Convert each group into a hexadecimal digit
00112 = 0 x 23 + 0 x 22 + 1 x 21 + 1 x 20 = 310 = 316
11012 = 1 x 23 + 1 x 22 + 0 x 21 + 1 x 20 = 310 = D16
Hence, 1111012 = 3D16

Ref Page 31

Chapter 3: Number Systems

Slide 31/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Hexadecimal
Number to its Equivalent Binary Number
Method
Step 1: Convert the decimal equivalent of each
hexadecimal digit to a 4 digit binary
number
Step 2: Combine all the resulting binary groups
(of 4 digits each) in a single binary number

(Continued on next slide)

Ref Page 31

Chapter 3: Number Systems

Slide 32/40

16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Hexadecimal
Number to its Equivalent Binary Number
(Continued from previous slide..)

Example
2AB16 = ?2
Step 1: Convert each hexadecimal digit to a 4 digit
binary number
216 = 210 = 00102
A16 = 1010 = 10102
B16 = 1110 = 10112

Ref Page 32

Chapter 3: Number Systems

Slide 33/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Shortcut Method for Converting a Hexadecimal
Number to its Equivalent Binary Number
(Continued from previous slide..)

Step 2: Combine the binary groups
2AB16 = 0010 1010 1011
2
A
B
Hence, 2AB16 = 001010101011 2

Ref Page 32

Chapter 3: Number Systems

Slide 34/40

17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Fractional Numbers
Fractional numbers are formed same way as decimal
number system
In general, a number in a number system with base b
would be written as:
an an-1… a0 . a-1 a-2 … a-m
And would be interpreted to mean:
an x bn + an-1 x bn-1 + … + a0 x b0 + a-1 x b-1 + a-2 x b-2 +
… + a-m x b-m
The symbols an, an-1, …, a-m in above representation
should be one of the b symbols allowed in the number
system

Ref Page 33

Chapter 3: Number Systems

Slide 35/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Formation of Fractional Numbers in
Binary Number System (Example)
Binary Point
Position

4

3

2

1

0

-1

-2

-3

-4

Position Value

24

23

22

21

20

2-1

2-2

2-3

2-4

Quantity
Represented

16

8

4

2

1

1/
2

1/
4

1/
8

1/
16

.

(Continued on next slide)

Ref Page 33

Chapter 3: Number Systems

Slide 36/40

18
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Formation of Fractional Numbers in
Binary Number System (Example)
(Continued from previous slide..)

Example
110.1012 = 1 x 22 + 1 x 21 + 0 x 20 + 1 x 2-1 + 0 x 2-2 + 1 x 2-3
= 4 + 2 + 0 + 0.5 + 0 + 0.125
= 6.62510

Ref Page 33

Chapter 3: Number Systems

Slide 37/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Formation of Fractional Numbers in
Octal Number System (Example)
Octal Point
Position

3

2

1

0

Position Value

83

82

81

80

8

1

Quantity
Represented

512

64

.

-1

-2

-3

8-1

8-2

8-3

1/
8

1/
64

1/
512

(Continued on next slide)

Ref Page 33

Chapter 3: Number Systems

Slide 38/40

19
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Formation of Fractional Numbers in
Octal Number System (Example)
(Continued from previous slide..)

Example
127.548

Ref Page 33

= 1 x 82 + 2 x 81 + 7 x 80 + 5 x 8-1 + 4 x 8-2
= 64 + 16 + 7 + 5/8 + 4/64
= 87 + 0.625 + 0.0625
= 87.687510

Chapter 3: Number Systems

Slide 39/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Key Words/Phrases
§
§
§
§
§
§
§
§

Base
Binary number system
Binary point
Bit
Decimal number system
Division-Remainder technique
Fractional numbers
Hexadecimal number system

Ref Page 34

Least Significant Digit (LSD)
Memory dump
Most Significant Digit (MSD)
Non-positional number
system
§ Number system
§ Octal number system
§ Positional number system
§
§
§
§

Chapter 3: Number Systems

Slide 40/40

20
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Ref Page

Chapter 3: Number Systems

Slide 1/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
In this chapter you will learn about:
§ Non-positional number system
§ Positional number system
§ Decimal number system
§ Binary number system
§ Octal number system
§ Hexadecimal number system

(Continued on next slide)

Ref Page 20

Chapter 3: Number Systems

Slide 2/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Learning Objectives
(Continued from previous slide..)

§ Convert a number’s base
§ Another base to decimal base
§ Decimal base to another base
§ Some base to another base
§ Shortcut methods for converting
§ Binary to octal number
§ Octal to binary number
§ Binary to hexadecimal number
§ Hexadecimal to binary number
§ Fractional numbers in binary number system

Ref Page 20

Chapter 3: Number Systems

Slide 3/40

1
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Number Systems
Two types of number systems are:
§ Non-positional number systems
§ Positional number systems

Ref Page 20

Chapter 3: Number Systems

Slide 4/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Non-positional Number Systems
§ Characteristics
§ Use symbols such as I for 1, II for 2, III for 3, IIII
for 4, IIIII for 5, etc
§ Each symbol represents the same value regardless
of its position in the number
§ The symbols are simply added to find out the value
of a particular number
§ Difficulty
§ It is difficult to perform arithmetic with such a
number system

Ref Page 20

Chapter 3: Number Systems

Slide 5/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Positional Number Systems
§

Characteristics
§

Use only a few symbols called digits

§

These symbols represent different values depending
on the position they occupy in the number

(Continued on next slide)

Ref Page 20

Chapter 3: Number Systems

Slide 6/40

2
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Positional Number Systems
(Continued from previous slide..)

§

The value of each digit is determined by:
1. The digit itself
2. The position of the digit in the number
3. The base of the number system

(base = total number of digits in the number
system)
§

The maximum value of a single digit is
always equal to one less than the value of
the base

Ref Page 21

Chapter 3: Number Systems

Slide 7/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Decimal Number System
Characteristics
§

A positional number system

§

Has 10 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7,
8, 9). Hence, its base = 10

§

The maximum value of a single digit is 9 (one
less than the value of the base)

§

Each position of a digit represents a specific
power of the base (10)

§

We use this number system in our day-to-day
life

(Continued on next slide)

Ref Page 21

Chapter 3: Number Systems

Slide 8/40

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Decimal Number System
(Continued from previous slide..)

Example
258610 = (2 x 103) + (5 x 102) + (8 x 101) + (6 x 100)
= 2000 + 500 + 80 + 6

Ref Page 21

Chapter 3: Number Systems

Slide 9/40

3
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental
Computer fundamental

More Related Content

What's hot

Computer Fundamentals Chapter 01 introduction
Computer Fundamentals Chapter 01 introductionComputer Fundamentals Chapter 01 introduction
Computer Fundamentals Chapter 01 introductionSaumya Sahu
 
Computer Fundamentals Chapter 14 os
Computer Fundamentals Chapter 14 osComputer Fundamentals Chapter 14 os
Computer Fundamentals Chapter 14 osSaumya Sahu
 
Computer Basics 101 Slide Show Presentation
Computer Basics 101 Slide Show PresentationComputer Basics 101 Slide Show Presentation
Computer Basics 101 Slide Show Presentationsluget
 
Types and components of computers
Types and components of computersTypes and components of computers
Types and components of computersCik Na Shohaili
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organizationBadrinath Kadam
 
Ch2: Computer System Structure (OS)
Ch2: Computer System Structure (OS)Ch2: Computer System Structure (OS)
Ch2: Computer System Structure (OS)Ahmar Hashmi
 
0 introduction to computer architecture
0 introduction to computer architecture0 introduction to computer architecture
0 introduction to computer architectureaamc1100
 
Types and components of computer system
Types and components of computer systemTypes and components of computer system
Types and components of computer systemhome
 
Human Computer Interaction (HCI)
Human Computer Interaction (HCI) Human Computer Interaction (HCI)
Human Computer Interaction (HCI) Sachith Perera
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardwarenitinmote
 
Computer fundamental basic comuter organization [www.studysharebd.com]
Computer fundamental basic comuter organization [www.studysharebd.com]Computer fundamental basic comuter organization [www.studysharebd.com]
Computer fundamental basic comuter organization [www.studysharebd.com]Rafiq Azad
 
Computer Fundamentals Chapter 07 pam
Computer Fundamentals Chapter  07 pamComputer Fundamentals Chapter  07 pam
Computer Fundamentals Chapter 07 pamSaumya Sahu
 
Generation of computer 1st to 5th
Generation of computer 1st to 5th Generation of computer 1st to 5th
Generation of computer 1st to 5th Adeel Rasheed
 
Operating systems for class 9th class
Operating systems for class 9th classOperating systems for class 9th class
Operating systems for class 9th classAnkit Kumar
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating SystemsMukesh Chinta
 
Generation of computer
Generation of computerGeneration of computer
Generation of computerMaddy garg
 
GENERATIONS OF COMPUTER
GENERATIONS OF COMPUTERGENERATIONS OF COMPUTER
GENERATIONS OF COMPUTERRajat More
 
Computer generations
Computer generationsComputer generations
Computer generationsMukul Kumar
 

What's hot (20)

Operating System PPT
Operating System PPTOperating System PPT
Operating System PPT
 
Computer Fundamentals Chapter 01 introduction
Computer Fundamentals Chapter 01 introductionComputer Fundamentals Chapter 01 introduction
Computer Fundamentals Chapter 01 introduction
 
Computer Fundamentals Chapter 14 os
Computer Fundamentals Chapter 14 osComputer Fundamentals Chapter 14 os
Computer Fundamentals Chapter 14 os
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Computer Basics 101 Slide Show Presentation
Computer Basics 101 Slide Show PresentationComputer Basics 101 Slide Show Presentation
Computer Basics 101 Slide Show Presentation
 
Types and components of computers
Types and components of computersTypes and components of computers
Types and components of computers
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organization
 
Ch2: Computer System Structure (OS)
Ch2: Computer System Structure (OS)Ch2: Computer System Structure (OS)
Ch2: Computer System Structure (OS)
 
0 introduction to computer architecture
0 introduction to computer architecture0 introduction to computer architecture
0 introduction to computer architecture
 
Types and components of computer system
Types and components of computer systemTypes and components of computer system
Types and components of computer system
 
Human Computer Interaction (HCI)
Human Computer Interaction (HCI) Human Computer Interaction (HCI)
Human Computer Interaction (HCI)
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
Computer fundamental basic comuter organization [www.studysharebd.com]
Computer fundamental basic comuter organization [www.studysharebd.com]Computer fundamental basic comuter organization [www.studysharebd.com]
Computer fundamental basic comuter organization [www.studysharebd.com]
 
Computer Fundamentals Chapter 07 pam
Computer Fundamentals Chapter  07 pamComputer Fundamentals Chapter  07 pam
Computer Fundamentals Chapter 07 pam
 
Generation of computer 1st to 5th
Generation of computer 1st to 5th Generation of computer 1st to 5th
Generation of computer 1st to 5th
 
Operating systems for class 9th class
Operating systems for class 9th classOperating systems for class 9th class
Operating systems for class 9th class
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Generation of computer
Generation of computerGeneration of computer
Generation of computer
 
GENERATIONS OF COMPUTER
GENERATIONS OF COMPUTERGENERATIONS OF COMPUTER
GENERATIONS OF COMPUTER
 
Computer generations
Computer generationsComputer generations
Computer generations
 

Viewers also liked

Fundamentals Of Computer
Fundamentals Of ComputerFundamentals Of Computer
Fundamentals Of ComputerJack Frost
 
basics of computer system ppt
basics of computer system pptbasics of computer system ppt
basics of computer system pptSuaj
 
Computer Fundamentals_Chapter 02 bco
Computer Fundamentals_Chapter 02 bcoComputer Fundamentals_Chapter 02 bco
Computer Fundamentals_Chapter 02 bcoSaumya Sahu
 
Computer Fundamental
Computer FundamentalComputer Fundamental
Computer Fundamentalactanimation
 
Computer Fundamentals
Computer FundamentalsComputer Fundamentals
Computer Fundamentalsarchikabhatia
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardwaredheeraj87
 
Introduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts PresentationIntroduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts PresentationAna Tan
 
Components of a computer system
Components of a computer systemComponents of a computer system
Components of a computer systemlistergc
 
Basic computer fundamentals
Basic computer fundamentalsBasic computer fundamentals
Basic computer fundamentalsUday Pal
 
hydraulics basic level textbook MC 6 (2)
hydraulics basic level textbook MC 6 (2)hydraulics basic level textbook MC 6 (2)
hydraulics basic level textbook MC 6 (2)Gas & Oil Pakistan Ltd.
 
Basic computer fundamentals_itft college chandigarh,india
Basic computer fundamentals_itft college chandigarh,indiaBasic computer fundamentals_itft college chandigarh,india
Basic computer fundamentals_itft college chandigarh,indiaNavneet Kaur
 
New Features of HTML 5.1 to Create More Flexible Web Experiences
New Features of HTML 5.1 to Create More Flexible Web ExperiencesNew Features of HTML 5.1 to Create More Flexible Web Experiences
New Features of HTML 5.1 to Create More Flexible Web ExperiencesRasin Bekkevold
 
YL basic computer Learning
YL basic computer LearningYL basic computer Learning
YL basic computer Learningdilom1986
 
Tutorial archi cad 7.0
Tutorial archi cad 7.0Tutorial archi cad 7.0
Tutorial archi cad 7.0imaduddin91
 
Mca i-fundamental of computer-u-1-computer hardware system
Mca  i-fundamental of  computer-u-1-computer hardware systemMca  i-fundamental of  computer-u-1-computer hardware system
Mca i-fundamental of computer-u-1-computer hardware systemRai University
 

Viewers also liked (20)

Fundamentals Of Computer
Fundamentals Of ComputerFundamentals Of Computer
Fundamentals Of Computer
 
basics of computer system ppt
basics of computer system pptbasics of computer system ppt
basics of computer system ppt
 
Computer Fundamentals_Chapter 02 bco
Computer Fundamentals_Chapter 02 bcoComputer Fundamentals_Chapter 02 bco
Computer Fundamentals_Chapter 02 bco
 
Computer Fundamental
Computer FundamentalComputer Fundamental
Computer Fundamental
 
Computer Fundamentals
Computer FundamentalsComputer Fundamentals
Computer Fundamentals
 
Mother board
Mother boardMother board
Mother board
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
Introduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts PresentationIntroduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts Presentation
 
Components of a computer system
Components of a computer systemComponents of a computer system
Components of a computer system
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 
Basic computer fundamentals
Basic computer fundamentalsBasic computer fundamentals
Basic computer fundamentals
 
hydraulics basic level textbook MC 6 (2)
hydraulics basic level textbook MC 6 (2)hydraulics basic level textbook MC 6 (2)
hydraulics basic level textbook MC 6 (2)
 
Fundamental of Computers
Fundamental of ComputersFundamental of Computers
Fundamental of Computers
 
Basic computer fundamentals_itft college chandigarh,india
Basic computer fundamentals_itft college chandigarh,indiaBasic computer fundamentals_itft college chandigarh,india
Basic computer fundamentals_itft college chandigarh,india
 
New Features of HTML 5.1 to Create More Flexible Web Experiences
New Features of HTML 5.1 to Create More Flexible Web ExperiencesNew Features of HTML 5.1 to Create More Flexible Web Experiences
New Features of HTML 5.1 to Create More Flexible Web Experiences
 
IT workshop SAIKRISHNA EEE
IT workshop SAIKRISHNA EEEIT workshop SAIKRISHNA EEE
IT workshop SAIKRISHNA EEE
 
YL basic computer Learning
YL basic computer LearningYL basic computer Learning
YL basic computer Learning
 
Lesson 25
Lesson 25Lesson 25
Lesson 25
 
Tutorial archi cad 7.0
Tutorial archi cad 7.0Tutorial archi cad 7.0
Tutorial archi cad 7.0
 
Mca i-fundamental of computer-u-1-computer hardware system
Mca  i-fundamental of  computer-u-1-computer hardware systemMca  i-fundamental of  computer-u-1-computer hardware system
Mca i-fundamental of computer-u-1-computer hardware system
 

Similar to Computer fundamental

computer_fundamentals by sinha & sinha.pdf
computer_fundamentals by sinha & sinha.pdfcomputer_fundamentals by sinha & sinha.pdf
computer_fundamentals by sinha & sinha.pdfSarthakGoel39
 
Computer Fundamentals P.K Sinha (By Yogi)-By www.LearnEngineering.in.pdf
Computer Fundamentals P.K Sinha   (By Yogi)-By www.LearnEngineering.in.pdfComputer Fundamentals P.K Sinha   (By Yogi)-By www.LearnEngineering.in.pdf
Computer Fundamentals P.K Sinha (By Yogi)-By www.LearnEngineering.in.pdfKINGZzofYouTube
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computeruafridi
 
Chapter 01 introduction
Chapter 01 introductionChapter 01 introduction
Chapter 01 introductionIIUI
 
Chapter 01 introduction to computers computing
Chapter 01 introduction to computers computingChapter 01 introduction to computers computing
Chapter 01 introduction to computers computingUmair falak
 
Chapter 01 introduction to computers
Chapter 01 introduction to computersChapter 01 introduction to computers
Chapter 01 introduction to computerssehreenshifa
 
Chapter01 introduction to computer
Chapter01   introduction to computerChapter01   introduction to computer
Chapter01 introduction to computerAinuddin Yousufzai
 
Introducation to computer [www.studysharebd.com]
Introducation to computer [www.studysharebd.com]Introducation to computer [www.studysharebd.com]
Introducation to computer [www.studysharebd.com]Rafiq Azad
 
fundamental of computer computer what about computer works in today world
fundamental of computer computer what about computer works in today worldfundamental of computer computer what about computer works in today world
fundamental of computer computer what about computer works in today worldRaviSharma65345
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introductionAbeera Ghazal
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introductionAbeera Ghazal
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to ComputersPrabu U
 
Ch 1 introduction and 2 computer software 1
Ch 1 introduction  and 2 computer software 1Ch 1 introduction  and 2 computer software 1
Ch 1 introduction and 2 computer software 1rjsuthar56
 
Information Technology for Managers - Basics
Information Technology for Managers - BasicsInformation Technology for Managers - Basics
Information Technology for Managers - BasicsIsha Joshi
 
UNit 1sbhejsjejdhdhdjjejejdhejjjdjdhdhheh.pptx
UNit 1sbhejsjejdhdhdjjejejdhejjjdjdhdhheh.pptxUNit 1sbhejsjejdhdhdjjejejdhejjjdjdhdhheh.pptx
UNit 1sbhejsjejdhdhdjjejejdhejjjdjdhdhheh.pptxhello1506hello
 

Similar to Computer fundamental (20)

computer_fundamentals by sinha & sinha.pdf
computer_fundamentals by sinha & sinha.pdfcomputer_fundamentals by sinha & sinha.pdf
computer_fundamentals by sinha & sinha.pdf
 
Computer Basics
Computer BasicsComputer Basics
Computer Basics
 
Computer Fundamentals P.K Sinha (By Yogi)-By www.LearnEngineering.in.pdf
Computer Fundamentals P.K Sinha   (By Yogi)-By www.LearnEngineering.in.pdfComputer Fundamentals P.K Sinha   (By Yogi)-By www.LearnEngineering.in.pdf
Computer Fundamentals P.K Sinha (By Yogi)-By www.LearnEngineering.in.pdf
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
 
Chapter 01 introduction
Chapter 01 introductionChapter 01 introduction
Chapter 01 introduction
 
Chapter 01 introduction to computers computing
Chapter 01 introduction to computers computingChapter 01 introduction to computers computing
Chapter 01 introduction to computers computing
 
Chapter 01 introduction to computers
Chapter 01 introduction to computersChapter 01 introduction to computers
Chapter 01 introduction to computers
 
Chapter01 introduction to computer
Chapter01   introduction to computerChapter01   introduction to computer
Chapter01 introduction to computer
 
Introducation to computer [www.studysharebd.com]
Introducation to computer [www.studysharebd.com]Introducation to computer [www.studysharebd.com]
Introducation to computer [www.studysharebd.com]
 
P k sinha IT Book
P k sinha IT BookP k sinha IT Book
P k sinha IT Book
 
fundamental of computer computer what about computer works in today world
fundamental of computer computer what about computer works in today worldfundamental of computer computer what about computer works in today world
fundamental of computer computer what about computer works in today world
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introduction
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introduction
 
Architecture presentation
Architecture presentationArchitecture presentation
Architecture presentation
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to Computers
 
Digital Fluency
Digital FluencyDigital Fluency
Digital Fluency
 
Ch 1 introduction and 2 computer software 1
Ch 1 introduction  and 2 computer software 1Ch 1 introduction  and 2 computer software 1
Ch 1 introduction and 2 computer software 1
 
Information Technology for Managers - Basics
Information Technology for Managers - BasicsInformation Technology for Managers - Basics
Information Technology for Managers - Basics
 
UNit 1sbhejsjejdhdhdjjejejdhejjjdjdhdhheh.pptx
UNit 1sbhejsjejdhdhdjjejejdhejjjdjdhdhheh.pptxUNit 1sbhejsjejdhdhdjjejejdhejjjdjdhdhheh.pptx
UNit 1sbhejsjejdhdhdjjejejdhejjjdjdhdhheh.pptx
 
Chapter 20 coc
Chapter 20 cocChapter 20 coc
Chapter 20 coc
 

More from Gas & Oil Pakistan Ltd. (12)

MECHATRONICS SYSTEMS MC 6 (1)
MECHATRONICS SYSTEMS MC 6 (1)MECHATRONICS SYSTEMS MC 6 (1)
MECHATRONICS SYSTEMS MC 6 (1)
 
Shaft couplings
Shaft couplings Shaft couplings
Shaft couplings
 
Poles and towers
Poles and towersPoles and towers
Poles and towers
 
Pipes joints
Pipes jointsPipes joints
Pipes joints
 
Historical Place in Pakistan
Historical Place in PakistanHistorical Place in Pakistan
Historical Place in Pakistan
 
Influence of western culture in pakistan
Influence of western culture in pakistanInfluence of western culture in pakistan
Influence of western culture in pakistan
 
World War 1
World War 1World War 1
World War 1
 
Lecture iii orthographic projection
Lecture iii   orthographic projectionLecture iii   orthographic projection
Lecture iii orthographic projection
 
Lecture ii using drawing tools
Lecture ii   using drawing toolsLecture ii   using drawing tools
Lecture ii using drawing tools
 
Lecture iv orthographic writing
Lecture iv   orthographic writingLecture iv   orthographic writing
Lecture iv orthographic writing
 
Ahmad ramay
Ahmad ramayAhmad ramay
Ahmad ramay
 
Corrosion
CorrosionCorrosion
Corrosion
 

Recently uploaded

ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 

Recently uploaded (20)

ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 

Computer fundamental

  • 1. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Ref Page Chapter 1: Introduction to Computers Slide 1/17
  • 2. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives In this chapter you will learn about: § Computer § Data processing § Characteristic features of computers § Computers’ evolution to their present form § Computer generations § Characteristic features of each computer generation Ref Page 01 Chapter 1: Introduction to Computers Slide 2/17
  • 3. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer § The word computer comes from the word “compute”, which means, “to calculate” § Thereby, a computer is an electronic device that can perform arithmetic operations at high speed § A computer is also called a data processor because it can store, process, and retrieve data whenever desired Ref Page 01 Chapter 1: Introduction to Computers Slide 3/17
  • 4. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Data Processing The activity of processing data using a computer is called data processing Data Capture Data Manipulate Data Output Results Information Data is raw material used as input and information is processed data obtained as output of data processing Ref Page 01 Chapter 1: Introduction to Computers Slide 4/17
  • 5. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Characteristics of Computers 1) Automatic: Given a job, computer can work on it automatically without human interventions 2) Speed: Computer can perform data processing jobs very fast, usually measured in microseconds (10-6), nanoseconds (10-9), and picoseconds (10-12) 3) Accuracy: Accuracy of a computer is consistently high and the degree of its accuracy depends upon its design. Computer errors caused due to incorrect input data or unreliable programs are often referred to as GarbageIn-Garbage-Out (GIGO) (Continued on next slide) Ref Page 02 Chapter 1: Introduction to Computers Slide 5/17
  • 6. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Characteristics of Computers (Continued from previous slide..) 4) Diligence: Computer is free from monotony, tiredness, and lack of concentration. It can continuously work for hours without creating any error and without grumbling 5) Versatility: Computer is capable of performing almost any task, if the task can be reduced to a finite series of logical steps 6) Power of Remembering: Computer can store and recall any amount of information because of its secondary storage capability. It forgets or looses certain information only when it is asked to do so (Continued on next slide) Ref Page 02 Chapter 1: Introduction to Computers Slide 6/17
  • 7. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Characteristics of Computers (Continued from previous slide..) 7) No I.Q.: A computer does only what it is programmed to do. It cannot take its own decision in this regard 8) No Feelings: Computers are devoid of emotions. Their judgement is based on the instructions given to them in the form of programs that are written by us (human beings) (Continued on next slide) Ref Page 03 Chapter 1: Introduction to Computers Slide 7/17
  • 8. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Evolution of Computers § Blaise Pascal invented the first mechanical adding machine in 1642 § Baron Gottfried Wilhelm von Leibniz invented the first calculator for multiplication in 1671 § Keyboard machines originated in the United States around 1880 § Around 1880, Herman Hollerith came up with the concept of punched cards that were extensively used as input media until late 1970s Ref Page 03 Chapter 1: Introduction to Computers Slide 8/17
  • 9. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Evolution of Computers (Continued from previous slide..) § Charles Babbage is considered to be the father of modern digital computers § He designed “Difference Engine” in 1822 § He designed a fully automatic analytical engine in 1842 for performing basic arithmetic functions § His efforts established a number of principles that are fundamental to the design of any digital computer (Continued on next slide) Ref Page 03 Chapter 1: Introduction to Computers Slide 9/17
  • 10. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Some Well Known Early Computers § The Mark I Computer (1937-44) § The Atanasoff-Berry Computer (1939-42) § The ENIAC (1943-46) § The EDVAC (1946-52) § The EDSAC (1947-49) § Manchester Mark I (1948) § The UNIVAC I (1951) Ref Page 03 Chapter 1: Introduction to Computers Slide 10/17
  • 11. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations § “Generation” in computer talk is a step in technology. It provides a framework for the growth of computer industry § Originally it was used to distinguish between various hardware technologies, but now it has been extended to include both hardware and software § Till today, there are five computer generations (Continued on next slide) Ref Page 05 Chapter 1: Introduction to Computers Slide 11/17
  • 12. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Some representative systems Generation (Period) Key hardware technologies Key software technologies Key characteristics First (1942-1955) § Vacuum tubes § Electromagnetic relay memory § Punched cards secondary storage § Machine and assembly languages § Stored program concept § Mostly scientific applications § Bulky in size § Highly unreliable § Limited commercial use and costly § Difficult commercial production § Difficult to use § § § § § ENIAC EDVAC EDSAC UNIVAC I IBM 701 Second (1955-1964) § Transistors § Magnetic cores memory § Magnetic tapes § Disks for secondary storage § Batch operating system § High-level programming languages § Scientific and commercial applications § Faster, smaller, more reliable and easier to program than previous generation systems § Commercial production was still difficult and costly § § § § Honeywell 400 IBM 7030 CDC 1604 UNIVAC LARC (Continued on next slide) Ref Page 13 Chapter 1: Introduction to Computers Slide 12/17
  • 13. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Generation (Period) Key hardware technologies Key software technologies Key characteristics Some rep. systems Third (1964-1975) § ICs with SSI and MSI technologies § Larger magnetic cores memory § Larger capacity disks and magnetic tapes secondary storage § Minicomputers; upward compatible family of computers § Timesharing operating system § Standardization of high-level programming languages § Unbundling of software from hardware § Faster, smaller, more reliable, easier and cheaper to produce § Commercially, easier to use, and easier to upgrade than previous generation systems § Scientific, commercial and interactive online applications § IBM 360/370 § PDP-8 § PDP-11 § CDC 6600 (Continued on next slide) Ref Page 13 Chapter 1: Introduction to Computers Slide 13/17
  • 14. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Generation (Period) Fourth (1975-1989) Key hardware Technologies Key software technologies Key characteristics Some rep. systems § ICs with VLSI technology § Microprocessors; semiconductor memory § Larger capacity hard disks as in-built secondary storage § Magnetic tapes and floppy disks as portable storage media § Personal computers § Supercomputers based on parallel vector processing and symmetric multiprocessing technologies § Spread of high-speed computer networks § Operating systems for PCs with GUI and multiple windows on a single terminal screen § Multiprocessing OS with concurrent programming languages § UNIX operating system with C programming language § Object-oriented design and programming § PC, Network-based, and supercomputing applications § Small, affordable, reliable, and easy to use PCs § More powerful and reliable mainframe systems and supercomputers § Totally general purpose machines § Easier to produce commercially § Easier to upgrade § Rapid software development possible § IBM PC and its clones § Apple II § TRS-80 § VAX 9000 § CRAY-1 § CRAY-2 § CRAY-X/MP (Continued on next slide) Ref Page 13 Chapter 1: Introduction to Computers Slide 14/17
  • 15. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Generation (Period) Fifth (1989Present) Ref Page 13 Key hardware technologies Key software technologies Key characteristics § ICs with ULSI technology § Larger capacity main memory, hard disks with RAID support § Optical disks as portable read-only storage media § Notebooks, powerful desktop PCs and workstations § Powerful servers, supercomputers § Internet § Cluster computing § Micro-kernel based, multithreading, distributed OS § Parallel programming libraries like MPI & PVM § JAVA § World Wide Web § Multimedia, Internet applications § More complex supercomputing applications § Portable computers § Powerful, cheaper, reliable, and easier to use desktop machines § Powerful supercomputers § High uptime due to hot-pluggable components § Totally general purpose machines § Easier to produce commercially, easier to upgrade § Rapid software development possible Chapter 1: Introduction to Computers Some rep. systems § IBM notebooks § Pentium PCs § SUN Workstations § IBM SP/2 § SGI Origin 2000 § PARAM 10000 Slide 15/17
  • 16. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Electronic Devices Used in Computers of Different Generations Electronic Devices Used in Computers of Different Generations (a) A Vacuum Tube Ref Page 07 (b) A Transistor (c) An IC Chip Chapter 1: Introduction to Computers Slide 16/17
  • 17. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Key Words/Phrases § Computer § Computer generations § Computer Supported Cooperative Working (CSCW) § Data § Data processing § Data processor § First-generation computers § Fourth-generation computers § Garbage-in-garbage-out (GIGO) § Graphical User Interface (GUI) § Groupware § Information Ref Page 12 Integrated Circuit (IC) Large Scale Integration (VLSI) Medium Scale Integration (MSI) Microprocessor Personal Computer (PC) Second-generation computers Small Scale Integration (SSI) Stored program concept Third-generation computers Transistor Ultra Large Scale Integration (ULSI) § Vacuum tubes § § § § § § § § § § § Chapter 1: Introduction to Computers Slide 17/17
  • 18. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Ref Page Chapter 1: Introduction to Computers Slide 1/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives In this chapter you will learn about: § Computer § Data processing § Characteristic features of computers § Computers’ evolution to their present form § Computer generations § Characteristic features of each computer generation Ref Page 01 Chapter 1: Introduction to Computers Slide 2/17 1
  • 19. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer § The word computer comes from the word “compute”, which means, “to calculate” § Thereby, a computer is an electronic device that can perform arithmetic operations at high speed § A computer is also called a data processor because it can store, process, and retrieve data whenever desired Ref Page 01 Chapter 1: Introduction to Computers Slide 3/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Data Processing The activity of processing data using a computer is called data processing Data Capture Data Manipulate Data Output Results Information Data is raw material used as input and information is processed data obtained as output of data processing Ref Page 01 Chapter 1: Introduction to Computers Slide 4/17 2
  • 20. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Characteristics of Computers 1) Automatic: Given a job, computer can work on it automatically without human interventions 2) Speed: Computer can perform data processing jobs very fast, usually measured in microseconds (10-6), nanoseconds (10-9), and picoseconds (10-12) 3) Accuracy: Accuracy of a computer is consistently high and the degree of its accuracy depends upon its design. Computer errors caused due to incorrect input data or unreliable programs are often referred to as GarbageIn-Garbage-Out (GIGO) (Continued on next slide) Ref Page 02 Chapter 1: Introduction to Computers Slide 5/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Characteristics of Computers (Continued from previous slide..) 4) Diligence: Computer is free from monotony, tiredness, and lack of concentration. It can continuously work for hours without creating any error and without grumbling 5) Versatility: Computer is capable of performing almost any task, if the task can be reduced to a finite series of logical steps 6) Power of Remembering: Computer can store and recall any amount of information because of its secondary storage capability. It forgets or looses certain information only when it is asked to do so (Continued on next slide) Ref Page 02 Chapter 1: Introduction to Computers Slide 6/17 3
  • 21. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Characteristics of Computers (Continued from previous slide..) 7) No I.Q.: A computer does only what it is programmed to do. It cannot take its own decision in this regard 8) No Feelings: Computers are devoid of emotions. Their judgement is based on the instructions given to them in the form of programs that are written by us (human beings) (Continued on next slide) Ref Page 03 Chapter 1: Introduction to Computers Slide 7/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Evolution of Computers § Blaise Pascal invented the first mechanical adding machine in 1642 § Baron Gottfried Wilhelm von Leibniz invented the first calculator for multiplication in 1671 § Keyboard machines originated in the United States around 1880 § Around 1880, Herman Hollerith came up with the concept of punched cards that were extensively used as input media until late 1970s Ref Page 03 Chapter 1: Introduction to Computers Slide 8/17 4
  • 22. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Evolution of Computers (Continued from previous slide..) § Charles Babbage is considered to be the father of modern digital computers § He designed “Difference Engine” in 1822 § He designed a fully automatic analytical engine in 1842 for performing basic arithmetic functions § His efforts established a number of principles that are fundamental to the design of any digital computer (Continued on next slide) Ref Page 03 Chapter 1: Introduction to Computers Slide 9/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Some Well Known Early Computers § The Mark I Computer (1937-44) § The Atanasoff-Berry Computer (1939-42) § The ENIAC (1943-46) § The EDVAC (1946-52) § The EDSAC (1947-49) § Manchester Mark I (1948) § The UNIVAC I (1951) Ref Page 03 Chapter 1: Introduction to Computers Slide 10/17 5
  • 23. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations § “Generation” in computer talk is a step in technology. It provides a framework for the growth of computer industry § Originally it was used to distinguish between various hardware technologies, but now it has been extended to include both hardware and software § Till today, there are five computer generations (Continued on next slide) Ref Page 05 Chapter 1: Introduction to Computers Slide 11/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Some representative systems Key hardware technologies Key software technologies Key characteristics First (1942-1955) § Vacuum tubes § Electromagnetic relay memory § Punched cards secondary storage § Machine and assembly languages § Stored program concept § Mostly scientific applications § Bulky in size § Highly unreliable § Limited commercial use and costly § Difficult commercial production § Difficult to use § § § § § ENIAC EDVAC EDSAC UNIVAC I IBM 701 Second (1955-1964) § Transistors § Magnetic cores memory § Magnetic tapes § Disks for secondary storage § Batch operating system § High-level programming languages § Scientific and commercial applications § Faster, smaller, more reliable and easier to program than previous generation systems § Commercial production was still difficult and costly § § § § Honeywell 400 IBM 7030 CDC 1604 UNIVAC LARC Generation (Period) (Continued on next slide) Ref Page 13 Chapter 1: Introduction to Computers Slide 12/17 6
  • 24. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Generation (Period) Key hardware technologies Key software technologies Key characteristics Some rep. systems Third (1964-1975) § ICs with SSI and MSI technologies § Larger magnetic cores memory § Larger capacity disks and magnetic tapes secondary storage § Minicomputers; upward compatible family of computers § Timesharing operating system § Standardization of high-level programming languages § Unbundling of software from hardware § Faster, smaller, more reliable, easier and cheaper to produce § Commercially, easier to use, and easier to upgrade than previous generation systems § Scientific, commercial and interactive online applications § IBM 360/370 § PDP-8 § PDP-11 § CDC 6600 (Continued on next slide) Ref Page 13 Chapter 1: Introduction to Computers Slide 13/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Generation (Period) Fourth (1975-1989) Key hardware Technologies Key software technologies Key characteristics Some rep. systems § ICs with VLSI technology § Microprocessors; semiconductor memory § Larger capacity hard disks as in-built secondary storage § Magnetic tapes and floppy disks as portable storage media § Personal computers § Supercomputers based on parallel vector processing and symmetric multiprocessing technologies § Spread of high-speed computer networks § Operating systems for PCs with GUI and multiple windows on a single terminal screen § Multiprocessing OS with concurrent programming languages § UNIX operating system with C programming language § Object-oriented design and programming § PC, Network-based, and supercomputing applications § Small, affordable, reliable, and easy to use PCs § More powerful and reliable mainframe systems and supercomputers § Totally general purpose machines § Easier to produce commercially § Easier to upgrade § Rapid software development possible § IBM PC and its clones § Apple II § TRS-80 § VAX 9000 § CRAY-1 § CRAY-2 § CRAY-X/MP (Continued on next slide) Ref Page 13 Chapter 1: Introduction to Computers Slide 14/17 7
  • 25. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Generation (Period) Fifth (1989Present) Key hardware technologies Key software technologies Key characteristics § ICs with ULSI technology § Larger capacity main memory, hard disks with RAID support § Optical disks as portable read-only storage media § Notebooks, powerful desktop PCs and workstations § Powerful servers, supercomputers § Internet § Cluster computing § Micro-kernel based, multithreading, distributed OS § Parallel programming libraries like MPI & PVM § JAVA § World Wide Web § Multimedia, Internet applications § More complex supercomputing applications § Portable computers § Powerful, cheaper, reliable, and easier to use desktop machines § Powerful supercomputers § High uptime due to hot-pluggable components § Totally general purpose machines § Easier to produce commercially, easier to upgrade § Rapid software development possible Ref Page 13 Chapter 1: Introduction to Computers Some rep. systems § IBM notebooks § Pentium PCs § SUN Workstations § IBM SP/2 § SGI Origin 2000 § PARAM 10000 Slide 15/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Electronic Devices Used in Computers of Different Generations Electronic Devices Used in Computers of Different Generations (a) A Vacuum Tube Ref Page 07 (b) A Transistor (c) An IC Chip Chapter 1: Introduction to Computers Slide 16/17 8
  • 26. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Key Words/Phrases § Computer § Computer generations § Computer Supported Cooperative Working (CSCW) § Data § Data processing § Data processor § First-generation computers § Fourth-generation computers § Garbage-in-garbage-out (GIGO) § Graphical User Interface (GUI) § Groupware § Information Ref Page 12 Integrated Circuit (IC) Large Scale Integration (VLSI) Medium Scale Integration (MSI) Microprocessor Personal Computer (PC) Second-generation computers Small Scale Integration (SSI) Stored program concept Third-generation computers Transistor Ultra Large Scale Integration (ULSI) § Vacuum tubes § § § § § § § § § § § Chapter 1: Introduction to Computers Slide 17/17 9
  • 27. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Ref Page Chapter 1: Introduction to Computers Slide 1/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives In this chapter you will learn about: § Computer § Data processing § Characteristic features of computers § Computers’ evolution to their present form § Computer generations § Characteristic features of each computer generation Ref Page 01 Chapter 1: Introduction to Computers Slide 2/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer § The word computer comes from the word “compute”, which means, “to calculate” § Thereby, a computer is an electronic device that can perform arithmetic operations at high speed § A computer is also called a data processor because it can store, process, and retrieve data whenever desired Ref Page 01 Chapter 1: Introduction to Computers Slide 3/17 1
  • 28. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Data Processing The activity of processing data using a computer is called data processing Data Capture Data Manipulate Data Output Results Information Data is raw material used as input and information is processed data obtained as output of data processing Ref Page 01 Chapter 1: Introduction to Computers Slide 4/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Characteristics of Computers 1) Automatic: Given a job, computer can work on it automatically without human interventions 2) Speed: Computer can perform data processing jobs very fast, usually measured in microseconds (10-6), nanoseconds (10-9), and picoseconds (10-12) 3) Accuracy: Accuracy of a computer is consistently high and the degree of its accuracy depends upon its design. Computer errors caused due to incorrect input data or unreliable programs are often referred to as GarbageIn-Garbage-Out (GIGO) (Continued on next slide) Ref Page 02 Chapter 1: Introduction to Computers Slide 5/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Characteristics of Computers (Continued from previous slide..) 4) Diligence: Computer is free from monotony, tiredness, and lack of concentration. It can continuously work for hours without creating any error and without grumbling 5) Versatility: Computer is capable of performing almost any task, if the task can be reduced to a finite series of logical steps 6) Power of Remembering: Computer can store and recall any amount of information because of its secondary storage capability. It forgets or looses certain information only when it is asked to do so (Continued on next slide) Ref Page 02 Chapter 1: Introduction to Computers Slide 6/17 2
  • 29. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Characteristics of Computers (Continued from previous slide..) 7) No I.Q.: A computer does only what it is programmed to do. It cannot take its own decision in this regard 8) No Feelings: Computers are devoid of emotions. Their judgement is based on the instructions given to them in the form of programs that are written by us (human beings) (Continued on next slide) Ref Page 03 Chapter 1: Introduction to Computers Slide 7/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Evolution of Computers § Blaise Pascal invented the first mechanical adding machine in 1642 § Baron Gottfried Wilhelm von Leibniz invented the first calculator for multiplication in 1671 § Keyboard machines originated in the United States around 1880 § Around 1880, Herman Hollerith came up with the concept of punched cards that were extensively used as input media until late 1970s Ref Page 03 Chapter 1: Introduction to Computers Slide 8/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Evolution of Computers (Continued from previous slide..) § Charles Babbage is considered to be the father of modern digital computers § He designed “Difference Engine” in 1822 § He designed a fully automatic analytical engine in 1842 for performing basic arithmetic functions § His efforts established a number of principles that are fundamental to the design of any digital computer (Continued on next slide) Ref Page 03 Chapter 1: Introduction to Computers Slide 9/17 3
  • 30. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Some Well Known Early Computers § The Mark I Computer (1937-44) § The Atanasoff-Berry Computer (1939-42) § The ENIAC (1943-46) § The EDVAC (1946-52) § The EDSAC (1947-49) § Manchester Mark I (1948) § The UNIVAC I (1951) Ref Page 03 Chapter 1: Introduction to Computers Slide 10/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations § “Generation” in computer talk is a step in technology. It provides a framework for the growth of computer industry § Originally it was used to distinguish between various hardware technologies, but now it has been extended to include both hardware and software § Till today, there are five computer generations (Continued on next slide) Ref Page 05 Chapter 1: Introduction to Computers Slide 11/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Some representative systems Generation (Period) Key hardware technologies Key software technologies Key characteristics First (1942-1955) § Vacuum tubes § Electromagnetic relay memory § Punched cards secondary storage § Machine and assembly languages § Stored program concept § Mostly scientific applications § Bulky in size § Highly unreliable § Limited commercial use and costly § Difficult commercial production § Difficult to use § § § § § ENIAC EDVAC EDSAC UNIVAC I IBM 701 Second (1955-1964) § Transistors § Magnetic cores memory § Magnetic tapes § Disks for secondary storage § Batch operating system § High-level programming languages § Scientific and commercial applications § Faster, smaller, more reliable and easier to program than previous generation systems § Commercial production was still difficult and costly § § § § Honeywell 400 IBM 7030 CDC 1604 UNIVAC LARC (Continued on next slide) Ref Page 13 Chapter 1: Introduction to Computers Slide 12/17 4
  • 31. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Generation (Period) Key hardware technologies Key software technologies Key characteristics Some rep. systems Third (1964-1975) § ICs with SSI and MSI technologies § Larger magnetic cores memory § Larger capacity disks and magnetic tapes secondary storage § Minicomputers; upward compatible family of computers § Timesharing operating system § Standardization of high-level programming languages § Unbundling of software from hardware § Faster, smaller, more reliable, easier and cheaper to produce § Commercially, easier to use, and easier to upgrade than previous generation systems § Scientific, commercial and interactive online applications § IBM 360/370 § PDP-8 § PDP-11 § CDC 6600 (Continued on next slide) Ref Page 13 Chapter 1: Introduction to Computers Slide 13/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Generation (Period) Key hardware Technologies Key software technologies Key characteristics Some rep. systems Fourth (1975-1989) § ICs with VLSI technology § Microprocessors; semiconductor memory § Larger capacity hard disks as in-built secondary storage § Magnetic tapes and floppy disks as portable storage media § Personal computers § Supercomputers based on parallel vector processing and symmetric multiprocessing technologies § Spread of high-speed computer networks § Operating systems for PCs with GUI and multiple windows on a single terminal screen § Multiprocessing OS with concurrent programming languages § UNIX operating system with C programming language § Object-oriented design and programming § PC, Network-based, and supercomputing applications § Small, affordable, reliable, and easy to use PCs § More powerful and reliable mainframe systems and supercomputers § Totally general purpose machines § Easier to produce commercially § Easier to upgrade § Rapid software development possible § IBM PC and its clones § Apple II § TRS-80 § VAX 9000 § CRAY-1 § CRAY-2 § CRAY-X/MP (Continued on next slide) Ref Page 13 Chapter 1: Introduction to Computers Slide 14/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Generations (Continued from previous slide..) Generation (Period) Fifth (1989Present) Ref Page 13 Key hardware technologies Key software technologies Key characteristics § ICs with ULSI technology § Larger capacity main memory, hard disks with RAID support § Optical disks as portable read-only storage media § Notebooks, powerful desktop PCs and workstations § Powerful servers, supercomputers § Internet § Cluster computing § Micro-kernel based, multithreading, distributed OS § Parallel programming libraries like MPI & PVM § JAVA § World Wide Web § Multimedia, Internet applications § More complex supercomputing applications § Portable computers § Powerful, cheaper, reliable, and easier to use desktop machines § Powerful supercomputers § High uptime due to hot-pluggable components § Totally general purpose machines § Easier to produce commercially, easier to upgrade § Rapid software development possible Chapter 1: Introduction to Computers Some rep. systems § IBM notebooks § Pentium PCs § SUN Workstations § IBM SP/2 § SGI Origin 2000 § PARAM 10000 Slide 15/17 5
  • 32. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Electronic Devices Used in Computers of Different Generations (a) A Vacuum Tube Ref Page 07 (b) A Transistor (c) An IC Chip Chapter 1: Introduction to Computers Slide 16/17 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Key Words/Phrases § Computer § Computer generations § Computer Supported Cooperative Working (CSCW) § Data § Data processing § Data processor § First-generation computers § Fourth-generation computers § Garbage-in-garbage-out (GIGO) § Graphical User Interface (GUI) § Groupware § Information Ref Page 12 Integrated Circuit (IC) Large Scale Integration (VLSI) Medium Scale Integration (MSI) Microprocessor Personal Computer (PC) Second-generation computers Small Scale Integration (SSI) Stored program concept Third-generation computers Transistor Ultra Large Scale Integration (ULSI) § Vacuum tubes § § § § § § § § § § § Chapter 1: Introduction to Computers Slide 17/17 6
  • 33. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Ref. Page Chapter 2: Basic Computer Organization Slide 1/16
  • 34. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives In this chapter you will learn about: § Basic operations performed by all types of computer systems § Basic organization of a computer system § Input unit and its functions § Output unit and its functions § Storage unit and its functions § Types of storage used in a computer system (Continued on next slide) Ref. Page 15 Chapter 2: Basic Computer Organization Slide 2/16
  • 35. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives (Continued from previous slide..) § Arithmetic Logic Unit (ALU) § Control Unit (CU) § Central Processing Unit (CPU) § Computer as a system Ref. Page 15 Chapter 2: Basic Computer Organization Slide 3/16
  • 36. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha The Five Basic Operations of a Computer System § Inputting. The process of entering data and instructions into the computer system § Storing. Saving data and instructions to make them readily available for initial or additional processing whenever required § Processing. Performing arithmetic operations (add, subtract, multiply, divide, etc.) or logical operations (comparisons like equal to, less than, greater than, etc.) on data to convert them into useful information (Continued on next slide) Ref. Page 15 Chapter 2: Basic Computer Organization Slide 4/16
  • 37. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha The Five Basic Operations of a Computer System § Outputting. The process of producing useful information or results for the user such as a printed report or visual display § Controlling. Directing the manner and sequence in which all of the above operations are performed Ref. Page 15 Chapter 2: Basic Computer Organization Slide 5/16
  • 38. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Basic Organization of a Computer System Storage Unit Secondary Storage Program and Data Input Unit Primary Storage Output Unit Information (Results) Control Unit Indicates flow of instructions and data Arithmetic Logic Unit Indicates the control exercised by the control unit Central Processing Unit (CPU) Ref. Page 16 Chapter 2: Basic Computer Organization Slide 6/16
  • 39. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Input Unit An input unit of a computer system performs the following functions: 1. It accepts (or reads) instructions and data from outside world 2. It converts these instructions and data in computer acceptable form 3. It supplies the converted instructions and data to the computer system for further processing Ref. Page 16 Chapter 2: Basic Computer Organization Slide 7/16
  • 40. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Output Unit An output unit of a computer system performs the following functions: 1. It accepts the results produced by the computer, which are in coded form and hence, cannot be easily understood by us 2. It converts these coded results to human acceptable (readable) form 3. It supplies the converted results to outside world Ref. Page 16 Chapter 2: Basic Computer Organization Slide 8/16
  • 41. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Storage Unit The storage unit of a computer system holds (or stores) the following : 1. Data and instructions required for processing (received from input devices) 2. Intermediate results of processing 3. Final results of processing, before they are released to an output device Ref. Page 17 Chapter 2: Basic Computer Organization Slide 9/16
  • 42. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Two Types of Storage § Primary storage § Used to hold running program instructions § Used to hold data, intermediate results, and results of ongoing processing of job(s) § Fast in operation § Small Capacity § Expensive § Volatile (looses data on power dissipation) (Continued on next slide) Ref. Page 17 Chapter 2: Basic Computer Organization Slide 10/16
  • 43. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Two Types of Storage (Continued from previous slide..) § Secondary storage § Used to hold stored program instructions § Used to hold data and information of stored jobs § Slower than primary storage § Large Capacity § Lot cheaper that primary storage § Retains data even without power Ref. Page 17 Chapter 2: Basic Computer Organization Slide 11/16
  • 44. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Arithmetic Logic Unit (ALU) Arithmetic Logic Unit of a computer system is the place where the actual executions of instructions takes place during processing operation Ref. Page 18 Chapter 2: Basic Computer Organization Slide 12/16
  • 45. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Control Unit (CU) Control Unit of a computer system manages and coordinates the operations of all other components of the computer system Ref. Page 18 Chapter 2: Basic Computer Organization Slide 13/16
  • 46. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Central Processing Unit (CPU) Arithmetic Logic Unit (ALU) + Control Unit (CU) = Central Processing Unit (CPU) § It is the brain of a computer system § It is responsible for controlling the operations of all other units of a computer system Ref. Page 18 Chapter 2: Basic Computer Organization Slide 14/16
  • 47. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha The System Concept A system has following three characteristics: 1. A system has more than one element 2. All elements of a system are logically related 3. All elements of a system are controlled in a manner to achieve the system goal A computer is a system as it comprises of integrated components (input unit, output unit, storage unit, and CPU) that work together to perform the steps called for in the executing program Ref. Page 18 Chapter 2: Basic Computer Organization Slide 15/16
  • 48. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Key Words/Phrases § § § § § § § § § § Arithmetic Logic Unit (ALU) Auxiliary storage Central Processing Unit (CPU) Computer system Control Unit (CU) Controlling Input interface Input unit Inputting Main memory Ref. Page 19 § § § § § § § § § Output interface Output unit Outputting Primate storage Processing Secondary storage Storage unit Storing System Chapter 2: Basic Computer Organization Slide 16/16
  • 49. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Ref. Page Chapter 2: Basic Computer Organization Slide 1/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives In this chapter you will learn about: § Basic operations performed by all types of computer systems § Basic organization of a computer system § Input unit and its functions § Output unit and its functions § Storage unit and its functions § Types of storage used in a computer system (Continued on next slide) Ref. Page 15 Chapter 2: Basic Computer Organization Slide 2/16 1
  • 50. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives (Continued from previous slide..) § Arithmetic Logic Unit (ALU) § Control Unit (CU) § Central Processing Unit (CPU) § Computer as a system Ref. Page 15 Chapter 2: Basic Computer Organization Slide 3/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha The Five Basic Operations of a Computer System § Inputting. The process of entering data and instructions into the computer system § Storing. Saving data and instructions to make them readily available for initial or additional processing whenever required § Processing. Performing arithmetic operations (add, subtract, multiply, divide, etc.) or logical operations (comparisons like equal to, less than, greater than, etc.) on data to convert them into useful information (Continued on next slide) Ref. Page 15 Chapter 2: Basic Computer Organization Slide 4/16 2
  • 51. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha The Five Basic Operations of a Computer System § Outputting. The process of producing useful information or results for the user such as a printed report or visual display § Controlling. Directing the manner and sequence in which all of the above operations are performed Ref. Page 15 Chapter 2: Basic Computer Organization Slide 5/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Basic Organization of a Computer System Storage Unit Secondary Storage Program and Data Input Unit Primary Storage Output Unit Information (Results) Control Unit Indicates flow of instructions and data Arithmetic Logic Unit Indicates the control exercised by the control unit Central Processing Unit (CPU) Ref. Page 16 Chapter 2: Basic Computer Organization Slide 6/16 3
  • 52. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Input Unit An input unit of a computer system performs the following functions: 1. It accepts (or reads) instructions and data from outside world 2. It converts these instructions and data in computer acceptable form 3. It supplies the converted instructions and data to the computer system for further processing Ref. Page 16 Chapter 2: Basic Computer Organization Slide 7/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Output Unit An output unit of a computer system performs the following functions: 1. It accepts the results produced by the computer, which are in coded form and hence, cannot be easily understood by us 2. It converts these coded results to human acceptable (readable) form 3. It supplies the converted results to outside world Ref. Page 16 Chapter 2: Basic Computer Organization Slide 8/16 4
  • 53. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Storage Unit The storage unit of a computer system holds (or stores) the following : 1. Data and instructions required for processing (received from input devices) 2. Intermediate results of processing 3. Final results of processing, before they are released to an output device Ref. Page 17 Chapter 2: Basic Computer Organization Slide 9/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Two Types of Storage § Primary storage § Used to hold running program instructions § Used to hold data, intermediate results, and results of ongoing processing of job(s) § Fast in operation § Small Capacity § Expensive § Volatile (looses data on power dissipation) (Continued on next slide) Ref. Page 17 Chapter 2: Basic Computer Organization Slide 10/16 5
  • 54. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Two Types of Storage (Continued from previous slide..) § Secondary storage § Used to hold stored program instructions § Used to hold data and information of stored jobs § Slower than primary storage § Large Capacity § Lot cheaper that primary storage § Retains data even without power Ref. Page 17 Chapter 2: Basic Computer Organization Slide 11/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Arithmetic Logic Unit (ALU) Arithmetic Logic Unit of a computer system is the place where the actual executions of instructions takes place during processing operation Ref. Page 18 Chapter 2: Basic Computer Organization Slide 12/16 6
  • 55. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Control Unit (CU) Control Unit of a computer system manages and coordinates the operations of all other components of the computer system Ref. Page 18 Chapter 2: Basic Computer Organization Slide 13/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Central Processing Unit (CPU) Arithmetic Logic Unit (ALU) + Control Unit (CU) = Central Processing Unit (CPU) § It is the brain of a computer system § It is responsible for controlling the operations of all other units of a computer system Ref. Page 18 Chapter 2: Basic Computer Organization Slide 14/16 7
  • 56. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha The System Concept A system has following three characteristics: 1. A system has more than one element 2. All elements of a system are logically related 3. All elements of a system are controlled in a manner to achieve the system goal A computer is a system as it comprises of integrated components (input unit, output unit, storage unit, and CPU) that work together to perform the steps called for in the executing program Ref. Page 18 Chapter 2: Basic Computer Organization Slide 15/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Key Words/Phrases § § § § § § § § § § Arithmetic Logic Unit (ALU) Auxiliary storage Central Processing Unit (CPU) Computer system Control Unit (CU) Controlling Input interface Input unit Inputting Main memory Ref. Page 19 § § § § § § § § § Output interface Output unit Outputting Primate storage Processing Secondary storage Storage unit Storing System Chapter 2: Basic Computer Organization Slide 16/16 8
  • 57. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Ref. Page Slide 1/16 Chapter 2: Basic Computer Organization Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives In this chapter you will learn about: § Basic operations performed by all types of computer systems § Basic organization of a computer system § Input unit and its functions § Output unit and its functions § Storage unit and its functions § Types of storage used in a computer system (Continued on next slide) Ref. Page 15 Chapter 2: Basic Computer Organization Slide 2/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives (Continued from previous slide..) § Arithmetic Logic Unit (ALU) § Control Unit (CU) § Central Processing Unit (CPU) § Computer as a system Ref. Page 15 Chapter 2: Basic Computer Organization Slide 3/16 1
  • 58. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha The Five Basic Operations of a Computer System § Inputting. The process of entering data and instructions into the computer system § Storing. Saving data and instructions to make them readily available for initial or additional processing whenever required § Processing. Performing arithmetic operations (add, subtract, multiply, divide, etc.) or logical operations (comparisons like equal to, less than, greater than, etc.) on data to convert them into useful information (Continued on next slide) Ref. Page 15 Chapter 2: Basic Computer Organization Slide 4/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha The Five Basic Operations of a Computer System § Outputting. The process of producing useful information or results for the user such as a printed report or visual display § Controlling. Directing the manner and sequence in which all of the above operations are performed Ref. Page 15 Chapter 2: Basic Computer Organization Slide 5/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Basic Organization of a Computer System Storage Unit Secondary Storage Program and Data Input Unit Primary Storage Output Unit Information (Results) Control Unit Indicates flow of instructions and data Arithmetic Logic Unit Indicates the control exercised by the control unit Central Processing Unit (CPU) Ref. Page 16 Chapter 2: Basic Computer Organization Slide 6/16 2
  • 59. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Input Unit An input unit of a computer system performs the following functions: 1. It accepts (or reads) instructions and data from outside world 2. It converts these instructions and data in computer acceptable form 3. It supplies the converted instructions and data to the computer system for further processing Ref. Page 16 Chapter 2: Basic Computer Organization Slide 7/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Output Unit An output unit of a computer system performs the following functions: 1. It accepts the results produced by the computer, which are in coded form and hence, cannot be easily understood by us 2. It converts these coded results to human acceptable (readable) form 3. It supplies the converted results to outside world Ref. Page 16 Chapter 2: Basic Computer Organization Slide 8/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Storage Unit The storage unit of a computer system holds (or stores) the following : 1. Data and instructions required for processing (received from input devices) 2. Intermediate results of processing 3. Final results of processing, before they are released to an output device Ref. Page 17 Chapter 2: Basic Computer Organization Slide 9/16 3
  • 60. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Two Types of Storage § Primary storage § Used to hold running program instructions § Used to hold data, intermediate results, and results of ongoing processing of job(s) § Fast in operation § Small Capacity § Expensive § Volatile (looses data on power dissipation) (Continued on next slide) Ref. Page 17 Chapter 2: Basic Computer Organization Slide 10/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Two Types of Storage (Continued from previous slide..) § Secondary storage § Used to hold stored program instructions § Used to hold data and information of stored jobs § Slower than primary storage § Large Capacity § Lot cheaper that primary storage § Retains data even without power Ref. Page 17 Chapter 2: Basic Computer Organization Slide 11/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Arithmetic Logic Unit (ALU) Arithmetic Logic Unit of a computer system is the place where the actual executions of instructions takes place during processing operation Ref. Page 18 Chapter 2: Basic Computer Organization Slide 12/16 4
  • 61. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Control Unit (CU) Control Unit of a computer system manages and coordinates the operations of all other components of the computer system Ref. Page 18 Chapter 2: Basic Computer Organization Slide 13/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Central Processing Unit (CPU) Arithmetic Logic Unit (ALU) + Control Unit (CU) = Central Processing Unit (CPU) § It is the brain of a computer system § It is responsible for controlling the operations of all other units of a computer system Ref. Page 18 Chapter 2: Basic Computer Organization Slide 14/16 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha The System Concept A system has following three characteristics: 1. A system has more than one element 2. All elements of a system are logically related 3. All elements of a system are controlled in a manner to achieve the system goal A computer is a system as it comprises of integrated components (input unit, output unit, storage unit, and CPU) that work together to perform the steps called for in the executing program Ref. Page 18 Chapter 2: Basic Computer Organization Slide 15/16 5
  • 62. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Key Words/Phrases § § § § § § § § § § Arithmetic Logic Unit (ALU) Auxiliary storage Central Processing Unit (CPU) Computer system Control Unit (CU) Controlling Input interface Input unit Inputting Main memory Ref. Page 19 § § § § § § § § § Output interface Output unit Outputting Primate storage Processing Secondary storage Storage unit Storing System Chapter 2: Basic Computer Organization Slide 16/16 6
  • 63. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Ref Page Chapter 3: Number Systems Slide 1/40
  • 64. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives In this chapter you will learn about: § Non-positional number system § Positional number system § Decimal number system § Binary number system § Octal number system § Hexadecimal number system (Continued on next slide) Ref Page 20 Chapter 3: Number Systems Slide 2/40
  • 65. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives (Continued from previous slide..) § Convert a number’s base § Another base to decimal base § Decimal base to another base § Some base to another base § Shortcut methods for converting § Binary to octal number § Octal to binary number § Binary to hexadecimal number § Hexadecimal to binary number § Fractional numbers in binary number system Ref Page 20 Chapter 3: Number Systems Slide 3/40
  • 66. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Number Systems Two types of number systems are: § Non-positional number systems § Positional number systems Ref Page 20 Chapter 3: Number Systems Slide 4/40
  • 67. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Non-positional Number Systems § Characteristics § Use symbols such as I for 1, II for 2, III for 3, IIII for 4, IIIII for 5, etc § Each symbol represents the same value regardless of its position in the number § The symbols are simply added to find out the value of a particular number § Difficulty § It is difficult to perform arithmetic with such a number system Ref Page 20 Chapter 3: Number Systems Slide 5/40
  • 68. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Positional Number Systems § Characteristics § Use only a few symbols called digits § These symbols represent different values depending on the position they occupy in the number (Continued on next slide) Ref Page 20 Chapter 3: Number Systems Slide 6/40
  • 69. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Positional Number Systems (Continued from previous slide..) § The value of each digit is determined by: 1. The digit itself 2. The position of the digit in the number 3. The base of the number system (base = total number of digits in the number system) § Ref Page 21 The maximum value of a single digit is always equal to one less than the value of the base Chapter 3: Number Systems Slide 7/40
  • 70. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Decimal Number System Characteristics § A positional number system § Has 10 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9). Hence, its base = 10 § The maximum value of a single digit is 9 (one less than the value of the base) § Each position of a digit represents a specific power of the base (10) § We use this number system in our day-to-day life (Continued on next slide) Ref Page 21 Chapter 3: Number Systems Slide 8/40
  • 71. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Decimal Number System (Continued from previous slide..) Example 258610 = (2 x 103) + (5 x 102) + (8 x 101) + (6 x 100) = 2000 + 500 + 80 + 6 Ref Page 21 Chapter 3: Number Systems Slide 9/40
  • 72. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Binary Number System Characteristics § A positional number system § Has only 2 symbols or digits (0 and 1). Hence its base = 2 § The maximum value of a single digit is 1 (one less than the value of the base) § Each position of a digit represents a specific power of the base (2) § This number system is used in computers (Continued on next slide) Ref Page 21 Chapter 3: Number Systems Slide 10/40
  • 73. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Binary Number System (Continued from previous slide..) Example 101012 = (1 x 24) + (0 x 23) + (1 x 22) + (0 x 21) x (1 x 20) = 16 + 0 + 4 + 0 + 1 = 2110 Ref Page 21 Chapter 3: Number Systems Slide 11/40
  • 74. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Representing Numbers in Different Number Systems In order to be specific about which number system we are referring to, it is a common practice to indicate the base as a subscript. Thus, we write: 101012 = 2110 Ref Page 21 Chapter 3: Number Systems Slide 12/40
  • 75. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Bit § Bit stands for binary digit § A bit in computer terminology means either a 0 or a 1 § A binary number consisting of n bits is called an n-bit number Ref Page 22 Chapter 3: Number Systems Slide 13/40
  • 76. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Octal Number System Characteristics § A positional number system § Has total 8 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7). Hence, its base = 8 § The maximum value of a single digit is 7 (one less than the value of the base § Each position of a digit represents a specific power of the base (8) (Continued on next slide) Ref Page 22 Chapter 3: Number Systems Slide 14/40
  • 77. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Octal Number System (Continued from previous slide..) § Since there are only 8 digits, 3 bits (23 = 8) are sufficient to represent any octal number in binary Example 20578 = (2 x 83) + (0 x 82) + (5 x 81) + (7 x 80) = 1024 + 0 + 40 + 7 = 107110 Ref Page 22 Chapter 3: Number Systems Slide 15/40
  • 78. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Hexadecimal Number System Characteristics § A positional number system § Has total 16 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F). Hence its base = 16 § The symbols A, B, C, D, E and F represent the decimal values 10, 11, 12, 13, 14 and 15 respectively § The maximum value of a single digit is 15 (one less than the value of the base) (Continued on next slide) Ref Page 22 Chapter 3: Number Systems Slide 16/40
  • 79. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Hexadecimal Number System (Continued from previous slide..) § Each position of a digit represents a specific power of the base (16) § Since there are only 16 digits, 4 bits (24 = 16) are sufficient to represent any hexadecimal number in binary Example 1AF16 = (1 x 162) + (A x 161) + (F x 160) = 1 x 256 + 10 x 16 + 15 x 1 = 256 + 160 + 15 = 43110 Ref Page 22 Chapter 3: Number Systems Slide 17/40
  • 80. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Number of Another Base to a Decimal Number Method Step 1: Determine the column (positional) value of each digit Step 2: Multiply the obtained column values by the digits in the corresponding columns Step 3: Calculate the sum of these products (Continued on next slide) Ref Page 23 Chapter 3: Number Systems Slide 18/40
  • 81. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Number of Another Base to a Decimal Number (Continued from previous slide..) Example 47068 = ?10 47068 = 4 x 83 + 7 x 82 + 0 x 81 + 6 x 80 = 4 x 512 + 7 x 64 + 0 + 6 x 1 = 2048 + 448 + 0 + 6 = 250210 Ref Page 23 Common values multiplied by the corresponding digits Sum of these products Chapter 3: Number Systems Slide 19/40
  • 82. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Decimal Number to a Number of Another Base Division-Remainder Method Step 1: Divide the decimal number to be converted by the value of the new base Step 2: Record the remainder from Step 1 as the rightmost digit (least significant digit) of the new base number Step 3: Divide the quotient of the previous divide by the new base (Continued on next slide) Ref Page 25 Chapter 3: Number Systems Slide 20/40
  • 83. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Decimal Number to a Number of Another Base (Continued from previous slide..) Step 4: Record the remainder from Step 3 as the next digit (to the left) of the new base number Repeat Steps 3 and 4, recording remainders from right to left, until the quotient becomes zero in Step 3 Note that the last remainder thus obtained will be the most significant digit (MSD) of the new base number (Continued on next slide) Ref Page 25 Chapter 3: Number Systems Slide 21/40
  • 84. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Decimal Number to a Number of Another Base (Continued from previous slide..) Example 95210 = ?8 Solution: 8 952 119 14 1 0 Remainder s 0 7 6 1 Hence, 95210 = 16708 Ref Page 26 Chapter 3: Number Systems Slide 22/40
  • 85. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Number of Some Base to a Number of Another Base Method Step 1: Convert the original number to a decimal number (base 10) Step 2: Convert the decimal number so obtained to the new base number (Continued on next slide) Ref Page 27 Chapter 3: Number Systems Slide 23/40
  • 86. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Number of Some Base to a Number of Another Base (Continued from previous slide..) Example 5456 = ?4 Solution: Step 1: Convert from base 6 to base 10 5456 = 5 x 62 + 4 x 61 + 5 x 60 = 5 x 36 + 4 x 6 + 5 x 1 = 180 + 24 + 5 = 20910 (Continued on next slide) Ref Page 27 Chapter 3: Number Systems Slide 24/40
  • 87. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Number of Some Base to a Number of Another Base (Continued from previous slide..) Step 2: Convert 20910 to base 4 4 209 Remainders 52 1 13 0 3 1 3 0 Hence, 20910 = 31014 So, 5456 = 20910 = 31014 Thus, 5456 = 31014 Ref Page 28 Chapter 3: Number Systems Slide 25/40
  • 88. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Binary Number to its Equivalent Octal Number Method Step 1: Divide the digits into groups of three starting from the right Step 2: Convert each group of three binary digits to one octal digit using the method of binary to decimal conversion (Continued on next slide) Ref Page 29 Chapter 3: Number Systems Slide 26/40
  • 89. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Binary Number to its Equivalent Octal Number (Continued from previous slide..) Example 11010102 = ?8 Step 1: Divide the binary digits into groups of 3 starting from right 001 101 010 Step 2: Convert each group into one octal digit 0012 = 0 x 22 + 0 x 21 + 1 x 20 = 1 1012 = 1 x 22 + 0 x 21 + 1 x 20 = 5 0102 = 0 x 22 + 1 x 21 + 0 x 20 = 2 Hence, 11010102 = 1528 Ref Page 29 Chapter 3: Number Systems Slide 27/40
  • 90. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting an Octal Number to Its Equivalent Binary Number Method Step 1: Convert each octal digit to a 3 digit binary number (the octal digits may be treated as decimal for this conversion) Step 2: Combine all the resulting binary groups (of 3 digits each) into a single binary number (Continued on next slide) Ref Page 30 Chapter 3: Number Systems Slide 28/40
  • 91. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting an Octal Number to Its Equivalent Binary Number (Continued from previous slide..) Example 5628 = ?2 Step 1: Convert each octal digit to 3 binary digits 58 = 1012, 68 = 1102, 28 = 0102 Step 2: Combine the binary groups 110 010 5628 = 101 5 6 2 Hence, 5628 = 1011100102 Ref Page 30 Chapter 3: Number Systems Slide 29/40
  • 92. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Binary Number to its Equivalent Hexadecimal Number Method Step 1: Divide the binary digits into groups of four starting from the right Step 2: Combine each group of four binary digits to one hexadecimal digit (Continued on next slide) Ref Page 30 Chapter 3: Number Systems Slide 30/40
  • 93. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Binary Number to its Equivalent Hexadecimal Number (Continued from previous slide..) Example 1111012 = ?16 Step 1: Divide the binary digits into groups of four starting from the right 0011 1101 Step 2: Convert each group into a hexadecimal digit 00112 = 0 x 23 + 0 x 22 + 1 x 21 + 1 x 20 = 310 = 316 11012 = 1 x 23 + 1 x 22 + 0 x 21 + 1 x 20 = 310 = D16 Hence, 1111012 = 3D16 Ref Page 31 Chapter 3: Number Systems Slide 31/40
  • 94. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Hexadecimal Number to its Equivalent Binary Number Method Step 1: Convert the decimal equivalent of each hexadecimal digit to a 4 digit binary number Step 2: Combine all the resulting binary groups (of 4 digits each) in a single binary number (Continued on next slide) Ref Page 31 Chapter 3: Number Systems Slide 32/40
  • 95. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Hexadecimal Number to its Equivalent Binary Number (Continued from previous slide..) Example 2AB16 = ?2 Step 1: Convert each hexadecimal digit to a 4 digit binary number 216 = 210 = 00102 A16 = 1010 = 10102 B16 = 1110 = 10112 Ref Page 32 Chapter 3: Number Systems Slide 33/40
  • 96. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Hexadecimal Number to its Equivalent Binary Number (Continued from previous slide..) Step 2: Combine the binary groups 2AB16 = 0010 1010 1011 2 A B Hence, 2AB16 = 0010101010112 Ref Page 32 Chapter 3: Number Systems Slide 34/40
  • 97. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Fractional Numbers Fractional numbers are formed same way as decimal number system In general, a number in a number system with base b would be written as: an an-1… a0 . a-1 a-2 … a-m And would be interpreted to mean: an x bn + an-1 x bn-1 + … + a0 x b0 + a-1 x b-1 + a-2 x b-2 + … + a-m x b-m The symbols an, an-1, …, a-m in above representation should be one of the b symbols allowed in the number system Ref Page 33 Chapter 3: Number Systems Slide 35/40
  • 98. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Formation of Fractional Numbers in Binary Number System (Example) Binary Point Position 4 3 2 1 0 -1 -2 -3 -4 Position Value 24 23 22 21 20 2-1 2-2 2-3 2-4 Quantity Represented 16 8 4 2 1 1/ 2 1/ 4 1/ 8 1/ 16 . (Continued on next slide) Ref Page 33 Chapter 3: Number Systems Slide 36/40
  • 99. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Formation of Fractional Numbers in Binary Number System (Example) (Continued from previous slide..) Example 110.1012 = 1 x 22 + 1 x 21 + 0 x 20 + 1 x 2-1 + 0 x 2-2 + 1 x 2-3 = 4 + 2 + 0 + 0.5 + 0 + 0.125 = 6.62510 Ref Page 33 Chapter 3: Number Systems Slide 37/40
  • 100. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Formation of Fractional Numbers in Octal Number System (Example) Octal Point Position 3 2 1 0 Position Value 83 82 81 80 8 1 Quantity Represented 512 64 . -1 -2 -3 8-1 8-2 8-3 1/ 8 1/ 64 1/ 512 (Continued on next slide) Ref Page 33 Chapter 3: Number Systems Slide 38/40
  • 101. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Formation of Fractional Numbers in Octal Number System (Example) (Continued from previous slide..) Example 127.548 = 1 x 82 + 2 x 81 + 7 x 80 + 5 x 8-1 + 4 x 8-2 = 64 + 16 + 7 + 5/8 + 4/64 = 87 + 0.625 + 0.0625 = 87.687510 Ref Page 33 Chapter 3: Number Systems Slide 39/40
  • 102. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Key Words/Phrases § § § § § § § § Base Binary number system Binary point Bit Decimal number system Division-Remainder technique Fractional numbers Hexadecimal number system Ref Page 34 Least Significant Digit (LSD) Memory dump Most Significant Digit (MSD) Non-positional number system § Number system § Octal number system § Positional number system § § § § Chapter 3: Number Systems Slide 40/40
  • 103. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Ref Page Chapter 3: Number Systems Slide 1/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives In this chapter you will learn about: § Non-positional number system § Positional number system § Decimal number system § Binary number system § Octal number system § Hexadecimal number system (Continued on next slide) Ref Page 20 Chapter 3: Number Systems Slide 2/40 1
  • 104. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives (Continued from previous slide..) § Convert a number’s base § Another base to decimal base § Decimal base to another base § Some base to another base § Shortcut methods for converting § Binary to octal number § Octal to binary number § Binary to hexadecimal number § Hexadecimal to binary number § Fractional numbers in binary number system Ref Page 20 Chapter 3: Number Systems Slide 3/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Number Systems Two types of number systems are: § Non-positional number systems § Positional number systems Ref Page 20 Chapter 3: Number Systems Slide 4/40 2
  • 105. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Non-positional Number Systems § Characteristics § Use symbols such as I for 1, II for 2, III for 3, IIII for 4, IIIII for 5, etc § Each symbol represents the same value regardless of its position in the number § The symbols are simply added to find out the value of a particular number § Difficulty § It is difficult to perform arithmetic with such a number system Ref Page 20 Chapter 3: Number Systems Slide 5/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Positional Number Systems § Characteristics § Use only a few symbols called digits § These symbols represent different values depending on the position they occupy in the number (Continued on next slide) Ref Page 20 Chapter 3: Number Systems Slide 6/40 3
  • 106. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Positional Number Systems (Continued from previous slide..) § The value of each digit is determined by: 1. The digit itself 2. The position of the digit in the number 3. The base of the number system (base = total number of digits in the number system) § The maximum value of a single digit is always equal to one less than the value of the base Ref Page 21 Chapter 3: Number Systems Slide 7/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Decimal Number System Characteristics § A positional number system § Has 10 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9). Hence, its base = 10 § The maximum value of a single digit is 9 (one less than the value of the base) § Each position of a digit represents a specific power of the base (10) § We use this number system in our day-to-day life (Continued on next slide) Ref Page 21 Chapter 3: Number Systems Slide 8/40 4
  • 107. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Decimal Number System (Continued from previous slide..) Example 258610 = (2 x 103) + (5 x 102) + (8 x 101) + (6 x 100) = 2000 + 500 + 80 + 6 Ref Page 21 Chapter 3: Number Systems Slide 9/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Binary Number System Characteristics § A positional number system § Has only 2 symbols or digits (0 and 1). Hence its base = 2 § The maximum value of a single digit is 1 (one less than the value of the base) § Each position of a digit represents a specific power of the base (2) § This number system is used in computers (Continued on next slide) Ref Page 21 Chapter 3: Number Systems Slide 10/40 5
  • 108. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Binary Number System (Continued from previous slide..) Example 101012 = (1 x 24) + (0 x 23) + (1 x 22) + (0 x 21) x (1 x 20) = 16 + 0 + 4 + 0 + 1 = 2110 Ref Page 21 Chapter 3: Number Systems Slide 11/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Representing Numbers in Different Number Systems In order to be specific about which number system we are referring to, it is a common practice to indicate the base as a subscript. Thus, we write: 101012 = 2110 Ref Page 21 Chapter 3: Number Systems Slide 12/40 6
  • 109. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Bit § Bit stands for binary digit § A bit in computer terminology means either a 0 or a 1 § A binary number consisting of n bits is called an n-bit number Ref Page 22 Chapter 3: Number Systems Slide 13/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Octal Number System Characteristics § A positional number system § Has total 8 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7). Hence, its base = 8 § The maximum value of a single digit is 7 (one less than the value of the base § Each position of a digit represents a specific power of the base (8) (Continued on next slide) Ref Page 22 Chapter 3: Number Systems Slide 14/40 7
  • 110. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Octal Number System (Continued from previous slide..) § Since there are only 8 digits, 3 bits (23 = 8) are sufficient to represent any octal number in binary Example 20578 = (2 x 83) + (0 x 82) + (5 x 81) + (7 x 80) = 1024 + 0 + 40 + 7 = 107110 Ref Page 22 Chapter 3: Number Systems Slide 15/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Hexadecimal Number System Characteristics § A positional number system § Has total 16 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F). Hence its base = 16 § The symbols A, B, C, D, E and F represent the decimal values 10, 11, 12, 13, 14 and 15 respectively § The maximum value of a single digit is 15 (one less than the value of the base) (Continued on next slide) Ref Page 22 Chapter 3: Number Systems Slide 16/40 8
  • 111. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Hexadecimal Number System (Continued from previous slide..) § Each position of a digit represents a specific power of the base (16) § Since there are only 16 digits, 4 bits (24 = 16) are sufficient to represent any hexadecimal number in binary Example 1AF16 = (1 x 162) + (A x 161) + (F x 160) = 1 x 256 + 10 x 16 + 15 x 1 = 256 + 160 + 15 = 43110 Ref Page 22 Chapter 3: Number Systems Slide 17/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Number of Another Base to a Decimal Number Method Step 1: Determine the column (positional) value of each digit Step 2: Multiply the obtained column values by the digits in the corresponding columns Step 3: Calculate the sum of these products (Continued on next slide) Ref Page 23 Chapter 3: Number Systems Slide 18/40 9
  • 112. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Number of Another Base to a Decimal Number (Continued from previous slide..) Example 47068 = ?10 47068 = 4 x 83 + 7 x 82 + 0 x 81 + 6 x 80 = 4 x 512 + 7 x 64 + 0 + 6 x 1 = 2048 + 448 + 0 + 6 = 250210 Ref Page 23 Common values multiplied by the corresponding digits Sum of these products Chapter 3: Number Systems Slide 19/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Decimal Number to a Number of Another Base Division-Remainder Method Step 1: Divide the decimal number to be converted by the value of the new base Step 2: Record the remainder from Step 1 as the rightmost digit (least significant digit) of the new base number Step 3: Divide the quotient of the previous divide by the new base (Continued on next slide) Ref Page 25 Chapter 3: Number Systems Slide 20/40 10
  • 113. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Decimal Number to a Number of Another Base (Continued from previous slide..) Step 4: Record the remainder from Step 3 as the next digit (to the left) of the new base number Repeat Steps 3 and 4, recording remainders from right to left, until the quotient becomes zero in Step 3 Note that the last remainder thus obtained will be the most significant digit (MSD) of the new base number (Continued on next slide) Ref Page 25 Chapter 3: Number Systems Slide 21/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Decimal Number to a Number of Another Base (Continued from previous slide..) Example 95210 = ?8 Solution: 8 952 119 14 1 0 Remainder s 0 7 6 1 Hence, 95210 = 16708 Ref Page 26 Chapter 3: Number Systems Slide 22/40 11
  • 114. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Number of Some Base to a Number of Another Base Method Step 1: Convert the original number to a decimal number (base 10) Step 2: Convert the decimal number so obtained to the new base number (Continued on next slide) Ref Page 27 Chapter 3: Number Systems Slide 23/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Number of Some Base to a Number of Another Base (Continued from previous slide..) Example 5456 = ?4 Solution: Step 1: Convert from base 6 to base 10 5456 = 5 x 62 + 4 x 61 + 5 x 60 = 5 x 36 + 4 x 6 + 5 x 1 = 180 + 24 + 5 = 20910 (Continued on next slide) Ref Page 27 Chapter 3: Number Systems Slide 24/40 12
  • 115. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Converting a Number of Some Base to a Number of Another Base (Continued from previous slide..) Step 2: Convert 20910 to base 4 4 209 Remainders 52 1 13 0 3 1 3 0 Hence, 20910 = 31014 So, 5456 = 20910 = 31014 Thus, 5456 = 31014 Ref Page 28 Chapter 3: Number Systems Slide 25/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Binary Number to its Equivalent Octal Number Method Step 1: Divide the digits into groups of three starting from the right Step 2: Convert each group of three binary digits to one octal digit using the method of binary to decimal conversion (Continued on next slide) Ref Page 29 Chapter 3: Number Systems Slide 26/40 13
  • 116. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Binary Number to its Equivalent Octal Number (Continued from previous slide..) Example 11010102 = ?8 Step 1: Divide the binary digits into groups of 3 starting from right 001 101 010 Step 2: Convert each group into one octal digit 0012 = 0 x 22 + 0 x 21 + 1 x 20 = 1 1012 = 1 x 22 + 0 x 21 + 1 x 20 = 5 0102 = 0 x 22 + 1 x 21 + 0 x 20 = 2 Hence, 11010102 = 1528 Ref Page 29 Chapter 3: Number Systems Slide 27/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting an Octal Number to Its Equivalent Binary Number Method Step 1: Convert each octal digit to a 3 digit binary number (the octal digits may be treated as decimal for this conversion) Step 2: Combine all the resulting binary groups (of 3 digits each) into a single binary number (Continued on next slide) Ref Page 30 Chapter 3: Number Systems Slide 28/40 14
  • 117. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting an Octal Number to Its Equivalent Binary Number (Continued from previous slide..) Example 5628 = ?2 Step 1: Convert each octal digit to 3 binary digits 58 = 1012, 68 = 1102, 28 = 0102 Step 2: Combine the binary groups 5628 = 101 110 010 5 6 2 Hence, 5628 = 1011100102 Ref Page 30 Chapter 3: Number Systems Slide 29/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Binary Number to its Equivalent Hexadecimal Number Method Step 1: Divide the binary digits into groups of four starting from the right Step 2: Combine each group of four binary digits to one hexadecimal digit (Continued on next slide) Ref Page 30 Chapter 3: Number Systems Slide 30/40 15
  • 118. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Binary Number to its Equivalent Hexadecimal Number (Continued from previous slide..) Example 1111012 = ?16 Step 1: Divide the binary digits into groups of four starting from the right 0011 1101 Step 2: Convert each group into a hexadecimal digit 00112 = 0 x 23 + 0 x 22 + 1 x 21 + 1 x 20 = 310 = 316 11012 = 1 x 23 + 1 x 22 + 0 x 21 + 1 x 20 = 310 = D16 Hence, 1111012 = 3D16 Ref Page 31 Chapter 3: Number Systems Slide 31/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Hexadecimal Number to its Equivalent Binary Number Method Step 1: Convert the decimal equivalent of each hexadecimal digit to a 4 digit binary number Step 2: Combine all the resulting binary groups (of 4 digits each) in a single binary number (Continued on next slide) Ref Page 31 Chapter 3: Number Systems Slide 32/40 16
  • 119. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Hexadecimal Number to its Equivalent Binary Number (Continued from previous slide..) Example 2AB16 = ?2 Step 1: Convert each hexadecimal digit to a 4 digit binary number 216 = 210 = 00102 A16 = 1010 = 10102 B16 = 1110 = 10112 Ref Page 32 Chapter 3: Number Systems Slide 33/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Shortcut Method for Converting a Hexadecimal Number to its Equivalent Binary Number (Continued from previous slide..) Step 2: Combine the binary groups 2AB16 = 0010 1010 1011 2 A B Hence, 2AB16 = 001010101011 2 Ref Page 32 Chapter 3: Number Systems Slide 34/40 17
  • 120. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Fractional Numbers Fractional numbers are formed same way as decimal number system In general, a number in a number system with base b would be written as: an an-1… a0 . a-1 a-2 … a-m And would be interpreted to mean: an x bn + an-1 x bn-1 + … + a0 x b0 + a-1 x b-1 + a-2 x b-2 + … + a-m x b-m The symbols an, an-1, …, a-m in above representation should be one of the b symbols allowed in the number system Ref Page 33 Chapter 3: Number Systems Slide 35/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Formation of Fractional Numbers in Binary Number System (Example) Binary Point Position 4 3 2 1 0 -1 -2 -3 -4 Position Value 24 23 22 21 20 2-1 2-2 2-3 2-4 Quantity Represented 16 8 4 2 1 1/ 2 1/ 4 1/ 8 1/ 16 . (Continued on next slide) Ref Page 33 Chapter 3: Number Systems Slide 36/40 18
  • 121. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Formation of Fractional Numbers in Binary Number System (Example) (Continued from previous slide..) Example 110.1012 = 1 x 22 + 1 x 21 + 0 x 20 + 1 x 2-1 + 0 x 2-2 + 1 x 2-3 = 4 + 2 + 0 + 0.5 + 0 + 0.125 = 6.62510 Ref Page 33 Chapter 3: Number Systems Slide 37/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Formation of Fractional Numbers in Octal Number System (Example) Octal Point Position 3 2 1 0 Position Value 83 82 81 80 8 1 Quantity Represented 512 64 . -1 -2 -3 8-1 8-2 8-3 1/ 8 1/ 64 1/ 512 (Continued on next slide) Ref Page 33 Chapter 3: Number Systems Slide 38/40 19
  • 122. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Formation of Fractional Numbers in Octal Number System (Example) (Continued from previous slide..) Example 127.548 Ref Page 33 = 1 x 82 + 2 x 81 + 7 x 80 + 5 x 8-1 + 4 x 8-2 = 64 + 16 + 7 + 5/8 + 4/64 = 87 + 0.625 + 0.0625 = 87.687510 Chapter 3: Number Systems Slide 39/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Key Words/Phrases § § § § § § § § Base Binary number system Binary point Bit Decimal number system Division-Remainder technique Fractional numbers Hexadecimal number system Ref Page 34 Least Significant Digit (LSD) Memory dump Most Significant Digit (MSD) Non-positional number system § Number system § Octal number system § Positional number system § § § § Chapter 3: Number Systems Slide 40/40 20
  • 123. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Ref Page Chapter 3: Number Systems Slide 1/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives In this chapter you will learn about: § Non-positional number system § Positional number system § Decimal number system § Binary number system § Octal number system § Hexadecimal number system (Continued on next slide) Ref Page 20 Chapter 3: Number Systems Slide 2/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives (Continued from previous slide..) § Convert a number’s base § Another base to decimal base § Decimal base to another base § Some base to another base § Shortcut methods for converting § Binary to octal number § Octal to binary number § Binary to hexadecimal number § Hexadecimal to binary number § Fractional numbers in binary number system Ref Page 20 Chapter 3: Number Systems Slide 3/40 1
  • 124. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Number Systems Two types of number systems are: § Non-positional number systems § Positional number systems Ref Page 20 Chapter 3: Number Systems Slide 4/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Non-positional Number Systems § Characteristics § Use symbols such as I for 1, II for 2, III for 3, IIII for 4, IIIII for 5, etc § Each symbol represents the same value regardless of its position in the number § The symbols are simply added to find out the value of a particular number § Difficulty § It is difficult to perform arithmetic with such a number system Ref Page 20 Chapter 3: Number Systems Slide 5/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Positional Number Systems § Characteristics § Use only a few symbols called digits § These symbols represent different values depending on the position they occupy in the number (Continued on next slide) Ref Page 20 Chapter 3: Number Systems Slide 6/40 2
  • 125. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Positional Number Systems (Continued from previous slide..) § The value of each digit is determined by: 1. The digit itself 2. The position of the digit in the number 3. The base of the number system (base = total number of digits in the number system) § The maximum value of a single digit is always equal to one less than the value of the base Ref Page 21 Chapter 3: Number Systems Slide 7/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Decimal Number System Characteristics § A positional number system § Has 10 symbols or digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9). Hence, its base = 10 § The maximum value of a single digit is 9 (one less than the value of the base) § Each position of a digit represents a specific power of the base (10) § We use this number system in our day-to-day life (Continued on next slide) Ref Page 21 Chapter 3: Number Systems Slide 8/40 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Decimal Number System (Continued from previous slide..) Example 258610 = (2 x 103) + (5 x 102) + (8 x 101) + (6 x 100) = 2000 + 500 + 80 + 6 Ref Page 21 Chapter 3: Number Systems Slide 9/40 3