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 228

Previous Lesson

Next Lesson


Your answer :
24410 = 3648.
You are correct.
Now try converting 39110 to octal by this method. Divide 39110 by 8; note the first remainder, which is your units digit or coefficient of (80) in your octal number; divide the first quotient by 8; note the second remainder, which is the coefficient of (81) in your octal number, and so on.
Answer :
39110 = 6078.

Go to Page 237

39110 = 7068.

Go to Page 243

I don’t understand this.

Go to Page 249


 

Previous Page

Next Page


Editor's Note
In practice, conversion from decimal to octal is hardly ever done by hand, using pencil and paper, but on a machine, either an electronic computer itself or a desk calculator. In either case it is usually more convenient to multiply rather than to divide. If, for example, we are using a desk calculator. the method of repeated division by 8, described in the text, is replaced by one of successive multiplication by 0.125. The method is best exhibited by an example. Thus, to convert 24410 to octal, we work as follows:
244 × 0.125 =  30.500 .500 × 8 = 4; 30 × 0.125 =  3.750 .750 × 8 = 6; 3  is less than 8.
so 24410 = 3648 .