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 8

Octal Arithmetic

The sum gets a bonus

Page 275

Previous Lesson


Your answer :
58 + 58 = 128.
Correct. Adding 2 to the decimal sum gives us 128 as the sum written in octal notation.
But be warned: This rule is good only for sums between 810 and 1510 inclusive, or between 108 and 178. (For sums of 7 and less you need no rule, since the octal and decimal numbers up to and including 7 are identical. Notice that the sum of any two single digit octal digits cannot be higher than 168, just as the sum of any two single decimal digits cannot be higher than 1810.)
So, armed with this rule we can handle the addition of two octal numbers of any number of digits by adding one column at a time just as we do in decimal arithmetic. When a column sum is 108 or more, we have 1 to carry to the next column, of course. For example, the addition of 368 + 738 would go as follows:
1 1  ← carriedfromprecedingcolumn 3 68  +  7 38 1 3 18
You will note that even with a “carried 1” the sum of each column of a two-number addition cannot exceed 178, so our rule for adding two octal digits is good for adding three octal digits in this special case where one of the digits is one.
Very well, try this example:
3538  +  4628
Answer :
3538 + 4628 = 1, 0158.

Go to Page 260

3538 + 4628 = 1, 0378.

Go to Page 266

3538 + 4628 = 1, 0358.

Go to Page 270

3538 + 4628 = 8358.

Go to Page 280


Answer to Self-Test Question 2, Lesson 8 :
a. 12708; b. 6618; c. 14228; d. 14428

Return to Self-Test Questions


 

Previous Page

Next Page