The second midterm exam will cover proof of correctness, and chapters 14 and 26.
Here are more specific topics you should review:
The exam will be a written, in-class exam. The exam is a closed book exam, but I will allow you to bring a single page of notes with you to the exam.
Here is a list of problems from the text that you can review to prepare for the exam:
2.1-4, 2.2-2, 2-2
14.1-3, 14-2
Since the book does not contain any good sample questions for chapter 26, here is a sample question for that chapter:
Suppose we wanted to construct a parallel version of Quicksort. A key step in doing this would be to prepare a version of the partition operation that could take advantage of parallel processing to do the partition step more quickly than the non-parallel version of the partition algorithm. Here is a strategy for doing this:
Write out the pseudocode for the parallel partition algorithm. You may need to write one or more additional functions to help you do what needs to be done here. Supposing you have four cores at your disposal, make the best possible use of all available cores.