COM1204 Summer 2001 -- Quizzes and Exams
Professor Futrelle -- College of Computer Science, Northeastern U., Boston, MA
Updated Thursday 8/23/2001
Previous tests:
Quiz #1
Quiz #2
Midterm
Review for Final Exam
Midterm Exam. Wednesday, July 25th The material I'm asking about below needs to
be understood by drawing on material at various places in the text, my lectures,
your experience with programming Java and other resources on the Web. But the
list below is specific enough that it should allow you to prepare.
The exam will be very similar to the first two quizzes. Here are is an outline
of the topics that may be covered on the test:
- Again, you will be required to write code on the test, so be sure you
have the basics firmly in hand. Practice writing code -- the only way to
prepare for this!
- Specifications: Be sure you now understand them: REQUIRES, MODIFIES and
EFFECTS. You may have to both write them and read some others to see if they're
correct.
- Understand the use of other constructors, both of the this() variety for
other constructors in the same class of super() for constructors in a superclass.
- Know the syntax required to write and use an Iterator object for a Vector.
- Understand the implications of using private versus public member variables
with access through member functions (for privates) or directly (for public).
"Protected" members generally means available only to subclasses, though it is more
complex than this, e.g., Sec. 3.5 "What protected really means" in The Java
Programming Language, 3rd ed. (You will not be asked about such additional
subtleties on the exam, only the basics.)
Quiz #2. Thursday, July 12th The material I'm asking about below needs to
be understood by drawing on material at various places in the text, my lectures,
your experience with programming Java and other resources on the Web. But the
list below is specific enough that it should allow you to prepare.
- There may be another question on specifications to be sure you now
understand them.
- Know the syntax of try - catch statements.
- Know the syntax required to write and use an Iterator object for a Vector.
- Know how to write a subclass of a class as well as constructors that
use other constructors from the same class or the superclass.
- Understand how to deal with private variables in other classes or superclasses.
(Access them through various methods.)
- Be able to demonstrate that the choice of a method at run time depends on the
actual class of an object, not its apparent class from the syntax.
Go to COM1204 home page
Return to Prof. Futrelle's home page