SlideShare a Scribd company logo
1 of 42
Conv ers i on
of
Number s
Coverage
โ€ข Conversion between Binary & Decimal.
โ€ข Conversion between Decimal & Hexadecimal.
โ€ข Conversion between Hexadecimal & Binary.
โ€ข Conversion between Decimal & Octal.
โ€ข Conversion between Octal & Hexadecimal.
โ€ข Conversion between Binary & Octal.
The possibilities:
Hexadecimal
Decimal Octal
Binary
Conversion Among Bases
System Base Symbols
Used by Used in
humans computers
? ?
Decimal 10 0, 1, โ€ฆ 9 Yes No
Binary 2 0, 1 No Yes
Octal 8 0, 1, โ€ฆ 7 No No
Hexade
cimal
16 0, 1, โ€ฆ
9,
No No
A, B, โ€ฆ
F
Common Number Systems
Binary to
Decimal
Hexadecimal
Decimal Octal
Binary
โ€ข Technique
โ€“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.
Binary to Decimal
(101011)2 1
2
0
=> 1 x 20 =
1 x 21 =
0 x 22 = 0
1 x 23 = 8
0 x 24 =
1 x 25 = 32
(43)10
Bit โ€œ0โ€
EXAMPLE
Decimal to Binary
Hexadecimal
Decimal Octal
Binary
Example
Example
Hexadecimal
Decimal Octal
Binary
Hexadecimalto Binary
Technique
Convert each hexadecimal
digit toa 4-bit equivalent
binary representation
Hexadecimalto Binary
Example
1 0 A F
0001 0000 1010 1111
10AF16 = 00010000101011112
10AF16 = ?2
Hexadecimal
Decimal Octal
Binary
Binaryto Hexadecimal
Technique
โ€บ Group bits in fours, starting on
right
โ€บ Convert to hexadecimal digits
10101110112 = ?16
10 1011 1011
2 B B
10101110112 = 2BB16
Hexadecimal
Decimal Octal
Binary
Octal to Decimal
Octal to Decimal
Technique
โ€ข 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
7248 =>4 x
2 x
7 x
= 4
= 16
= 448
80
81
82
(468)10
Example
Decimalto Octal
Hexadecimal
Decimal Octal
Binary
Technique
Divideby 8
Keeptrackof the remainder
Decimal to Octal
Example
Hexadecimal
Decimal Octal
Binary
Hexadecimal
Decimal Octal
Binary
Binary to Octal
Binary to Octal
โ€ข Technique
โ€“Group bits in threes, starting on right
โ€“Convert to octal digits
10110101112 = ?8
1 011 010 111
1 3 2 7
10110101112 = 13278
Example
Hexadecimal
Decimal Octal
Binary
Technique
Multiply each bit by 16n, where n is the
โ€œweightโ€ of the bit
The weight is the position of the bit, starting
from 0on the right
Add the results
ABC16 => C x 160 = 12 x 1 = 12
B x 161 = 11 x 16 = 176
A x 162 = 10 x 256 = 2560
274810
Example
Hexadecimal
Decimal Octal
Binary
Technique
Divide by 16
Keep track of the remainder
Hexadecimal
Decimal Octal
Binary
Technique
Usebinary as an intermediary
10768 = ?16
1 0 7 6
001 000 111 110
2 3 E
10768 = 23E16
Hexadecimal
Decimal Octal
Binary
Technique
Use binary as an intermediary
1F0C16 = ?8
1 F 0 C
0001 1111 0000 1100
1 7 4 1 4
1F0C16 = 174148
Any
questions?

More Related Content

Similar to conversion of number system.pptx

chapter 3 number systems register transfer
chapter 3 number systems register transferchapter 3 number systems register transfer
chapter 3 number systems register transfer
rashidxasan369
ย 
Computer number systems
Computer number systemsComputer number systems
Computer number systems
Revi Shahini
ย 
Number systems ii
Number systems   iiNumber systems   ii
Number systems ii
nirupam16
ย 
01.Number Systems
01.Number Systems01.Number Systems
01.Number Systems
Amit Chandra
ย 

Similar to conversion of number system.pptx (20)

Number Systems
Number SystemsNumber Systems
Number Systems
ย 
Number Systems
Number SystemsNumber Systems
Number Systems
ย 
chapter 3 number systems register transfer
chapter 3 number systems register transferchapter 3 number systems register transfer
chapter 3 number systems register transfer
ย 
5871320.ppt
5871320.ppt5871320.ppt
5871320.ppt
ย 
Number Systems.pptx
Number Systems.pptxNumber Systems.pptx
Number Systems.pptx
ย 
number system 1.pptx
number system 1.pptxnumber system 1.pptx
number system 1.pptx
ย 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
ย 
Computer number systems
Computer number systemsComputer number systems
Computer number systems
ย 
Number systems ii
Number systems   iiNumber systems   ii
Number systems ii
ย 
Number systems
Number systemsNumber systems
Number systems
ย 
digital logic circuits, digital component floting and fixed point
digital logic circuits, digital component floting and fixed pointdigital logic circuits, digital component floting and fixed point
digital logic circuits, digital component floting and fixed point
ย 
Mca i-u-1.1 digital logic circuits, digital component floting and fixed point
Mca i-u-1.1 digital logic circuits, digital component floting and fixed pointMca i-u-1.1 digital logic circuits, digital component floting and fixed point
Mca i-u-1.1 digital logic circuits, digital component floting and fixed point
ย 
B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...
B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...
B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...
ย 
Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...
Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...
Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...
ย 
Cse115 lecture01numbersystems
Cse115 lecture01numbersystemsCse115 lecture01numbersystems
Cse115 lecture01numbersystems
ย 
Binary number systems
Binary number systemsBinary number systems
Binary number systems
ย 
01.Number Systems
01.Number Systems01.Number Systems
01.Number Systems
ย 
01.number systems
01.number systems01.number systems
01.number systems
ย 
Number Systems - AK.pptx
Number Systems - AK.pptxNumber Systems - AK.pptx
Number Systems - AK.pptx
ย 
Computing 6
Computing 6Computing 6
Computing 6
ย 

More from ChristineTorrepenida1

Grammar Review 2nd 6 weeks Subject Verb Agreement and Pronoun Use.pptx
Grammar Review 2nd 6 weeks Subject Verb Agreement and Pronoun Use.pptxGrammar Review 2nd 6 weeks Subject Verb Agreement and Pronoun Use.pptx
Grammar Review 2nd 6 weeks Subject Verb Agreement and Pronoun Use.pptx
ChristineTorrepenida1
ย 

More from ChristineTorrepenida1 (20)

Kirchoffโ€™s Law in the Frequency Domain.pptx
Kirchoffโ€™s Law in the Frequency Domain.pptxKirchoffโ€™s Law in the Frequency Domain.pptx
Kirchoffโ€™s Law in the Frequency Domain.pptx
ย 
RLC Circuits elements Phasor Representation
RLC Circuits elements Phasor RepresentationRLC Circuits elements Phasor Representation
RLC Circuits elements Phasor Representation
ย 
sinusoids and phasors in AC circuits.pptx
sinusoids and phasors in AC circuits.pptxsinusoids and phasors in AC circuits.pptx
sinusoids and phasors in AC circuits.pptx
ย 
digital-communication-report.pptx
digital-communication-report.pptxdigital-communication-report.pptx
digital-communication-report.pptx
ย 
color coding.pptx
color coding.pptxcolor coding.pptx
color coding.pptx
ย 
Resistor Color Code power point.ppt
Resistor Color Code power point.pptResistor Color Code power point.ppt
Resistor Color Code power point.ppt
ย 
week 2-REGISTER.pptx
week 2-REGISTER.pptxweek 2-REGISTER.pptx
week 2-REGISTER.pptx
ย 
Week-3.pptx
Week-3.pptxWeek-3.pptx
Week-3.pptx
ย 
Lesson_8_2--Asynchronous_Counters1.ppt
Lesson_8_2--Asynchronous_Counters1.pptLesson_8_2--Asynchronous_Counters1.ppt
Lesson_8_2--Asynchronous_Counters1.ppt
ย 
Battle of the brain cells Quiz Bee.pptx
Battle of the brain cells Quiz Bee.pptxBattle of the brain cells Quiz Bee.pptx
Battle of the brain cells Quiz Bee.pptx
ย 
WEEK 6-8 LESSON.pptx
WEEK 6-8 LESSON.pptxWEEK 6-8 LESSON.pptx
WEEK 6-8 LESSON.pptx
ย 
week 6 -Multiplexer & Demultiplexer.ppt
week 6 -Multiplexer & Demultiplexer.pptweek 6 -Multiplexer & Demultiplexer.ppt
week 6 -Multiplexer & Demultiplexer.ppt
ย 
tCh10.ppt
tCh10.ppttCh10.ppt
tCh10.ppt
ย 
False Position Method.pptx
False Position Method.pptxFalse Position Method.pptx
False Position Method.pptx
ย 
DiffEqPresent.ppt
DiffEqPresent.pptDiffEqPresent.ppt
DiffEqPresent.ppt
ย 
Lesson Week 1-2.pptx
Lesson Week 1-2.pptxLesson Week 1-2.pptx
Lesson Week 1-2.pptx
ย 
digital-communications.ppt
digital-communications.pptdigital-communications.ppt
digital-communications.ppt
ย 
Week 1-2 -INTRODUCTION TO QUANTITATIVE RESEARCH.pptx
Week 1-2 -INTRODUCTION TO QUANTITATIVE RESEARCH.pptxWeek 1-2 -INTRODUCTION TO QUANTITATIVE RESEARCH.pptx
Week 1-2 -INTRODUCTION TO QUANTITATIVE RESEARCH.pptx
ย 
Grammar Review 2nd 6 weeks Subject Verb Agreement and Pronoun Use.pptx
Grammar Review 2nd 6 weeks Subject Verb Agreement and Pronoun Use.pptxGrammar Review 2nd 6 weeks Subject Verb Agreement and Pronoun Use.pptx
Grammar Review 2nd 6 weeks Subject Verb Agreement and Pronoun Use.pptx
ย 
Introduction to communication system.pdf
Introduction to communication system.pdfIntroduction to communication system.pdf
Introduction to communication system.pdf
ย 

Recently uploaded

Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
sivaprakash250
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
Tonystark477637
ย 

Recently uploaded (20)

data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
ย 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
ย 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
ย 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
ย 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
ย 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
ย 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
ย 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
ย 
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
ย 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
ย 
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
ย 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
ย 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
ย 

conversion of number system.pptx