3. Write the steps to change the decimal number system to octal number system with an example.
...
Answers
Answer:
Follow the steps given below to learn the decimal to octal conversion:
Write the given decimal number
If the given decimal number is less than 8 the octal number is the same.
If the decimal number is greater than 7 then divide the number by 8.
Note the remainder, we get after division
Repeat step 3 and 4 with the quotient till it is less than 8
Now, write the remainders in reverse order (bottom to top)
The resultant is the equivalent octal number to the given decimal number.
Example 1: Convert (127)10 to Octal.
Solution: Divide 127 by 8
127 ÷ 8= 15(Quotient) and (7)Remainder
Divide 15 by 8 again.
15 ÷ 8 = 1(Quotient) and (7) Remainder
Divide 1 by 8, we get;
1 ÷ 8 = 0(Quotient) and (1) Remainder
Since the quotient is zero now, no more division can be done. So by taking the remainders in reverse order, we get the equivalent octal number.
Hence, (127)10 = (177)8
Step-by-step explanation:
Hope it helps you