Character Sets · ASCII · Unicode · Bits and Capacity · Logical Ordering · Exam Practice
| Character | A | B | a | 1 | ! |
|---|---|---|---|---|---|
| Binary code | 01000001 | 01000010 | 01100001 | 00110001 | 00100001 |
| 'A' stored using 8 bits | |||||||
|---|---|---|---|---|---|---|---|
| 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
| Bits | Calculation | Characters Possible |
|---|---|---|
| 1 | 2¹ | 2 |
| 2 | 2² | 4 |
| 3 | 2³ | 8 |
| 4 | 2⁴ | 16 |
| 8 | 2⁸ | 256 |
| Bits | Calculation | Characters Possible | Enough for 50? |
|---|---|---|---|
| 5 | 2⁵ | 32 | ✗ No |
| 6 | 2⁶ | 64 | ✓ Yes |
| Character | A | B | C | D |
|---|---|---|---|---|
| Code (denary) | 65 | 66 | 67 | 68 |
| F | G | H | I | J | K | L |
|---|---|---|---|---|---|---|
| 70 | 71 | 72 | 73 | 74 | 75 | 76 |
Next up: 1.2.4f — Images in Binary