SlideShare a Scribd company logo
1 of 23
NUMBER SYSTEM
BY:DHARMENDRA CHAUHAN
CHAPTER-1
DIGITAL ELECTRONICS
Created By: Dharmendra A. Chauhan
Number System
 Contents
: Introduction of Number System
 Different Types Of RadixBase
 Base Conversion
 Addition, Subtraction
Created By: Dharmendra A. Chauhan
Number System
 Introductio
n:• The base of all system is a number system.
• There are four main number system in world.
1.Decimal
2.Binary
3.Octal
4.Hexadecimal
• The binary system are widely used in digital system.
• Everyday used in our life
• When binary system in no of digit is more then hexadecimal & octal system in digital
system.
Created By: Dharmendra A. Chauhan
Number System
 Different Types Of
RadixBase:
o Decimal Number System:
Radix: radix means base value.
• The decimal number system has 10 digits(0,1,2,3,4,5,6,7,8,9).
• The decimal number system has a base or radix of 10.
Decimal
Point
… … … · 10 𝑛 · 102 · 101· 100 · 10−1· 10−2 · 10−3 · 10−𝑛………..
Created By: Dharmendra A. Chauhan
Number System
o Binary Number System:
• The binary system used in digital system.
• i.e. computer, programming etc.
• The binary number system has 2 digits(0,1).
• The binary number system has a base or radix of 2.
• Weight:
MSB(Most Significant Bit)
LSB(Least Significant Bit)
… … … · 2 𝑛 · 22 · 21· 20 · 2−1· 2−2 · 2−3 · 2−𝑛………..
Binary
Point
MSB
LSB
0010100
(Least Significant Bit)(Most Significant Bit)
Created By: Dharmendra A. Chauhan
Number System
Page 5
o Octal Number System:
• The octal number system has 8 digits(0,1,2,3,4,5,6,7).
• The binary number system has a base or radix of 8.
… … … · 8 𝑛
· 82
· 81
· 80
· 8−1
· 8−2
· 8−3
· 8−𝑛
………..
Octal Point
Created By: Dharmendra A. Chauhan
Number System
o Hexadecimal Number
System:
• The hexadecimal number system has 16 digits(0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F).
• The hexadecimal number system has a base or radix of 16.
Hexadecimal
Point
… … … · 16 𝑛
· 162
· 161
· 160
· 16−1
· 16−2
· 16−3
· 16−𝑛
………..
Created By: Dharmendra A. Chauhan
Number System
 Base Conversion:
 Conversion from any Radix to
Decimal:
• Binary to Decimal
• Octal to Decimal
• Hexadecimal to Decimal
Created By: Dharmendra A. Chauhan
Number System
o Binary to Decimal:
 Integer Number Example:
Example 1: 0110 2 ? 10
Solution:
0 x 23 + 1 x 22 +1 x 21 +0 x 20
0 4 2 0
=
=
= 0+4+2+0
6=
Created By: Dharmendra A. Chauhan
Number System
o Binary to Decimal:
 Fraction Number Example:
Example 2: 010.101 2 ? 10
Solution:
0 x 22 + 1 x 21 + 1 x 20 · 1 x 2−1 +0 x 2−2 +1 x 2−3
0 2 0 0.5
=
=
= 0+2+0+0.5+0+0.1.25
2.625=
0 0.125
Created By: Dharmendra A. Chauhan
Number System
o Octal to Decimal:
 Example:
Example 3: 113 8 ? 10
Solution: 1 x 82 + 1 x 81 + 3x 80
64 8 3
=
=
= 64+8+3
75=
Created By: Dharmendra A. Chauhan
Number System
o Hexadecimal to Decimal:
 Example:
Example 4: 16F2 16 ? 10
Solution: 1 x 163 + 4 x 162 + 15x161 + 2x160
4096 1536
=
=
= 4096+1536+240+2
5874=
240
F=15
Created By: Dharmendra A. Chauhan
Number System
 Conversion from Decimal, Binary, Octal to
any Radix:
• Decimal to Binary
• Decimal to Octal
• Decimal to Hexadecimal
• Binary to Octal
• Binary to Hexadecimal
• Octal to Hexadecimal
Created By: Dharmendra A. Chauhan
Number System
o Decimal to Binary
2 105 1
2 52 0
2 26 0
2 13 1
2 6 0
2 3 1
2 1 1
0
Remainder
 Integer Number Example:
Example 5: 105 10 ? 2
Solution:
LSB
MSB
So, The Answer is
105 10 1101001 2
Created By: Dharmendra A. Chauhan
Number System
o Decimal to Binary
Remainder
Example 6: 0.17 10 ? 2
Solution:
MSB
LSB
So, The Answer is
0.17 10 0.0010101 2
0.17x2=0.34
0
0.34x2=0.68
0
0.68x2=1.36
1
0.36x2=0.72
0
 Fraction Numbers
Example
Created By: Dharmendra A. Chauhan
Number System
o Decimal to Octal
8 135 7
8 16 0
8 2 2
0
Remainder
Example:
Example 7: 105 10 ? 8
Solution:
LSB
MSB
So, The Answer is
105 10 207 2
Created By: Dharmendra A. Chauhan
Number System
o Decimal to Hexadecimal
16 3509 5
16 219 11=B
16 13 13=D
0
Remainder
Example 8: 3509 10 ? 16
Solution:
LSB
MSB
So, The Answer is
105 10 DB5 2
Created By: Dharmendra A. Chauhan
Number System
o Binary to Hexadecimal
Example 9: 001100 2 ? 8
Solution:
1 4 So, The Answer is
001100 2 14 8
001 100
Created By: Dharmendra A. Chauhan
Number System
o Binary to Octal
Example 10: 000111100000 2 ? 16
Solution:
1 14=E 0 So, The Answer is
000111100000 2 1E0 8
0001 1110 0000
Created By: Dharmendra A. Chauhan
Number System
o Octal to Hexadecimal
Example 11: 000111100000 2 ? 16
Solution:
1 14=E 0 So, The Answer is
000111100000 2 1E0 8
0001 1110 0000
Created By: Dharmendra A. Chauhan
Number System
o Addition
11
1101
1100
Example 12:Perform addition of
1101 2 𝑎𝑛𝑑 1100 2
+
11001
Carry
Answer
Answer:
Example 13:Perform addition of
101.111 2 𝑎𝑛𝑑 110.011 2
Addition Rule
Carry
0+0=0 -
0+1=1 -
1+0=1 -
1+1=10 10
1111.11
101.111
110.011
1100.01
0
Answer
Answer:
+
Carry
Created By: Dharmendra A. Chauhan
Number System
o Subtraction
1101
1100
Example 12:Perform addition of
1101 2 𝑎𝑛𝑑 1100 2
-
10001
Carry
Answer
Answer:
Example 13:Perform addition of
101.111 2 𝑎𝑛𝑑 110.011 2
Subtraction
Rule
1-1=0 0
1-0=0 -
0-1=1 1
0-0=0 0
1111.11
101.111
110.011
1100.01
0
Answer
Answer:
+
Carry
Thank You for Watching My Presentation

More Related Content

What's hot (20)

Binary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithmBinary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithm
 
Number systems ppt
Number systems pptNumber systems ppt
Number systems ppt
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
 
Number system
Number system Number system
Number system
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Floating point presentation
Floating point presentationFloating point presentation
Floating point presentation
 
Number System
Number SystemNumber System
Number System
 
Number system
Number systemNumber system
Number system
 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
 
Number System
Number SystemNumber System
Number System
 
Introduction to the Binary Number System
Introduction to the Binary Number SystemIntroduction to the Binary Number System
Introduction to the Binary Number System
 
Binary arithmetic
Binary arithmeticBinary arithmetic
Binary arithmetic
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
binary number system
 binary number system binary number system
binary number system
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Number+system (1)
Number+system (1)Number+system (1)
Number+system (1)
 
01.number systems
01.number systems01.number systems
01.number systems
 
Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbers
 
Number system
Number systemNumber system
Number system
 

Similar to Digital Number Systems Explained

Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.pptAshishChandrakar12
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversionRam Pratap Singh
 
Digital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptxDigital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptxssuserf8309e1
 
Intro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxIntro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxmust322322
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsshivas379526
 
Digital basics
Digital basicsDigital basics
Digital basicsimran khan
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversionsSusantha Herath
 
Number Systems and Binary Aritmetics
Number Systems and Binary AritmeticsNumber Systems and Binary Aritmetics
Number Systems and Binary AritmeticsDelowar Hossain
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptxHamnaKhalid25
 
Number systems
Number systemsNumber systems
Number systemsKumar
 
data representation
 data representation data representation
data representationHaroon_007
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16John Todora
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02muhammadsarab
 

Similar to Digital Number Systems Explained (20)

Number System
Number SystemNumber System
Number System
 
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.ppt
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
 
Digital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptxDigital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptx
 
Intro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxIntro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptx
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematics
 
Digital basics
Digital basicsDigital basics
Digital basics
 
number system
number systemnumber system
number system
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversions
 
Number Systems and Binary Aritmetics
Number Systems and Binary AritmeticsNumber Systems and Binary Aritmetics
Number Systems and Binary Aritmetics
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
Number systems
Number systemsNumber systems
Number systems
 
data representation
 data representation data representation
data representation
 
Data representation
Data representationData representation
Data representation
 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 

Recently uploaded

Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIkoyaldeepu123
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 

Recently uploaded (20)

Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AI
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 

Digital Number Systems Explained

  • 2. Created By: Dharmendra A. Chauhan Number System  Contents : Introduction of Number System  Different Types Of RadixBase  Base Conversion  Addition, Subtraction
  • 3. Created By: Dharmendra A. Chauhan Number System  Introductio n:• The base of all system is a number system. • There are four main number system in world. 1.Decimal 2.Binary 3.Octal 4.Hexadecimal • The binary system are widely used in digital system. • Everyday used in our life • When binary system in no of digit is more then hexadecimal & octal system in digital system.
  • 4. Created By: Dharmendra A. Chauhan Number System  Different Types Of RadixBase: o Decimal Number System: Radix: radix means base value. • The decimal number system has 10 digits(0,1,2,3,4,5,6,7,8,9). • The decimal number system has a base or radix of 10. Decimal Point … … … · 10 𝑛 · 102 · 101· 100 · 10−1· 10−2 · 10−3 · 10−𝑛………..
  • 5. Created By: Dharmendra A. Chauhan Number System o Binary Number System: • The binary system used in digital system. • i.e. computer, programming etc. • The binary number system has 2 digits(0,1). • The binary number system has a base or radix of 2. • Weight: MSB(Most Significant Bit) LSB(Least Significant Bit) … … … · 2 𝑛 · 22 · 21· 20 · 2−1· 2−2 · 2−3 · 2−𝑛……….. Binary Point MSB LSB 0010100 (Least Significant Bit)(Most Significant Bit)
  • 6. Created By: Dharmendra A. Chauhan Number System Page 5 o Octal Number System: • The octal number system has 8 digits(0,1,2,3,4,5,6,7). • The binary number system has a base or radix of 8. … … … · 8 𝑛 · 82 · 81 · 80 · 8−1 · 8−2 · 8−3 · 8−𝑛 ……….. Octal Point
  • 7. Created By: Dharmendra A. Chauhan Number System o Hexadecimal Number System: • The hexadecimal number system has 16 digits(0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F). • The hexadecimal number system has a base or radix of 16. Hexadecimal Point … … … · 16 𝑛 · 162 · 161 · 160 · 16−1 · 16−2 · 16−3 · 16−𝑛 ………..
  • 8. Created By: Dharmendra A. Chauhan Number System  Base Conversion:  Conversion from any Radix to Decimal: • Binary to Decimal • Octal to Decimal • Hexadecimal to Decimal
  • 9. Created By: Dharmendra A. Chauhan Number System o Binary to Decimal:  Integer Number Example: Example 1: 0110 2 ? 10 Solution: 0 x 23 + 1 x 22 +1 x 21 +0 x 20 0 4 2 0 = = = 0+4+2+0 6=
  • 10. Created By: Dharmendra A. Chauhan Number System o Binary to Decimal:  Fraction Number Example: Example 2: 010.101 2 ? 10 Solution: 0 x 22 + 1 x 21 + 1 x 20 · 1 x 2−1 +0 x 2−2 +1 x 2−3 0 2 0 0.5 = = = 0+2+0+0.5+0+0.1.25 2.625= 0 0.125
  • 11. Created By: Dharmendra A. Chauhan Number System o Octal to Decimal:  Example: Example 3: 113 8 ? 10 Solution: 1 x 82 + 1 x 81 + 3x 80 64 8 3 = = = 64+8+3 75=
  • 12. Created By: Dharmendra A. Chauhan Number System o Hexadecimal to Decimal:  Example: Example 4: 16F2 16 ? 10 Solution: 1 x 163 + 4 x 162 + 15x161 + 2x160 4096 1536 = = = 4096+1536+240+2 5874= 240 F=15
  • 13. Created By: Dharmendra A. Chauhan Number System  Conversion from Decimal, Binary, Octal to any Radix: • Decimal to Binary • Decimal to Octal • Decimal to Hexadecimal • Binary to Octal • Binary to Hexadecimal • Octal to Hexadecimal
  • 14. Created By: Dharmendra A. Chauhan Number System o Decimal to Binary 2 105 1 2 52 0 2 26 0 2 13 1 2 6 0 2 3 1 2 1 1 0 Remainder  Integer Number Example: Example 5: 105 10 ? 2 Solution: LSB MSB So, The Answer is 105 10 1101001 2
  • 15. Created By: Dharmendra A. Chauhan Number System o Decimal to Binary Remainder Example 6: 0.17 10 ? 2 Solution: MSB LSB So, The Answer is 0.17 10 0.0010101 2 0.17x2=0.34 0 0.34x2=0.68 0 0.68x2=1.36 1 0.36x2=0.72 0  Fraction Numbers Example
  • 16. Created By: Dharmendra A. Chauhan Number System o Decimal to Octal 8 135 7 8 16 0 8 2 2 0 Remainder Example: Example 7: 105 10 ? 8 Solution: LSB MSB So, The Answer is 105 10 207 2
  • 17. Created By: Dharmendra A. Chauhan Number System o Decimal to Hexadecimal 16 3509 5 16 219 11=B 16 13 13=D 0 Remainder Example 8: 3509 10 ? 16 Solution: LSB MSB So, The Answer is 105 10 DB5 2
  • 18. Created By: Dharmendra A. Chauhan Number System o Binary to Hexadecimal Example 9: 001100 2 ? 8 Solution: 1 4 So, The Answer is 001100 2 14 8 001 100
  • 19. Created By: Dharmendra A. Chauhan Number System o Binary to Octal Example 10: 000111100000 2 ? 16 Solution: 1 14=E 0 So, The Answer is 000111100000 2 1E0 8 0001 1110 0000
  • 20. Created By: Dharmendra A. Chauhan Number System o Octal to Hexadecimal Example 11: 000111100000 2 ? 16 Solution: 1 14=E 0 So, The Answer is 000111100000 2 1E0 8 0001 1110 0000
  • 21. Created By: Dharmendra A. Chauhan Number System o Addition 11 1101 1100 Example 12:Perform addition of 1101 2 𝑎𝑛𝑑 1100 2 + 11001 Carry Answer Answer: Example 13:Perform addition of 101.111 2 𝑎𝑛𝑑 110.011 2 Addition Rule Carry 0+0=0 - 0+1=1 - 1+0=1 - 1+1=10 10 1111.11 101.111 110.011 1100.01 0 Answer Answer: + Carry
  • 22. Created By: Dharmendra A. Chauhan Number System o Subtraction 1101 1100 Example 12:Perform addition of 1101 2 𝑎𝑛𝑑 1100 2 - 10001 Carry Answer Answer: Example 13:Perform addition of 101.111 2 𝑎𝑛𝑑 110.011 2 Subtraction Rule 1-1=0 0 1-0=0 - 0-1=1 1 0-0=0 0 1111.11 101.111 110.011 1100.01 0 Answer Answer: + Carry
  • 23. Thank You for Watching My Presentation