|
When we write our numbers we use the digits 0,1,2,3,4,5,6,7,8,9. This is called base ten because we use ten digits to form any number. The placement of the digit in the number stands for that digit times a power of ten. When we write our numbers, each digit's value depends on its place in the number
For example: 5374 does not mean 5 + 3 + 7 + 4, but rather
5 thousands + 3 hundreds + 7 tens + 4 ones
Each "place" in the number is a power of ten:
thousand = 1000 = 10 x 10 x 10 x 10 = 103
hundred = 100 = 10 x 10 = 102
ten = 10 = 101
one = 1 = 100
Computers write their numbers using only the digits 0 and 1. Their system is called base two because only the first two digits are used to form numbers and each place in the number corresponds to a power of two. The first place is the 1's place, then comes the 2's place, then the 2 x 2 = 4's place, then the 2 x 2 x 2 x 2 = 16's place, and so on.
| Base Ten |
Base Two |
Base Ten |
Base Two |
Base Ten |
Base Two |
Base Ten |
Base Two |
| 0 |
0 |
10 |
1010 |
20 |
10100 |
30 |
11110 |
| 1 |
1 |
11 |
1011 |
21 |
10101 |
31 |
11111 |
| 2 |
10 |
12 |
1100 |
22 |
10110 |
32 |
100000 |
| 3 |
11 |
13 |
1101 |
23 |
10111 |
|
|
| 4 |
100 |
14 |
1110 |
24 |
11000 |
|
|
| 5 |
101 |
15 |
1111 |
25 |
11001 |
|
|
| 6 |
110 |
16 |
10000 |
26 |
11010 |
|
|
| 7 |
111 |
17 |
10001 |
27 |
11011 |
|
|
| 8 |
1000 |
18 |
10010 |
28 |
11100 |
|
|
| 9 |
1001 |
19 |
10011 |
29 |
11101 |
|
|
|