First understand the structure of ALL the large programs in the textbook; all the programs that we used in the lecture; and all the programs we wrote for the labs. Look again at the visitor pattern.

All exercises are from the Lewis and Loftus book. Unfortunately exceptions are covered poorly in the book so there aren't really any good problems that use them. However, when you write the following problems, clean up their design by using exceptions properly:

Can you encapsulate simple objects in classes?

How about collections of objects or recursively defined objects ?

Putting things together?


Visited times since December 15, 1997 (or the last crash).

sabry@cs.uoregon.edu