Sample Exams

For preparing for exams in this class, we recommend you work lots of problems, under exam-like conditions. Other sources of sample problems: Exams in this course may involve coding with Java API classes, classes we have written or used in lectures, labs, or assignments, or other classes specific to the exam. You are not expected to memorize the syntax of the whole interface to such classes, but rather, on a real exam, would be given the relevant parts of the interface (this appears on the exam itself, or sometimes on a "code handout" that accompanies the exam). However, I expect you to know the syntax for doing the common things with the Java classes we have worked with a fair amount:
Java classes and methods you need to know for exams:

These are closed-book, closed-note exams, done with pencil and paper so you do need to be able to write basically syntactically correct Java code. However, we won't be picky about semi-colons and such on code that's not going through a compiler. We won't be checking style per se. That said, your indentation and curly brackets should make the block structure of your code clear. Also, using good variable names will help you (as well as us) understand what you are trying to do in your code. (We understand that with time constraints you won't want to use very long variable names.)


Final exam