In general, exams will contain three kinds of questions: short answer (e.g., true/false, multiple choice, matching, fill in the blank), code-tracing (i.e., you are given a code fragment and asked to trace its execution or explain why it will not compile), and code-writing. The code-writing questions will will require you to write code (and/or tests) that demonstrates your ability to complete substantial programming assignments completely on your own. Obviously, because of time constraints, the tasks will be smaller than those that constitute a typical programming assignment. However, their nature will be the same.
See the "Policies" page for more information about the policies governing exams.
Questions can and will be taken from all of these materials.
The Final Examination will be comprehensive. Other exams will focus on specific parts of the course but, given that the material in this course builds on itself, you will always be held responsible for some material from earlier parts of the course (even if it is not the focus of the exam).
When studying for the Final Examination, you should be careful to review all of the sample exams/questions. Though specific sample exams/questions will be provided for the Final Examination, they are only illustrative -- questions like those on earlier exams often appear on the final.
The following samples are currently available:
Note that the answers to the sample exams will not be made available. (Of course, you can easily check your answers to the many of the questions by editing, compiling, and/or running the code.) This is to help you avoid focusing too much attention on the specifics of these questions. Instead, you should try and answer different variants of each question. Then you should discuss the questions and answers with other students enrolled in the course. These questions should not be construed as a study guide; they do not provide information about what you should and/or shouldn't study.
There are a variety of ways for you to assess your ability in this area, including the following.
For the first exam, it is also useful to complete the assignments on:
Copyright 2024