Saturday, February 13

Number Systems, Base Conversions, and Computer Data Representation

Decimal and Binary Numbers


       When we write decimal (base 10) numbers, we use a positional notation system. Each digit is multiplied by an appropriate power of 10 depending on its position in the number:

                         For example: 
843 = 8 x 1022 + 4 x 1011 + 3 x 100
       = 8 x 100 + 4 x 10 + 3 x 1
       = 800 + 40 + 3

        For whole numbers, the rightmost digit position is the one’s position (100o  = 1). The numeral in that position indicates how many ones are present in the number. The next position to the left is ten’s, then hundred’s, thousand’s, and so on. Each digit position has a weight that is ten times the weight of the position to its right.
                                                       Read More......

No comments:

Post a Comment