FINAL EXAM


I. GENERAL

The duration of the final exam is 3 hours.

I. OUTLINE

Five questions of approximate weights: (16,16,16,16,36)%
  1. Algorithm Implementation using basic classes (no inheritance and no new API)
  2. Composition and Collections.
  3. Inheritance & Polymorphism.
  4. Exception Handling.
  5. Implement a class given its API. The class may have static or non-primtive attributes and you may be asked to provide javadoc comments. The class extends Object; i.e. it does not inherit from some other class.

II. FORMAT

You will typically write a full app but you may be asked to write just a code fragment (part of an app). For the last question you will be writing a full class or selected parts of a class. You will be using several classes related by has-a and is-a relationships.

III. SAMPLE

Here is a sample (in pdf).