NUMBER BASE CONVERSIONS
In general, conversion between two bases cannot be done by simple substitutions.
Arithmetic operations are sometimes required.
Conversion from Binary, Octal or Hexadecimal to Decimal:
Summation method is used.
Ex: (1010.011)2 =
Ex: (630.4)8 =
Ex: (1A02)16 =
5
Conversion from Decimal to Binary, Octal or Hexadecimal:
Separate the number into an integer part and a fraction part, then, conversion of each
part is done separately.
Division method is used for the integer part and multiplication is used for the fraction
part.
Ex: 41.6875 = ( ? )2
Ex: 44.51 = ( ? )8
6
Conversion between Binary, Octal and Hexadecimal Systems:
Since 8 = 23 and 16 = 24, each octal digit corresponds to three binary digits and each
hexadecimal digit corresponds to four binary digits.
The conversion from binary to octal / hexadecimal is easily done by grouping the binary
number into groups of three / four bits each, starting from the binary point.
Ex: (10110001101011.111100000110)2 = ( ? )8
Ex: (10110001101011.111100000110)2 = ( ? )16
Ex: (125.74)8 = ( ? )2
Ex: (306.D)16 = ( ? )2