For this exercise, we are looking at representing positive numbers and 0 (also known as "non-negative numbers") in binary.
| Number of bits | Values we can represent | How many are there? | Maximum value |
|---|---|---|---|
| 1 | 0, 1 | 2 | 1 |
| 2 | 00, 01, 10, 11 |
4 | 11, aka 3 in decimal |
| 3 | 000, 001, 010, 011, |
111, aka ? in decimal |
|
| 4 | |
1111, aka ? in decimal |
|
| 5 | |
11111, aka ? in decimal |
|
| 6 | |
111111, aka ? in decimal |