Computer Science, asked by muchu1926, 4 months ago

convert 5055 base 8 to octal​

Answers

Answered by srikarravipati03
1

Answer:

505516 in octal

=

501258

Answered by kumari17shiromani
1

Answer:

In numeral system, we know hexadecimal is base-16 and octal is base-8. To convert hexadecimal 5055 to octal, you follow these steps:

To do this, first convert hexadecimal into decimal, then the resulting decimal into octal

Start from one's place in hexadecimal : multiply ones place with 16^0, tens place with 16^1, hundreds place with 16^2 and so on from right to left

Add all the products we got from step 1 to get the decimal equivalent of given hexadecimal value.

Then, divide decimal value we got from step-2 by 8 keeping notice of the quotient and the remainder.

Continue dividing the quotient by 8 until you get a quotient of zero.

Then just write out the remainders in the reverse order to get octal equivalent of decimal number.

First, convert 505516 into decimal, by using above steps:

= 505516

= 5 × 1630 × 1625 × 1615 × 160

= 2056510

Now, we have to convert 2056510 to octal

20565 / 8 = 2570 with remainder 5

2570 / 8 = 321 with remainder 2

321 / 8 = 40 with remainder 1

40 / 8 = 5 with remainder 0

5 / 8 = 0 with remainder 5

Then just write down the remainders in the reverse order to get the answer, The hexadecimal number 5055 converted to octal is therefore equal to :

50125

Similar questions