See the course calendar for the exact times and locations of the exams.
The exams will focus on the theoretical material, especially reasoning. In contrast, HW7-8, which fall between the two exams, will focus on practical skills, namely, building full-stack applications.
The midterm exam is largely practice for the final. It is worth only half as many points (about the same as HW7 and HW8) and should have easier problems than will appear on the final.
Our midterm will have four problems covering most (but not all) of the following topics:
If you understood how to solve all the homework problems, you should already be well prepared for the midterm. However, since students often request additional practice materials, here are some that you can look at:
Both of these exams include problems on Reasoning about Loops, Writing Methods, and Testing, which will appear on our midterm. They also include one problem on writing loops that would not be fair game for our midterm because it tests material from HW7, which will not be graded at the time of our midterm exam. Instead, our midterm will have a problem on either Writing Loops using a template or Reasoning about Recursion. Here are some examples from this quarter of those problem types, as well as the others mentioned above:
The examples from section are more similar in difficulty to what would appear on an exam. While the examples from homework test knowledge of these topics at a deeper level, they are generally too lengthy for an exam.
The final will be longer than the midterm, at 1 hour and 50 minutes. Rather than doubling the number of problems, the final exam will likely include some problems that involve more reading (making them not just more involved but also more realistic).
Like the midterm, the final will focus on core reasoning skills. All of the material covered on the midterm is also fair game also for the final. In addition, there are two kinds of problems that were not included in the midterm but could be included in the final:
If you understood how to solve all the homework problems, you should already be well prepared for the final. However, since students often request additional practice materials, here are some that you can look at:
The final quiz section will also include some additional practice problems.