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

Similar to Ic lecture4 (20)

PPTX
Wk3.pptx ICT INFORMATION COMMUNICATION TECHNOLOGY
depedsvwis
 
PPTX
Week 4-Number Systems.pptx
HamnaKhalid25
 
PPT
12117188.ppt
Harshal Vaidya
 
DOCX
HexaDecimal-Number-Syatem-Use.-from-computer-science-subject-code-2210.docx
Orin18
 
PPT
12117188.ppt
Harshal Vaidya
 
PPTX
Acem numbersystem
Aastha Kohli
 
PPTX
lesson5-computernumbersystems-240820144803-c13fa3b9.pptx
roeltabuyo3
 
PPT
Numbersystemcont
Sajib
 
PPTX
Introduction to computers
Nishant Munjal
 
PPTX
EE5440 – Computer Architecture - Lecture 1
Dilawar Khan
 
PPTX
Decimal to Binary Conversion
Mac Mac
 
PPTX
Number System ..........................
anjuj3511
 
PPTX
ICT 7 WEEK 3.pptx matatag curriculum educational technology
NathalieCalanno1
 
PPTX
ict7week3-240817091910-4b654e21 (1).pptx
JudithAlmendral1
 
PPTX
Introduction to Software Engineering: Lecture 1 introduction i
Ahmed Saber
 
PPTX
Number_Systems_Presentation systems conversions
ahsan518444
 
PPTX
Number System
MusPaintal
 
PPTX
Grade 7 ICT : Computer Number Systems PPT-MATATAG Curriculum
Sir J.
 
PPTX
Number-Systems presentation of the mathematics
shivas379526
 
PPTX
conversion of number system ng meaurement
MaricrisMontales2
 
Wk3.pptx ICT INFORMATION COMMUNICATION TECHNOLOGY
depedsvwis
 
Week 4-Number Systems.pptx
HamnaKhalid25
 
12117188.ppt
Harshal Vaidya
 
HexaDecimal-Number-Syatem-Use.-from-computer-science-subject-code-2210.docx
Orin18
 
12117188.ppt
Harshal Vaidya
 
Acem numbersystem
Aastha Kohli
 
lesson5-computernumbersystems-240820144803-c13fa3b9.pptx
roeltabuyo3
 
Numbersystemcont
Sajib
 
Introduction to computers
Nishant Munjal
 
EE5440 – Computer Architecture - Lecture 1
Dilawar Khan
 
Decimal to Binary Conversion
Mac Mac
 
Number System ..........................
anjuj3511
 
ICT 7 WEEK 3.pptx matatag curriculum educational technology
NathalieCalanno1
 
ict7week3-240817091910-4b654e21 (1).pptx
JudithAlmendral1
 
Introduction to Software Engineering: Lecture 1 introduction i
Ahmed Saber
 
Number_Systems_Presentation systems conversions
ahsan518444
 
Number System
MusPaintal
 
Grade 7 ICT : Computer Number Systems PPT-MATATAG Curriculum
Sir J.
 
Number-Systems presentation of the mathematics
shivas379526
 
conversion of number system ng meaurement
MaricrisMontales2
 

More from AttaullahRahimoon (13)

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

Recently uploaded (20)

PPTX
THE HUMAN INTEGUMENTARY SYSTEM#MLT#BCRAPC.pptx
Subham Panja
 
PPTX
IDEAS AND EARLY STATES Social science pptx
NIRANJANASSURESH
 
PDF
NC DHHS Information about Measles and Vaccination
Mebane Rash
 
PPTX
10CLA Term 3 Week 4 Study Techniques.pptx
mansk2
 
PDF
BÀI TẬP BỔ TRỢ THEO LESSON TIẾNG ANH - I-LEARN SMART WORLD 7 - CẢ NĂM - CÓ ĐÁ...
Nguyen Thanh Tu Collection
 
PPTX
SCHOOL-BASED SEXUAL HARASSMENT PREVENTION AND RESPONSE WORKSHOP
komlalokoe
 
PPTX
How to Define Translation to Custom Module And Add a new language in Odoo 18
Celine George
 
PPTX
LEGAL ASPECTS OF PSYCHIATRUC NURSING.pptx
PoojaSen20
 
PPTX
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
PPTX
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
PPTX
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
PPTX
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PPTX
How to Consolidate Subscription Billing in Odoo 18 Sales
Celine George
 
PPTX
ENGLISH LEARNING ACTIVITY SHE W5Q1.pptxY
CHERIEANNAPRILSULIT1
 
PPTX
Various Psychological tests: challenges and contemporary trends in psychologi...
santoshmohalik1
 
PDF
IMP NAAC-Reforms-Stakeholder-Consultation-Presentation-on-Draft-Metrics-Unive...
BHARTIWADEKAR
 
PDF
Exploring-the-Investigative-World-of-Science.pdf/8th class curiosity/1st chap...
Sandeep Swamy
 
PPTX
PYLORIC STENOSIS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
GENERAL METHODS OF ISOLATION AND PURIFICATION OF MARINE__MPHARM.pptx
SHAHEEN SHABBIR
 
PPTX
Mrs Mhondiwa Introduction to Algebra class
sabinaschimanga
 
THE HUMAN INTEGUMENTARY SYSTEM#MLT#BCRAPC.pptx
Subham Panja
 
IDEAS AND EARLY STATES Social science pptx
NIRANJANASSURESH
 
NC DHHS Information about Measles and Vaccination
Mebane Rash
 
10CLA Term 3 Week 4 Study Techniques.pptx
mansk2
 
BÀI TẬP BỔ TRỢ THEO LESSON TIẾNG ANH - I-LEARN SMART WORLD 7 - CẢ NĂM - CÓ ĐÁ...
Nguyen Thanh Tu Collection
 
SCHOOL-BASED SEXUAL HARASSMENT PREVENTION AND RESPONSE WORKSHOP
komlalokoe
 
How to Define Translation to Custom Module And Add a new language in Odoo 18
Celine George
 
LEGAL ASPECTS OF PSYCHIATRUC NURSING.pptx
PoojaSen20
 
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
How to Consolidate Subscription Billing in Odoo 18 Sales
Celine George
 
ENGLISH LEARNING ACTIVITY SHE W5Q1.pptxY
CHERIEANNAPRILSULIT1
 
Various Psychological tests: challenges and contemporary trends in psychologi...
santoshmohalik1
 
IMP NAAC-Reforms-Stakeholder-Consultation-Presentation-on-Draft-Metrics-Unive...
BHARTIWADEKAR
 
Exploring-the-Investigative-World-of-Science.pdf/8th class curiosity/1st chap...
Sandeep Swamy
 
PYLORIC STENOSIS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
GENERAL METHODS OF ISOLATION AND PURIFICATION OF MARINE__MPHARM.pptx
SHAHEEN SHABBIR
 
Mrs Mhondiwa Introduction to Algebra class
sabinaschimanga
 
Ad

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.