SlideShare a Scribd company logo
1 of 10
Press F5 for
Slideshow
Presented by: Misbah
Roll no. 3381
BS Statistics ; semester III
Presented to: Maam Momina
Subject: Computer Science
• A number with base 8 is the octal number
• A number with base 10 is the decimal number
• To convert decimal to octal,
 Divide the number by 8
 Write the remainders in the reverse order
 Get the equivalent octal number
3 2 1 0  power of 10 ↓
234510 = 20002*103
3003*102
404*101
55*100
12510=?8
125 / 8 = 15 and rem = 5 (__ 58)
15 / 8 =1 and rem = 7 (finish! 1758)
(Keep dividing by the base until quotient < base)
63810=?8
638 / 8 = 79 and rem = 6 (___ 68)
79 / 8 = 9 and rem = 7 (__ 768)
9 / 8 = 1 and rem = 1 (finish! 11768)
(Keep dividing by the base until quotient < base)
0.34210=?8
0.342 * 8 = 2.7636 ( .28)
0.736 * 8 = 5.888 ( .258)
0.888 * 8 = 7.104 ( .2578)
0.104 * 8 = 0.832 ( .25708)
0.342 ≈ 0.25708 (it is an approximation)
(Take the integer part of every multiplication to form the
Binary number. We can go on many more multiplication to improve the
accuracy of the conversion.)
3 2 1 0  power of 8 ↓
27548 = 2*83 1024
7*82 448
5*81 40
4*80 4
________
1516
10
0 -1 -2 -3 -4power of 8 ↓
0.32708 = 3*8-1 0.375
2*8-2 0.3125
7*8-3 0.013671875
0*8-4 0
_______________
0.419921875
10
Decimal to Octal and Octal to Decimal Conversion

More Related Content

What's hot

Changing decimals to fraction
Changing decimals to fractionChanging decimals to fraction
Changing decimals to fractionMartinGeraldine
 
Subtract Mixed Numbers
Subtract Mixed NumbersSubtract Mixed Numbers
Subtract Mixed NumbersBrooke Young
 
SUBTRACTION WITHOUT REGROUPING
SUBTRACTION WITHOUT REGROUPINGSUBTRACTION WITHOUT REGROUPING
SUBTRACTION WITHOUT REGROUPINGJohdener14
 
Turning point multiply by two digits
Turning point multiply by two digitsTurning point multiply by two digits
Turning point multiply by two digitsTheresa Miller
 
Decimals Ordering, Naming & Sequencing
Decimals  Ordering, Naming & SequencingDecimals  Ordering, Naming & Sequencing
Decimals Ordering, Naming & Sequencingstanhopekris
 
How to check if your multiplication is correct
How to check if your multiplication is correctHow to check if your multiplication is correct
How to check if your multiplication is correctSrikanth KS
 
Math subtracting with regrouping
Math subtracting with regroupingMath subtracting with regrouping
Math subtracting with regroupingdanzen abellon
 
Application if inverse matrix
Application if inverse matrixApplication if inverse matrix
Application if inverse matrixJoy Protim
 
Latihan nunuy
Latihan nunuyLatihan nunuy
Latihan nunuynunuy2424
 
November 20, 2013
November 20, 2013November 20, 2013
November 20, 2013khyps13
 
Turning Point Multiply By Two Digits
Turning Point Multiply By Two DigitsTurning Point Multiply By Two Digits
Turning Point Multiply By Two Digitsdianagamez
 
Precal 20S Multiplying and Dividing Rational Expressions
Precal 20S Multiplying and Dividing Rational ExpressionsPrecal 20S Multiplying and Dividing Rational Expressions
Precal 20S Multiplying and Dividing Rational ExpressionsDMCI
 
Que math sai 1 (2)
Que math sai 1 (2)Que math sai 1 (2)
Que math sai 1 (2)saisamarth2
 
Adding fractions kinaesthetically
Adding fractions kinaestheticallyAdding fractions kinaesthetically
Adding fractions kinaestheticallysunitaarora14
 
Zeros In The Quotient
Zeros In The QuotientZeros In The Quotient
Zeros In The Quotientangiebski4
 

What's hot (20)

1.9 notes
1.9 notes1.9 notes
1.9 notes
 
Changing decimals to fraction
Changing decimals to fractionChanging decimals to fraction
Changing decimals to fraction
 
Subtract Mixed Numbers
Subtract Mixed NumbersSubtract Mixed Numbers
Subtract Mixed Numbers
 
SUBTRACTION WITHOUT REGROUPING
SUBTRACTION WITHOUT REGROUPINGSUBTRACTION WITHOUT REGROUPING
SUBTRACTION WITHOUT REGROUPING
 
Turning point multiply by two digits
Turning point multiply by two digitsTurning point multiply by two digits
Turning point multiply by two digits
 
Decimals Ordering, Naming & Sequencing
Decimals  Ordering, Naming & SequencingDecimals  Ordering, Naming & Sequencing
Decimals Ordering, Naming & Sequencing
 
How to check if your multiplication is correct
How to check if your multiplication is correctHow to check if your multiplication is correct
How to check if your multiplication is correct
 
Math subtracting with regrouping
Math subtracting with regroupingMath subtracting with regrouping
Math subtracting with regrouping
 
Application if inverse matrix
Application if inverse matrixApplication if inverse matrix
Application if inverse matrix
 
Base 10 example
Base 10 exampleBase 10 example
Base 10 example
 
5.4 multdivide fractions
5.4 multdivide fractions5.4 multdivide fractions
5.4 multdivide fractions
 
Latihan nunuy
Latihan nunuyLatihan nunuy
Latihan nunuy
 
4.3.1 factoring
4.3.1 factoring4.3.1 factoring
4.3.1 factoring
 
November 20, 2013
November 20, 2013November 20, 2013
November 20, 2013
 
Turning Point Multiply By Two Digits
Turning Point Multiply By Two DigitsTurning Point Multiply By Two Digits
Turning Point Multiply By Two Digits
 
Precal 20S Multiplying and Dividing Rational Expressions
Precal 20S Multiplying and Dividing Rational ExpressionsPrecal 20S Multiplying and Dividing Rational Expressions
Precal 20S Multiplying and Dividing Rational Expressions
 
Que math sai 1 (2)
Que math sai 1 (2)Que math sai 1 (2)
Que math sai 1 (2)
 
Mathe4Matic
Mathe4MaticMathe4Matic
Mathe4Matic
 
Adding fractions kinaesthetically
Adding fractions kinaestheticallyAdding fractions kinaesthetically
Adding fractions kinaesthetically
 
Zeros In The Quotient
Zeros In The QuotientZeros In The Quotient
Zeros In The Quotient
 

Recently uploaded

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
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
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
_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
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
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
 

Recently uploaded (20)

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
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
 
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
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
_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
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
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
 

Decimal to Octal and Octal to Decimal Conversion

  • 2. Presented by: Misbah Roll no. 3381 BS Statistics ; semester III Presented to: Maam Momina Subject: Computer Science
  • 3. • A number with base 8 is the octal number • A number with base 10 is the decimal number • To convert decimal to octal,  Divide the number by 8  Write the remainders in the reverse order  Get the equivalent octal number
  • 4. 3 2 1 0  power of 10 ↓ 234510 = 20002*103 3003*102 404*101 55*100
  • 5. 12510=?8 125 / 8 = 15 and rem = 5 (__ 58) 15 / 8 =1 and rem = 7 (finish! 1758) (Keep dividing by the base until quotient < base)
  • 6. 63810=?8 638 / 8 = 79 and rem = 6 (___ 68) 79 / 8 = 9 and rem = 7 (__ 768) 9 / 8 = 1 and rem = 1 (finish! 11768) (Keep dividing by the base until quotient < base)
  • 7. 0.34210=?8 0.342 * 8 = 2.7636 ( .28) 0.736 * 8 = 5.888 ( .258) 0.888 * 8 = 7.104 ( .2578) 0.104 * 8 = 0.832 ( .25708) 0.342 ≈ 0.25708 (it is an approximation) (Take the integer part of every multiplication to form the Binary number. We can go on many more multiplication to improve the accuracy of the conversion.)
  • 8. 3 2 1 0  power of 8 ↓ 27548 = 2*83 1024 7*82 448 5*81 40 4*80 4 ________ 1516 10
  • 9. 0 -1 -2 -3 -4power of 8 ↓ 0.32708 = 3*8-1 0.375 2*8-2 0.3125 7*8-3 0.013671875 0*8-4 0 _______________ 0.419921875 10