Saturday, December 3, 2016

ADDITION

DECIMAL NUMBER SYSTEM

>Decimal number system has base 10 as it uses 10 digits from 0 to 9. 
  we use it every day.

>Decimal addition are same operation as mathematics addition.

BINARY NUMBER SYSTEM

Binary is a base 2 number system.
Binary use special digit numbers, it use 4-6 digit number:

 0000,0001,0010,00110100,0101,0110,0111,1000,1001,1010,1011,1100,1101,1110,1111


  • 0 + 0 = 0
  • 0 + 1 = 1
  • 1 + 0 = 1
  • 1 + 1 = 0, and carry 1 to the next more significant bit

Examples:

1)   00011010 + 00001100 = 00100110
   
     1  1carries
  0  0  0  1  1  0  1  0   =   26(base 10)
+ 0  0  0  0  1  1  0  0

   =   12(base 10)
  0  0  1  0  0  1  1  0   =   38(base 10

HEXADECIMAL NUMBER SYSTEM

Following are the characteristics of a hexadecimal number system.

Uses 10 digits and 6 letters, 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F.

Letters represents numbers starting from 10. A = 10, B = 11, C = 12, D = 13, E = 14, F = 15.

Also called base 16 number system.

Each position in a hexadecimal number represents a 0 power of the base (16). Example − 160

Last position in a hexadecimal number represents an x power of the base (16). Example − 16x where x represents the last position - 1.

    
EXAMPLE:

Hexadecimal Number − 19FDE16
Calculating Decimal Equivalent −



No comments:

Post a Comment