38 Computer -- Number System

ask mattrab Visit www.askmattrab.com for more academic resources.

Decimal to Binary Conversion

Whole Number Conversion
1. Divide the Decimal Number by 2 till the time it is divisible.
2. Note the remainders during successive division.
3. Write the remainders from the bottom(MSD) to the top(MSD).
The remainder listed in order as mentioned in step 3 is the equivalent Binary number of given Decimal Number.
Example:

Fractional Conversion(Only for Grade-XI)
1. Convert the non-fractional part by the method shown above.
2. For fractional part, multiply the numbers after decimal(.) by 2.   
        For e.g.; if the number is 1.25, multiply 2 with 0.25 not 1.25
3. Continue the multiplication unless you get the part after decimal as 0.                                      




4. You don't need to multiply by 2 for the 6th time if you fail to get 0 after decimal in 5 attempts. i.e.,  When we fail to get 0, then we terminate the process after 5th round.
5. The integral values that come from each successive multiplication are written in top-down approach.
The written integral part (from step 5) is the equivalent value of fractional part in Binary fraction.
Example:

Discussions

More notes on Number System

Close Open App