Please explain the following statements:
1. Each position in a binary, octal and hexadecimal number represents a 0 power of the base 2, 8 and 16 respectively.
2. Each position in a binary number represents a x power of the base 2.
3. The last position in an octal and hexadecimal number represents a x power of the base 8 and 16 respectively.

Answer :

if a number is   a b c d      for example:  1239 decimal.. 0101 binary,  0753 octal,  0A2B Hex

the value of that number is expressed in terms of radix or base as:

binary:  a* 2^3 + b * 2^2 + c * 2^1 + d * 2^0
hex :     a * 16^3 + b * 16^2 + c * 16^1 + d * 16^0
octal:    a* 8^3 + b * 8^2 + c * 8^1 + d * 8^0

Thus the power related to position of a = 3..
that  power of  b is 2  and that of c is  1   and that of d  is 0.


Other Questions