Computer Science, asked by boipaiyadu, 7 months ago

By which number should we divide to convert a specific number from decimal to octal number system?

8
16
2
10​

Answers

Answered by shivamalar
3

I think so the answer is 2

Answered by maniyachawla12
0

Answer:

This may help you

Explanation:

How to Calculate Decimal to Octal

Decimal to octal conversion can be achieved by applying the repeated division and remainder algorithm. Simply put, the decimal number is repeatedly divided by the radix 8. In between these divisions, the remainders give the octal equivalent in reverse order.

*Here is how to convert decimal to octal step by step:

Step 1: If the given decimal number is less than 8, the octal equivalent is the same. If the given number is greater than 7, divide the number by 8.

Step 2: Write down the remainder.

Step 3: Divide the part before the decimal point of your quotient by 8 again.

Step 4: Write down the remainder.

Step 5: Continue this process of dividing by 8 and noting the remainders until the last decimal digit you are left with is less than 8.

Step 6: When the last decimal digit is less than 8, the quotient will be less than 0 and the remainder will be the digit itself.

Step 7: The last remainder you get will be the most significant digit of your octal value while the first remainder from Step 3 is the least significant digit. Therefore, when you write the remainders in reverse order - starting at the bottom with the most significant digit and going to the top- you will reach the octal value of the given decimal number.

Similar questions