Sunday, 21 October 2012

NUMBER SYSTEM CONVERSION


NUMBER  SYSTEM CONVERSION
In this section,the number system conversion of decimal,binary and hexadecimal numberwill be focus only.Many converting method can be apply for the number system.The most systematic method to convert the number is by using the repeated-division bybase 2 ,10 and 16.

Covert decimal number 55 to binary number

A systematic method called repeated division-by-2 is used to convert decimal numbers to whole binary numbers. To get the binary number for a given decimal number, divide the decimal number by 2 until the quotient is 0.
The remainders generated by each division form the binary number. The first remainder produced is the LSB (least significant bit) in the binary number and the last remainder is the MSB (most significant bit) 
Therefore , the binary number is represented as
55 = 1101112

A systematic method for number conversion


Converting decimal number 165310  to hexadecimal






Binary to Hexadecimal

To convert a binary number to hexadecimal, break the binary number into 4-bit group, starting at the right-most bit and replace each 4-bit group with equivalent hexadecimal symbol.

Hexadecimal to Binary

For this type of conversion, reverse the process and replace each hexadecimal symbol with the suitable four bits 

Binary to Decimal

The decimal value of any binary number can be obtained by adding the weights of all bits that are 1 and discarding the weights of all bits that are 0.




 Written by,
LIM YUE WINN
B031210081



No comments:

Post a Comment