Computer Science, asked by manishsingh87, 1 year ago

hexadecimal to octal ABC. 09​

Answers

Answered by gurukulamdivya
0

Answer:

first you need to convert the hexadecimal number to binary than from binary to Octal

In hexadecimal 10 is represented as A, 11 is represented as B and 12 as C.

  A        B       C        .      0          9

1010    1011   1100   .  0000     1001

Now for Octal we need to group this binary number in group of three digits.

If group of three is not getting complete than add extra zero (0).

101 010 111 100   .  000   001   001

Now convert this binary into octal

101 = (1*2^2)+(0*2^1)+(1*2^0) = 4+0+1 = 5

010 = (0*2^2)+(1*2^1)+(0*2^0) = 0+2+0 =4

Similar for others, we get

= 5274.022(Octal)

If this helped you than rate accordingly.

Similar questions