Introduction to Number Systems
Base 10 (Decimal System)
- Base 10 is the number system we used everyday
- Examples
- Any value between 0-9
- Value x Base^Exponent
| 4 |
2 |
6 |
| 4 x 10^2 |
2 x 10^1 |
6 x 10^0 |
| 400 |
20 |
6 |
Base 2 (Binary System)
- Each column can only have 2 values
- Start in right column
- Multiply each digit by 2 raised to increasing in power
- For example (Using 0101)
| 0 |
1 |
0 |
1 |
| 0 x 2^3 |
1 x 2^2 |
0 x 2^1 |
1 x 2^0 |
| 0 |
4 |
0 |
1 |
Binary Number Ranges
- 4 bit numbers
- Max value: 1111 = 15 in Base 10