SlideShare a Scribd company logo
Lecture 4
Number Systems
von Neumann Model
• Every computer today is based on the von
Neumann Model.
• It is based on 3 ideas:
1. Four subsystems
2. Stored Program Concept
3. Sequential Execution of Instructions
• Four subsystems:
1. Memory – the storage area of programs and data.
2. ALU – arithmetic/logic operations take place
3. Control Unit – control Memory, ALU, and I/O
4. I/O – accept input data/send output data
Input/Output Subsystem
• The definition is very broad;
it includes the secondary storage devices.
• Disk – stores data and programs for processing
Stored Program Concept
• The von Neumann model states that
the program must be stored in memory.
• The memory of modern computers
hosts both
– a program
– its corresponding data
Sequential Execution of Instructions
• A program is made of a finite number of
instructions.
• The control unit
– fetches one instruction from memory
– interpret it
– execute it
• The instructions are executed one after another.
Storing Data
• Store data in the form of an electrical signal,
specially its presence or absence.
• This implies that a computer can store data in
one of two states.
• Binary number system
Data organization
• Although data should be stored only in one form (a
binary pattern) inside a computer,
data outside a computer can take many forms.
• Data come in different forms:
– Numbers
– Text
– Images
– Audio
– Video
Requirements of
von Neumann model
1. The programs must be
stored in memory.
2. The programs must be
a sequence of instructions.
Number System
"A set of values used to represent different
quantities is known as Number System".
The digital computer represents all kinds of data
and information in binary numbers. It includes
audio, graphics, video, text and numbers. The
total number of digits used in a number system is
called its base or radix. The base is written after
the number as subscript such as 51210.
Types of Number System
• Decimal number system
• Binary number system
• Octal number system
• Hexadecimal number system
Decimal Number System
The Decimal Number System consists of ten
digits from 0 to 9. These digits can be used to
represent any numeric value. The base of
decimal number system is 10.
The decimal number system is used in general.
Binary Number System
Digital computer represents all kinds of data and
information in the binary system. Binary
Number System consists of two digits 0 and 1.
Its base is 2. Each digit or bit in binary number
system can be 0 or 1
Octal Number System
Octal Number System consists of eight digits
from 0 to 7. The base of octal system is 8.
Octal number system is used as a shorthand
representation of long binary numbers.
Hexadecimal Number System
The Hexadecimal Number System consists of 16
digits from 0 to 9 and A to F. The alphabets A
to F represent decimal numbers from 10 to 15.
The base of this number system is 16. This
number system provides shortcut method to
represent long binary numbers.
CONVERTING NUMBERS FROM ONE
BASE INTO ANOTHER
• Binary to Decimal
Multiplication by the power of 2
• Decimal to Binary
Repeated division by 2
• Decimal to Octal
Division by 8 and storing remainder
• Octal to Decimal
Multiplication by the power of 8
• Binary to Octal
first group into set of three digits from right side and then
convert into decimal
• Octal to Binary
look up each octal digit to obtain the equivalent group of three
binary digits
Octal =345
Binary =011100101= 011100101 binary
CONVERTING NUMBERS FROM ONE
BASE INTO ANOTHER
• Decimal to Hexadecimal
Division by 16 and storing remainder
• Hexadecimal to Decimal
Multiplication by the power of 16
• Binary to Hexadecimal
first group into set of four digits from right side. into
and then convert into decimal
• Hexadecimal to Binary
look up each hexadecimal digit to obtain the
equivalent group of four binary digits
Hexadecimal =A2DE
Binary =1010001011011110
CONVERTING NUMBERS FROM ONE
BASE INTO ANOTHER

More Related Content

PPTX
Datapath design
PPTX
Ml study notes id3
PPTX
hash
PPTX
Number Systems
PPTX
Binary computing
PDF
PPTX
Data representation
Datapath design
Ml study notes id3
hash
Number Systems
Binary computing
Data representation

Similar to Ic lecture4 (20)

PPTX
1.Data information
PPTX
Introduction to digital computers and Number systems.pptx
PPTX
Module-1_Part_1 (1).pptx
PPTX
Number System.pptx
PPTX
number system with diffrencent types of its
PPTX
MATATAG Grade 7 Additional Material NUmber system.pptx
PPTX
ict7week3-240817091910-4b654e21 (1).pptx
PPTX
ICT 7 WEEK 3.pptx matatag curriculum educational technology
PDF
Lecture 7
PPTX
Data storage & representation
PPT
Boolean Algebra Arithmetic SIG UNSIGN.ppt
PPT
DLD_Lecture_notes2.ppt
PPT
Chapter 1 Digital Systems and Binary Numbers.ppt
PPTX
Number System.pptx
PDF
Dld lecture notes
PPT
1. basic theories of information
PDF
number system understand
PDF
Fundamentals of Computer 20CS11T.pdf
PPTX
Wk3.pptx ICT INFORMATION COMMUNICATION TECHNOLOGY
PPTX
Class XI Chapter 2 Data Representation By Afeef.pptx
1.Data information
Introduction to digital computers and Number systems.pptx
Module-1_Part_1 (1).pptx
Number System.pptx
number system with diffrencent types of its
MATATAG Grade 7 Additional Material NUmber system.pptx
ict7week3-240817091910-4b654e21 (1).pptx
ICT 7 WEEK 3.pptx matatag curriculum educational technology
Lecture 7
Data storage & representation
Boolean Algebra Arithmetic SIG UNSIGN.ppt
DLD_Lecture_notes2.ppt
Chapter 1 Digital Systems and Binary Numbers.ppt
Number System.pptx
Dld lecture notes
1. basic theories of information
number system understand
Fundamentals of Computer 20CS11T.pdf
Wk3.pptx ICT INFORMATION COMMUNICATION TECHNOLOGY
Class XI Chapter 2 Data Representation By Afeef.pptx
Ad

More from AttaullahRahimoon (13)

PPSX
Lecture 14-15-16-presentation skills and tips
PPSX
Lecture 11a-
PPSX
PPT
Lecture 1 a
PPSX
Ict lecture11b,12,13
PPSX
Ict lecture9 10
PPSX
Ic lecture8
PPSX
Ic lecture7
PPSX
Ic lecture6 architecture and algo
PPSX
Ic lecture3
PPSX
Ic lecture2
PPSX
Ic lecture1
PPTX
Active and passive
Lecture 14-15-16-presentation skills and tips
Lecture 11a-
Lecture 1 a
Ict lecture11b,12,13
Ict lecture9 10
Ic lecture8
Ic lecture7
Ic lecture6 architecture and algo
Ic lecture3
Ic lecture2
Ic lecture1
Active and passive
Ad

Recently uploaded (20)

PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
01-Introduction-to-Information-Management.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Insiders guide to clinical Medicine.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Sports Quiz easy sports quiz sports quiz
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Lesson notes of climatology university.
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Computing-Curriculum for Schools in Ghana
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Supply Chain Operations Speaking Notes -ICLT Program
Microbial diseases, their pathogenesis and prophylaxis
01-Introduction-to-Information-Management.pdf
TR - Agricultural Crops Production NC III.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Insiders guide to clinical Medicine.pdf
human mycosis Human fungal infections are called human mycosis..pptx
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Sports Quiz easy sports quiz sports quiz
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
O7-L3 Supply Chain Operations - ICLT Program
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Lesson notes of climatology university.
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Computing-Curriculum for Schools in Ghana

Ic lecture4

  • 2. von Neumann Model • Every computer today is based on the von Neumann Model. • It is based on 3 ideas: 1. Four subsystems 2. Stored Program Concept 3. Sequential Execution of Instructions
  • 3. • Four subsystems: 1. Memory – the storage area of programs and data. 2. ALU – arithmetic/logic operations take place 3. Control Unit – control Memory, ALU, and I/O 4. I/O – accept input data/send output data
  • 4. Input/Output Subsystem • The definition is very broad; it includes the secondary storage devices. • Disk – stores data and programs for processing
  • 5. Stored Program Concept • The von Neumann model states that the program must be stored in memory. • The memory of modern computers hosts both – a program – its corresponding data
  • 6. Sequential Execution of Instructions • A program is made of a finite number of instructions. • The control unit – fetches one instruction from memory – interpret it – execute it • The instructions are executed one after another.
  • 7. Storing Data • Store data in the form of an electrical signal, specially its presence or absence. • This implies that a computer can store data in one of two states. • Binary number system
  • 8. Data organization • Although data should be stored only in one form (a binary pattern) inside a computer, data outside a computer can take many forms. • Data come in different forms: – Numbers – Text – Images – Audio – Video
  • 9. Requirements of von Neumann model 1. The programs must be stored in memory. 2. The programs must be a sequence of instructions.
  • 10. Number System "A set of values used to represent different quantities is known as Number System". The digital computer represents all kinds of data and information in binary numbers. It includes audio, graphics, video, text and numbers. The total number of digits used in a number system is called its base or radix. The base is written after the number as subscript such as 51210.
  • 11. Types of Number System • Decimal number system • Binary number system • Octal number system • Hexadecimal number system
  • 12. Decimal Number System The Decimal Number System consists of ten digits from 0 to 9. These digits can be used to represent any numeric value. The base of decimal number system is 10. The decimal number system is used in general.
  • 13. Binary Number System Digital computer represents all kinds of data and information in the binary system. Binary Number System consists of two digits 0 and 1. Its base is 2. Each digit or bit in binary number system can be 0 or 1
  • 14. Octal Number System Octal Number System consists of eight digits from 0 to 7. The base of octal system is 8. Octal number system is used as a shorthand representation of long binary numbers.
  • 15. Hexadecimal Number System The Hexadecimal Number System consists of 16 digits from 0 to 9 and A to F. The alphabets A to F represent decimal numbers from 10 to 15. The base of this number system is 16. This number system provides shortcut method to represent long binary numbers.
  • 16. CONVERTING NUMBERS FROM ONE BASE INTO ANOTHER • Binary to Decimal Multiplication by the power of 2 • Decimal to Binary Repeated division by 2
  • 17. • Decimal to Octal Division by 8 and storing remainder • Octal to Decimal Multiplication by the power of 8 • Binary to Octal first group into set of three digits from right side and then convert into decimal • Octal to Binary look up each octal digit to obtain the equivalent group of three binary digits Octal =345 Binary =011100101= 011100101 binary CONVERTING NUMBERS FROM ONE BASE INTO ANOTHER
  • 18. • Decimal to Hexadecimal Division by 16 and storing remainder • Hexadecimal to Decimal Multiplication by the power of 16 • Binary to Hexadecimal first group into set of four digits from right side. into and then convert into decimal • Hexadecimal to Binary look up each hexadecimal digit to obtain the equivalent group of four binary digits Hexadecimal =A2DE Binary =1010001011011110 CONVERTING NUMBERS FROM ONE BASE INTO ANOTHER

Editor's Notes

  • #17: A repeated division and remainder algorithm can convert decimal to binary, octal, or hexadecimal. Divide the decimal number by the desired target radix (2, 8, or 16). Append the remainder as the next most significant digit. Repeat until the decimal number has reached zero.