### 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.

### Lesson 7

#### Page 235

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,