Computer Science, asked by PUBGGOD, 11 months ago

Convert AB2F of base 16 to octal

Answers

Answered by gurukulamdivya
1

Answer:

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

In hexadecimal 10 is represented as A, 15 is represented as F and 11 as B.

so their equivalent binary number are

  A      B        2        F    

1010  1011  0010  1111

Now for Octal we need to group this binary number in to group of three digits. If group does not get completed then we will add extra zeros (0) from left side.

001  010  101  100  101  111

No we will convert this binary in to Octal

001 = (0*2^2)+(0*2^1)+(1*2^1) = 0+0+1=1

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

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

Similarly for the others as well

we get,  125457

If this helped you than rate accordingly.

Similar questions