Problems 1 through 5 at the end of Chapter 1. (For Problem 2, just do one of the two ways.)
| Source word | Code word |
|---|---|
| 0 | 000000 |
| 1 | 111111 |
| Source word | Code word |
|---|---|
| 00 | 000000 000000 |
| 01 | 000000 111111 |
| 10 | 111111 000000 |
| 11 | 111111 111111 |
| Source word | Code word |
|---|---|
| 00 | 000 000 000 000 |
| 01 | 011 011 011 011 |
| 10 | 101 101 101 101 |
| 11 | 110 110 110 110 |