5
Basic Binary Arithmetic
Decimal system
-
Base 10
Binary system
-
Base 2
Octal system
-
Base 8
Hexadecimal System
-
Base 16
Decimal system:
2745.214 = 2x10
3
+7x10
2
+ 4x10
1
+ 5x10
0
+ 2x10
-1
+
1x10
-2
+ 4x10
-3
Binary system:
1011.101
= 1x2
3
+ 0x2
2
+ 1x2
1
+ 1x2
0
+ 1x2
-1
+ 0x2
-2
+ 1x2
-3
= 8 + 0 + 2 + 1 + 0.5 + 0 + 0.125
= 11.625
10
Each of the binary numbers is called a “bit”