Suggested Practice Problems for CS105

The following is a list of suggested practice problems for CS 105. If you do the reading, do these problems, and do your share of the labs, you should be well prepared for the exams. You are not required to do all or even any of the problems; this is merely a list of the ones we think are the most useful (and we encourage you to do them!).

Note: the problems are listed in the same order as the chapters, rather than in the order of course reading.

Problems for the Second Edition

These problems are given in semester order rather than the order they appear in the book.

Chapter 2

Problems 2.1, 2.4-2.8, 2.10, 2.12, 2.14-2.19, 2.23, 2.25, 2.29, 2.31, 2.40, 2.43-2.47, 2.54.

Chapter 3

Problems 3.1, 3.3, 3.5, 3.6 (important!), 3.7, 3.9, 3.10, 3.13, 3.15e, 3.16, 3.18, 3.20-3.22, 3.28, 3.29, 3.30, 3.32-3.37, 3.39, 3.41, 3.43.

Chapter 5

Problems 5.1, 5.3, 5.5-5.11, 5.13

Chapter 6

Problems 6.1, 6.3, 6.4, 6.6, 6.8-6.11, 6.13-6.16, 6.18-6.21

Chapter 8

Problems 8.2-8.4, 8.8.

Chapter 9

Problems 9.3 and 9.4. It is also useful to do homework problems 9.11-9.13.

Chapter 10

Problems 10.1-10.5.

Chapter 11

Problem 11.4 is mildly useful but not critical.

Problems for the First Edition

The first edition of the book contains fewer practice problems. Some of the useful problems appear only in the second edition.

These problems are given in semester order rather than the order they appear in the book.

Chapter 2

Problems 2.1, 2.4-2.8, 2.10, 2.11, 2.13-2.18, 2.21, 2.23, 2.26, 2.29-2.33, 2.37.

Chapter 3

Problems 3.1, 3.2, 3.3 (important!), 3.4, 3.6, 3.7, 3.8d, 3.9, 3.10-3.14, 3.16-3.19, 3.21, 3.23, 3.24.

Chapter 5

Problems 5.1, 5.3, 5.4-5.9

Chapter 6

Problems 6.1, 6.3-6.7, 6.9-6.12, 6.14-6.17

Chapter 8

Problems 8.1-8.4.

Chapter 10

Problems 10.3 and 10.4. It is also useful to do homework problems 10.11-10.13.

Chapter 11

Problems 11.1-11.5.

Chapter 12

Problem 12.4 is mildly useful but not critical.