Arithmetic of Computers

Arithmetic of Computers

from Tenscope Limited

By using this site, you are accepting "session" cookies, as set out in the site's Privacy Policy
Cookies are also used to remember which page of the book you last viewed, so that when you revisit the site you automatically return to the last page you visited.

Close

Lesson 7

Decimals to Octals

. . . and back again

Page 235

Previous Lesson

Next Lesson


Your answer :
2.
You are correct.
The basic method for converting decimal to octal numbers involves repeated division by 8. The remainders at each step of the process are the digits of the octal number. The method is more easily demonstrated than described. So let’s convert 24410 to octal form:
FIRST STEP: Divide 244 by 8; obtain the first quotient and first remainder:
1st quotient →  30 , r = 4 = 1st remainder 8)244
SECOND STEP: Divide the first quotient by 8; obtain the second quotient and second remainder:
2nd quotient →  3 , r = 6 = 2nd remainder 8)30 , r = 4 = 1st remainder 8)244
THIRD STEP: Divide the second quotient by 8; obtain the third quotient and third remainder:
3rd quotient →  0 , r = 3 = 3rd remainder 8)3 , r = 6 = 2nd remainder 8)30 , r = 4 = 1st remainder 8)244
Since the third quotient is 0, the conversion is finished. The remainders, written in the reverse of the order in which they were obtained, are the digits of the octal form of 24410. Therefore,
Answer :
24410 = 4638.

Go to Page 223

24410 = 3648.

Go to Page 228


Answer to Self-Test Question 2, Lesson 7 :
Decimal to octal.

Return to Self-Test Questions


 

Previous Page

Next Page