CHAPTER FIVE

NUMBER BASES

Just as the decimal system uses powers of 10 and the binary system uses powers of 2, the octal system uses power of 8 to determine the value of a number's position.

5.1.3.1.       How to convert decimal to Octal

This again is the same as decimal to bin.  You just divide the decimal value by octal's base number (8) repeatedly and collect the remainders from the bottom to the top, that is from the MSB to LSB.
The following strategy can be used to convert decimal to octal are:

Step 1

First divide the figure by eight

Step 2

We repeatedly divide the decimal number by 8 (the base number of the binary system) collecting the remainders. If we divide an even number by 8 there is no remainder, if we divide an odd number by 8 there is a remainder of 1.If the figure is divided by two and there is remainder, then put 1 against the figure

Step 3

Then arranged the remainders-1s and 0s from the lower part of your division to the top, that is from the MSB to LSB

Example 1- Convert decimal no. 76 to octal

To convert 76 to binary, divide the number repeated by 8.

Read figures on the above table from bottom (MSB) to top (LSB) as 10001002

The octal equivalent of 7610 is1148

Click to page 38 Page 39 Click to page 40

Copyright@2015. Digital Vision Digital Content Development Unit. www.digitalvision.net.ng