SlideShare a Scribd company logo
Number System
Present By:
Haris Ahmed
Number System
Conversion Of Number
System
Conversion from Decimal
Number System to Other
Number Systems
Decimal to Binary Conversion
1. Divide the Decimal Number with the base of the number system
to be converted to. Here the conversion is to binary, hence the
divisor will be 2.
2. The remainder obtained from the division will become the least
significant digit of the new number.
3. The quotient obtained from the division will become the next
dividend and will be divided by base i.e. 2
4. The remainder obtained will become the second least significant
digit i.e. it will be added in the left of the previously obtained
digit
• The steps 3 and 4 are repeated until the quotient obtained
becomes 0, and the remainders obtained after each iteration
are added to the left of the existing digits.
• After all the iterations are over, the last obtained remainder
will be termed as the Most Significant digit.
Decimal to Octal Conversion
1. Divide the Decimal Number with the base of the number system
to be converted to. Here the conversion is to octal, hence the
divisor will be 8.
2. The remainder obtained from the division will become the least
significant digit of the new number.
3. The quotient obtained from the division will become the next
dividend and will be divided by base i.e. 8.
4. The remainder obtained will become the second least significant
digit i.e. it will be added in the left of the previously obtained
digit.
• The steps 3 and 4 are repeated until the quotient
obtained becomes 0, and the remainders
obtained after each iteration are added to the
left of the existing digits.
Decimal to Hexadecimal Conversion
1. Divide the Decimal Number with the base of the number system
to be converted to. Here the conversion is to Hex hence the
divisor will be 16.
2. The remainder obtained from the division will become the least
significant digit of the new number.
3. The quotient obtained from the division will become the next
dividend and will be divided by base i.e. 16.
4. The remainder obtained will become the second least significant
digit i.e. it will be added in the left of the previously obtained
digit.
• The steps 3 and 4 are repeated until the quotient obtained
becomes 0, and the remainders obtained after each iteration
are added to the left of the existing digits.
Conversion from Binary
Number System to Other
Number Systems
Binary to Decimal Conversion
1. Multiply each digit of the Binary number with the place value of
that digit, starting from right to left i.e. from LSB to MSB.
2. Add the result of this multiplication and the decimal number will
be formed.
Binary to Octal Conversion
1. Divide the binary number into groups of three digits starting
from right to left i.e. from LSB to MSB.
2. Convert these groups into equivalent octal digits.
Binary to Hexadecimal Conversion
1. Divide the binary number into groups of four digits starting from
right to left i.e. from LSB to MSB.
2. Convert these groups into equivalent hex digits.
Conversion from Octal
Number System to Other
Number Systems
Octal to Decimal Conversion
1. Multiply each digit of the Octal number with the place value of
that digit, starting from right to left i.e. from LSB to MSB.
2. Add the result of this multiplication and the decimal number will
be formed.
Octal to Binary Conversion
1. Write each digit of the octal number separately.
2. Convert each digit into an equivalent group of three binary
digits.
3. Combine these groups to form the whole binary number.
Octal to Hexadecimal Conversion
1. We need to convert the Octal number to Binary first. For that,
follow the steps given in the above conversion.
2. Now to convert the binary number to Hex number, divide the
binary digits into groups of four digits starting from right to left.
3. Add zeros prior to MSB to make it a proper group of four digits(if
required)
4. Now convert these groups into their relevant decimal values.
5. For values from 10-15, convert it into Hex symbols i.e from A-F
Conversion from
Hexadecimal Number
System to Other Number
Systems
Hexadecimal to Decimal Conversion
1. Write the decimal values of the symbols used in the Hex number
i.e. from A-F
2. Multiply each digit of the Hex number with its place value.
starting from right to left i.e. LSB to MSB.
3. Add the result of multiplications and the final sum will be the
decimal number.
Hexadecimal to Binary Conversion
1. Convert the Hex symbols into its equivalent decimal values.
2. Write each digit of the Hexadecimal number separately.
3. Convert each digit into an equivalent group of four binary digits.
4. Combine these groups to form the whole binary number.
Hexadecimal to Octal Conversion
1. We need to convert the Hexadecimal number to Binary first. For
that, follow the steps given in the above conversion.
2. Now to convert the binary number to Octal number, divide the
binary digits into groups of three digits starting from right to left
3. Add zeros prior to MSB to make it a proper group of three digits
4. Now convert these groups into their relevant decimal values.

More Related Content

What's hot

Fractions keynote for explaining
Fractions keynote for explainingFractions keynote for explaining
Fractions keynote for explaining
grade5a
 
Decimals Are Kool
Decimals Are KoolDecimals Are Kool
Decimals Are Kool
guest60be0
 
SGS Test
SGS TestSGS Test
SGS Test
guest1f213
 
Base Jumping (Part 1): Counting in baseX
Base Jumping (Part 1): Counting in baseXBase Jumping (Part 1): Counting in baseX
Base Jumping (Part 1): Counting in baseX
Daniel Fawcett
 
Improper and mixed keynote
Improper and mixed keynoteImproper and mixed keynote
Improper and mixed keynote
grade5a
 
Ppt 2
Ppt 2Ppt 2
Rounding off numbers
Rounding off numbersRounding off numbers
Rounding off numbers
DeeptiTAS
 
Fractions
FractionsFractions
Fractions
mstf mstf
 
1 ESO - UNIT 05 - DECIMAL NUMBERS
1 ESO - UNIT 05 - DECIMAL NUMBERS1 ESO - UNIT 05 - DECIMAL NUMBERS
1 ESO - UNIT 05 - DECIMAL NUMBERS
Gogely The Great
 
Chapter#6
Chapter#6Chapter#6
Holiday homework
Holiday homeworkHoliday homework
Holiday homework
Muskaan Malhotra
 
Bm module lets begin part 2
Bm module lets begin part 2Bm module lets begin part 2
Bm module lets begin part 2
Hazel Delima
 
Number system
Number systemNumber system
Improper and mixed fractions
Improper and mixed fractionsImproper and mixed fractions
Improper and mixed fractions
grade5a
 
Binaryconversion 090715011937-phpapp01
Binaryconversion 090715011937-phpapp01Binaryconversion 090715011937-phpapp01
Binaryconversion 090715011937-phpapp01
Abhay kadu
 
Integers
IntegersIntegers
Fractions
FractionsFractions
Fractions
MJLMAGA
 
Unit ii ca--arithmetic
Unit ii ca--arithmeticUnit ii ca--arithmetic
Unit ii ca--arithmetic
Praba haran
 

What's hot (18)

Fractions keynote for explaining
Fractions keynote for explainingFractions keynote for explaining
Fractions keynote for explaining
 
Decimals Are Kool
Decimals Are KoolDecimals Are Kool
Decimals Are Kool
 
SGS Test
SGS TestSGS Test
SGS Test
 
Base Jumping (Part 1): Counting in baseX
Base Jumping (Part 1): Counting in baseXBase Jumping (Part 1): Counting in baseX
Base Jumping (Part 1): Counting in baseX
 
Improper and mixed keynote
Improper and mixed keynoteImproper and mixed keynote
Improper and mixed keynote
 
Ppt 2
Ppt 2Ppt 2
Ppt 2
 
Rounding off numbers
Rounding off numbersRounding off numbers
Rounding off numbers
 
Fractions
FractionsFractions
Fractions
 
1 ESO - UNIT 05 - DECIMAL NUMBERS
1 ESO - UNIT 05 - DECIMAL NUMBERS1 ESO - UNIT 05 - DECIMAL NUMBERS
1 ESO - UNIT 05 - DECIMAL NUMBERS
 
Chapter#6
Chapter#6Chapter#6
Chapter#6
 
Holiday homework
Holiday homeworkHoliday homework
Holiday homework
 
Bm module lets begin part 2
Bm module lets begin part 2Bm module lets begin part 2
Bm module lets begin part 2
 
Number system
Number systemNumber system
Number system
 
Improper and mixed fractions
Improper and mixed fractionsImproper and mixed fractions
Improper and mixed fractions
 
Binaryconversion 090715011937-phpapp01
Binaryconversion 090715011937-phpapp01Binaryconversion 090715011937-phpapp01
Binaryconversion 090715011937-phpapp01
 
Integers
IntegersIntegers
Integers
 
Fractions
FractionsFractions
Fractions
 
Unit ii ca--arithmetic
Unit ii ca--arithmeticUnit ii ca--arithmetic
Unit ii ca--arithmetic
 

Similar to Number system

Conversion of Number Systems
Conversion of Number SystemsConversion of Number Systems
Conversion of Number Systems
Sanjeev Kumar Prajapati
 
Lecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptxLecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptx
shwan it
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
Lovely Professional University
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
AsifRahaman16
 
Ch 4
Ch 4Ch 4
Ch 4
nesaryyyy
 
02 number systems
02 number systems02 number systems
02 number systems
john01383
 
Data representation
Data representationData representation
Data representation
Manish Kumar
 
Introduction of number system
Introduction of number systemIntroduction of number system
Introduction of number system
AswiniT3
 
binary number system
 binary number system binary number system
binary number system
vishal gupta
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
HamnaKhalid25
 
5a data representation
5a   data representation5a   data representation
5a data representation
arslanzafar13162
 
U1 - Code Conversion.pptx
U1 - Code Conversion.pptxU1 - Code Conversion.pptx
U1 - Code Conversion.pptx
RamKumar612299
 
Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]
Jumaed
 
Number Systems - AK.pptx
Number Systems - AK.pptxNumber Systems - AK.pptx
Number Systems - AK.pptx
AmitSharma798754
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
Nisarg Amin
 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
zorogoh2
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
Anil Kumar Prajapati
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdf
AsthaChaurasia4
 
Number system
Number systemNumber system
Number system
Darpan Chelani
 
209313998_Math_Let_Reviewer.ppt.pdf
209313998_Math_Let_Reviewer.ppt.pdf209313998_Math_Let_Reviewer.ppt.pdf
209313998_Math_Let_Reviewer.ppt.pdf
ssuser2d1201
 

Similar to Number system (20)

Conversion of Number Systems
Conversion of Number SystemsConversion of Number Systems
Conversion of Number Systems
 
Lecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptxLecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptx
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Ch 4
Ch 4Ch 4
Ch 4
 
02 number systems
02 number systems02 number systems
02 number systems
 
Data representation
Data representationData representation
Data representation
 
Introduction of number system
Introduction of number systemIntroduction of number system
Introduction of number system
 
binary number system
 binary number system binary number system
binary number system
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
5a data representation
5a   data representation5a   data representation
5a data representation
 
U1 - Code Conversion.pptx
U1 - Code Conversion.pptxU1 - Code Conversion.pptx
U1 - Code Conversion.pptx
 
Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]
 
Number Systems - AK.pptx
Number Systems - AK.pptxNumber Systems - AK.pptx
Number Systems - AK.pptx
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdf
 
Number system
Number systemNumber system
Number system
 
209313998_Math_Let_Reviewer.ppt.pdf
209313998_Math_Let_Reviewer.ppt.pdf209313998_Math_Let_Reviewer.ppt.pdf
209313998_Math_Let_Reviewer.ppt.pdf
 

Recently uploaded

My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
rwarrenll
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
g4dpvqap0
 
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
74nqk8xf
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
Social Samosa
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
AndrzejJarynowski
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
74nqk8xf
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Fernanda Palhano
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
Timothy Spann
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
AlessioFois2
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
g4dpvqap0
 

Recently uploaded (20)

My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
 
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
 

Number system

  • 4. Conversion from Decimal Number System to Other Number Systems
  • 5. Decimal to Binary Conversion 1. Divide the Decimal Number with the base of the number system to be converted to. Here the conversion is to binary, hence the divisor will be 2. 2. The remainder obtained from the division will become the least significant digit of the new number. 3. The quotient obtained from the division will become the next dividend and will be divided by base i.e. 2 4. The remainder obtained will become the second least significant digit i.e. it will be added in the left of the previously obtained digit
  • 6. • The steps 3 and 4 are repeated until the quotient obtained becomes 0, and the remainders obtained after each iteration are added to the left of the existing digits. • After all the iterations are over, the last obtained remainder will be termed as the Most Significant digit.
  • 7. Decimal to Octal Conversion 1. Divide the Decimal Number with the base of the number system to be converted to. Here the conversion is to octal, hence the divisor will be 8. 2. The remainder obtained from the division will become the least significant digit of the new number. 3. The quotient obtained from the division will become the next dividend and will be divided by base i.e. 8. 4. The remainder obtained will become the second least significant digit i.e. it will be added in the left of the previously obtained digit.
  • 8. • The steps 3 and 4 are repeated until the quotient obtained becomes 0, and the remainders obtained after each iteration are added to the left of the existing digits.
  • 9. Decimal to Hexadecimal Conversion 1. Divide the Decimal Number with the base of the number system to be converted to. Here the conversion is to Hex hence the divisor will be 16. 2. The remainder obtained from the division will become the least significant digit of the new number. 3. The quotient obtained from the division will become the next dividend and will be divided by base i.e. 16. 4. The remainder obtained will become the second least significant digit i.e. it will be added in the left of the previously obtained digit.
  • 10. • The steps 3 and 4 are repeated until the quotient obtained becomes 0, and the remainders obtained after each iteration are added to the left of the existing digits.
  • 11. Conversion from Binary Number System to Other Number Systems
  • 12. Binary to Decimal Conversion 1. Multiply each digit of the Binary number with the place value of that digit, starting from right to left i.e. from LSB to MSB. 2. Add the result of this multiplication and the decimal number will be formed.
  • 13. Binary to Octal Conversion 1. Divide the binary number into groups of three digits starting from right to left i.e. from LSB to MSB. 2. Convert these groups into equivalent octal digits.
  • 14. Binary to Hexadecimal Conversion 1. Divide the binary number into groups of four digits starting from right to left i.e. from LSB to MSB. 2. Convert these groups into equivalent hex digits.
  • 15. Conversion from Octal Number System to Other Number Systems
  • 16. Octal to Decimal Conversion 1. Multiply each digit of the Octal number with the place value of that digit, starting from right to left i.e. from LSB to MSB. 2. Add the result of this multiplication and the decimal number will be formed.
  • 17. Octal to Binary Conversion 1. Write each digit of the octal number separately. 2. Convert each digit into an equivalent group of three binary digits. 3. Combine these groups to form the whole binary number.
  • 18. Octal to Hexadecimal Conversion 1. We need to convert the Octal number to Binary first. For that, follow the steps given in the above conversion. 2. Now to convert the binary number to Hex number, divide the binary digits into groups of four digits starting from right to left. 3. Add zeros prior to MSB to make it a proper group of four digits(if required) 4. Now convert these groups into their relevant decimal values. 5. For values from 10-15, convert it into Hex symbols i.e from A-F
  • 19.
  • 20. Conversion from Hexadecimal Number System to Other Number Systems
  • 21. Hexadecimal to Decimal Conversion 1. Write the decimal values of the symbols used in the Hex number i.e. from A-F 2. Multiply each digit of the Hex number with its place value. starting from right to left i.e. LSB to MSB. 3. Add the result of multiplications and the final sum will be the decimal number.
  • 22. Hexadecimal to Binary Conversion 1. Convert the Hex symbols into its equivalent decimal values. 2. Write each digit of the Hexadecimal number separately. 3. Convert each digit into an equivalent group of four binary digits. 4. Combine these groups to form the whole binary number.
  • 23. Hexadecimal to Octal Conversion 1. We need to convert the Hexadecimal number to Binary first. For that, follow the steps given in the above conversion. 2. Now to convert the binary number to Octal number, divide the binary digits into groups of three digits starting from right to left 3. Add zeros prior to MSB to make it a proper group of three digits 4. Now convert these groups into their relevant decimal values.