A Note From Prof. Rosenthal#
The author of this book, Allen B. Downey, did a tremendous service in putting it together and making it “open source” so that others can modify it. You and I owe him a debt of gratitude.
However, Downey left out some important topics that I need to cover. Among them are
nested for loops
while loops (both single and nested)
a smattering of other topics …
To that end, I added my own pages to the book. For the most part, I tried not to touch Downey’s original chapters (unless there was a “bug” or obvious serious problem). For now, I kept my additions in their own pages (e.g. this one). Downey’s original chapters are numbered 1, 2, 3, etc. My additions are numbered 2b, 3b, 4b, etc. (right now, there is no 1b). There are no “a” chapters - I consider Downey’s original chapters to be the “a” chapters. Some chapters have more than one extra page, labeled “b”, “c”, “d”, etc. (for example 3b and 3c).
Some of the extra chapters present additional concepts. These are labeled “Additions:”. Many of the extra chapters present additional review questions. These are labeled “Review:”.
I highly recommend that you try to work through Downey’s exercises at the end of his chapters. However, some of his exercises are not focused on the topics or the types of questions that I would want to focus on. Therefore I decided to add my own review questions to the chapters. You should DEFINITELY know how to answer my review questions - even the “hard” ones. The questions on the tests in my class will have a mixture of difficulties, including “hard” questions.
-Prof. Rosenthal