Showing posts with label Hexadecimal. Show all posts
Showing posts with label Hexadecimal. Show all posts

Sunday, 9 March 2014

Conversion of Binary to Octal, Hexadecimal

 "Conversion of Binary to Octal, Hexadecimal":


  • A binary number can be converted into octal or hexadecimal number using a shortcut method. 

Method of Conversion of Binary to Octal, Hexadecimal:

  • The shortcut method is based on the following information:
  1. An octal digit from 0 to 7 can be represented as a combination of 3 bits, since 23 = 8.
  2. A hexadecimal digit from 0 to 15 can be represented as a combination of 4 bits, since 24 = 16.

Conversion from Decimal to Binary, Octal, Hexadecimal

Conversion from Decimal to Binary, Octal, Hexadecimal:

A decimal number has two parts—integer part and fraction part. 
EXAMPLE:For example, in the decimal number 23.0786, 23 is the integer part and .0786 is the fraction part. 


METHOD FOR THE  

Conversion from Decimal to Binary, Octal, Hexadecimal:

The method used for the conversion of the integer part of a decimal number is different from the one used for the fraction part. In the following subsections, we shall discuss the conversion of decimal integer, decimal fraction and decimal integer.fraction number into binary, octal and hexadecimal number.

Converting Decimal Integer to Binary, Octal, Hexadecimal:

A decimal integer is converted to any other base, by using the division operation.