SlideShare a Scribd company logo
1 of 25
What are Number Systems?
• Number systems are the technique to represent numbers in the computer system
architecture, every value that you are saving into or getting from computer memory
has a defined number system. Computer architecture supports following number
systems.
• Binary Number System (2 digits)
• Octal Number System (8 digits)
• Decimal Number System (10 digits )
• Hexa-decimal Number System (16 digits)
NUMBER SYSTEMS
Conversion Among Bases:
Hexadecimal
Decimal Octal
Binary
• The possibilities
Decimal Binary Octal
Hexa-
Decimal
0 0 0 0
1 1 1 1
2 10 2 2
3 11 3 3
4 100 4 4
5 101 5 5
6 110 6 6
7 111 7 7
8 1000 10 8
9 1001 11 9
Decimal Binary Octal
Hexa-
Decimal
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F
Binary Number System
• Digital computers 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.
• Binary to Decimal Conversion Techniques:
• Multiply each bit by 2n, where n is the “weight” of the bit.
• The weight is the position of the bit, starting from 0 on the right.
• Add the results.
• Example 1010112 = 4310
Binary Number System
• Binary to Octal Conversion Techniques:
• Group binary digits in a 3 bits, starting on right side.
• Convert to octal digits.
• Example 10110101112 = 13278
• Binary to Hexa-decimal Conversion Techniques:
• Group binary digits in a 4 bits, starting on right side.
• Convert to hexa-decimal digits.
• Example 10101110112 = 2BB16
Binary to Decimal Conversion
•
Binary to Octal Conversion
•
Binary to Hexa-decimal Conversion
•
Octal Number System
• Octal number system is the base 8 number system and uses the digits from 0 to 7.
This number system provides shortcut method to represent long binary numbers
• The number after 7 is 10. the number after 17 is 20 and so forth.
• Octal to Decimal Conversion Techniques:
• Multiply each bit by 8n, where n is the “weight” of the bit.
• The weight is the position of the bit, starting from 0 on the right.
• Add the results.
• Example 7248 = 46810
Octal Number System
• Octal to Binary Conversion Techniques:
• Convert octal digit in a 3 bits, starting on the right side.
• Example 7058 = 1110001012
• Octal to Hexa-decimal Conversion Techniques:
• Use binary as an intermediary
• Example 10768 = 23E16
Octal to Decimal Conversion
•
Octal to Binary Conversion
•
Octal to Hexa-decimal Conversion
•
Decimal Number System
• Decimal number system is the base 10 number system and uses the digits from 0 to
9. Using these digits you can express any quantity.
• It is what we most commonly use.
• Decimal to Binary Conversion Techniques:
• Divide each bit by 2, keep track of the remainder
• First remainder is bit 0 (LSB, least-significant bit)
• Example 12510 = 11111012
Decimal Number System
• Decimal to Octal Conversion Techniques:
• Divide each bit by 8, keep track of the remainder
• First remainder is bit 0 (LSB, least-significant bit)
• Example 123410 = 23228
• Decimal to Hexa-decimal Conversion Techniques:
• Divide each bit by 16, keep track of the remainder
• First remainder is bit 0 (LSB, least-significant bit)
• Example 123410 = 4D216
Decimal to Binary Conversion
• 125 = 2 125 --- 1
2 62 --- 0
2 31 --- 1
2 15 --- 1
2 7 --- 1
2 3 --- 1
1
= 11111012
Decimal to Octal Conversion
• 1234 =
8 1234 --- 2
8 154 --- 2
8 19 --- 3
8 2
= 23228
Decimal to Hexa-decimal Conversion
• 1234 =
16 1234 --- 2
16 77 --- 13
16 4
= 4 13 2
= 4D216
Hexa-decimal Number System
• Hexa-decimal number system is the base 16 and uses the digits from 0 to 9 and A to
F. This number system provides shortcut method to represent long binary numbers.
• Unlike binary and octal, hexa-decimal has six additional symbols that it uses beyond
the conventional ones found in decimal.
• Hexa-decimal to Decimal Conversion Techniques:
• Multiply each bit by 16n, where n is the “weight” of the bit.
• The weight is the position of the bit, starting from 0 on the right.
• Add the results.
• Example ABC16 = 274810
Hexa-decimal Number System
• Hexa-decimal to Binary Conversion Techniques:
• Convert hexa-decimal digit in a 4 bits, starting on the right side.
• Example 10AF16 = 00010000101011112
• Hexa-decimal to Octal Conversion Techniques:
• Use binary as an intermediary
• Example 1F0C16 = 00011111000011008
Hexa-decimal to Decimal Conversion
•
Hexa-decimal to Binary Conversion
•
Hexa-decimal to Octal Conversion
•
End

More Related Content

What's hot (20)

Number System
Number SystemNumber System
Number System
 
Number system
Number systemNumber system
Number system
 
Binary arithmetic
Binary arithmeticBinary arithmetic
Binary arithmetic
 
Basic of number system
Basic of number systemBasic of number system
Basic of number system
 
Number system
Number systemNumber system
Number system
 
Data Representation
Data RepresentationData Representation
Data Representation
 
1s and 2s complement
1s and 2s complement1s and 2s complement
1s and 2s complement
 
1's and 2's complement
1's and 2's complement 1's and 2's complement
1's and 2's complement
 
Binary system ppt
Binary system pptBinary system ppt
Binary system ppt
 
Binaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemesBinaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemes
 
Introduction to the Binary Number System
Introduction to the Binary Number SystemIntroduction to the Binary Number System
Introduction to the Binary Number System
 
Number system
Number systemNumber system
Number system
 
Binary number system
Binary number systemBinary number system
Binary number system
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
Number System
Number SystemNumber System
Number System
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
Number System
Number SystemNumber System
Number System
 
01.number systems
01.number systems01.number systems
01.number systems
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 

Similar to Number System

Digital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptxDigital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptxssuserf8309e1
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptxHamnaKhalid25
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionMubashir Ali
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02muhammadsarab
 
chapter 3 number systems register transfer
chapter 3 number systems register transferchapter 3 number systems register transfer
chapter 3 number systems register transferrashidxasan369
 
digital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxdigital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxabelllll
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversionRam Pratap Singh
 
Digital basics
Digital basicsDigital basics
Digital basicsimran khan
 
Number systems
Number systemsNumber systems
Number systemsKumar
 
Number system de (2131004) - 160920107003
Number system    de (2131004) - 160920107003Number system    de (2131004) - 160920107003
Number system de (2131004) - 160920107003Prashant odhavani
 
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.pptAshishChandrakar12
 
Number Systems
Number SystemsNumber Systems
Number Systemsstudent
 
Number Systems
Number SystemsNumber Systems
Number Systemsstudent
 

Similar to Number System (20)

Digital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptxDigital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptx
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02
 
chapter 3 number systems register transfer
chapter 3 number systems register transferchapter 3 number systems register transfer
chapter 3 number systems register transfer
 
digital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxdigital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptx
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
 
12117188.ppt
12117188.ppt12117188.ppt
12117188.ppt
 
Digital basics
Digital basicsDigital basics
Digital basics
 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
 
12117188.ppt
12117188.ppt12117188.ppt
12117188.ppt
 
number system 1.pptx
number system 1.pptxnumber system 1.pptx
number system 1.pptx
 
Number systems
Number systemsNumber systems
Number systems
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
Number system de (2131004) - 160920107003
Number system    de (2131004) - 160920107003Number system    de (2131004) - 160920107003
Number system de (2131004) - 160920107003
 
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.ppt
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Number Systems
Number SystemsNumber Systems
Number Systems
 

Recently uploaded

Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 

Recently uploaded (20)

Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 

Number System

  • 1. What are Number Systems? • Number systems are the technique to represent numbers in the computer system architecture, every value that you are saving into or getting from computer memory has a defined number system. Computer architecture supports following number systems. • Binary Number System (2 digits) • Octal Number System (8 digits) • Decimal Number System (10 digits ) • Hexa-decimal Number System (16 digits)
  • 3. Conversion Among Bases: Hexadecimal Decimal Octal Binary • The possibilities
  • 4. Decimal Binary Octal Hexa- Decimal 0 0 0 0 1 1 1 1 2 10 2 2 3 11 3 3 4 100 4 4 5 101 5 5 6 110 6 6 7 111 7 7 8 1000 10 8 9 1001 11 9 Decimal Binary Octal Hexa- Decimal 10 1010 12 A 11 1011 13 B 12 1100 14 C 13 1101 15 D 14 1110 16 E 15 1111 17 F
  • 5. Binary Number System • Digital computers 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. • Binary to Decimal Conversion Techniques: • Multiply each bit by 2n, where n is the “weight” of the bit. • The weight is the position of the bit, starting from 0 on the right. • Add the results. • Example 1010112 = 4310
  • 6. Binary Number System • Binary to Octal Conversion Techniques: • Group binary digits in a 3 bits, starting on right side. • Convert to octal digits. • Example 10110101112 = 13278 • Binary to Hexa-decimal Conversion Techniques: • Group binary digits in a 4 bits, starting on right side. • Convert to hexa-decimal digits. • Example 10101110112 = 2BB16
  • 7. Binary to Decimal Conversion •
  • 8. Binary to Octal Conversion •
  • 9. Binary to Hexa-decimal Conversion •
  • 10. Octal Number System • Octal number system is the base 8 number system and uses the digits from 0 to 7. This number system provides shortcut method to represent long binary numbers • The number after 7 is 10. the number after 17 is 20 and so forth. • Octal to Decimal Conversion Techniques: • Multiply each bit by 8n, where n is the “weight” of the bit. • The weight is the position of the bit, starting from 0 on the right. • Add the results. • Example 7248 = 46810
  • 11. Octal Number System • Octal to Binary Conversion Techniques: • Convert octal digit in a 3 bits, starting on the right side. • Example 7058 = 1110001012 • Octal to Hexa-decimal Conversion Techniques: • Use binary as an intermediary • Example 10768 = 23E16
  • 12. Octal to Decimal Conversion •
  • 13. Octal to Binary Conversion •
  • 14. Octal to Hexa-decimal Conversion •
  • 15. Decimal Number System • Decimal number system is the base 10 number system and uses the digits from 0 to 9. Using these digits you can express any quantity. • It is what we most commonly use. • Decimal to Binary Conversion Techniques: • Divide each bit by 2, keep track of the remainder • First remainder is bit 0 (LSB, least-significant bit) • Example 12510 = 11111012
  • 16. Decimal Number System • Decimal to Octal Conversion Techniques: • Divide each bit by 8, keep track of the remainder • First remainder is bit 0 (LSB, least-significant bit) • Example 123410 = 23228 • Decimal to Hexa-decimal Conversion Techniques: • Divide each bit by 16, keep track of the remainder • First remainder is bit 0 (LSB, least-significant bit) • Example 123410 = 4D216
  • 17. Decimal to Binary Conversion • 125 = 2 125 --- 1 2 62 --- 0 2 31 --- 1 2 15 --- 1 2 7 --- 1 2 3 --- 1 1 = 11111012
  • 18. Decimal to Octal Conversion • 1234 = 8 1234 --- 2 8 154 --- 2 8 19 --- 3 8 2 = 23228
  • 19. Decimal to Hexa-decimal Conversion • 1234 = 16 1234 --- 2 16 77 --- 13 16 4 = 4 13 2 = 4D216
  • 20. Hexa-decimal Number System • Hexa-decimal number system is the base 16 and uses the digits from 0 to 9 and A to F. This number system provides shortcut method to represent long binary numbers. • Unlike binary and octal, hexa-decimal has six additional symbols that it uses beyond the conventional ones found in decimal. • Hexa-decimal to Decimal Conversion Techniques: • Multiply each bit by 16n, where n is the “weight” of the bit. • The weight is the position of the bit, starting from 0 on the right. • Add the results. • Example ABC16 = 274810
  • 21. Hexa-decimal Number System • Hexa-decimal to Binary Conversion Techniques: • Convert hexa-decimal digit in a 4 bits, starting on the right side. • Example 10AF16 = 00010000101011112 • Hexa-decimal to Octal Conversion Techniques: • Use binary as an intermediary • Example 1F0C16 = 00011111000011008
  • 22. Hexa-decimal to Decimal Conversion •
  • 23. Hexa-decimal to Binary Conversion •
  • 24. Hexa-decimal to Octal Conversion •
  • 25. End