Number System and Representation                                                                                                        Print this page
<< Previous |  First |  Last |  Next >>       

Representation of Unsigned Integers

Any integer can be stored in computer in binary form.   As for example:
The binary equivalent of integer   107 is 1101011,   so  1101011 are stored to represent 107.

What is the size of Integer that can be stored in a Computer?
It depends on the word size of the Computer. If we are working with 8-bit computer, then we can use only 8 bits to represent the number.The eight bit computer means the storage organization for data is 8 bits.

In case of 8-bit numbers, the minimum number that can be stored in computer is 00000000 (0) and maximum number is 11111111 (255) (if we are working with natural numbers).

So, the domain of number is restricted by the storage capacity of the computer. Also it is related to number system; above range is for natural numbers.

In general, for n-bit number, the range for natural number is from

Any arithmetic operation can be performed with the help of binary number system. Consider the following two examples, where decimal and binary additions are shown side by side.
 
01101000 104
00110001
  49
---------------
------
10011001
153
<< Previous |  First |  Last |  Next >>