Back to the Lab Index

Homework #1: Class Design
Assigned: Thursday, August 29, 2002 in class Due: Tuesday, September 3, 2002 at 11:59PM

Introduction

Today in class, we discussed the design of a simple calculator class. For homework, please provide plain-English specifications for the two applets below.

Please be sure to separate the GUI from the underlying functional class(es) and describe them separately. Please also try to be as "clean" as you can in your design. The underlying classes should be as general as possible and as independent as possible from the GUI. Furthermore the GUI should focus on the interaction with the user and should avoid modeling parts of the problem, itself.

Before beginning, please play with each of the two applets to ensure that you understand their functionality.

Your solutions should be in formatted plain-text, .pdf, .ps, or .doc format. Submission procedures will be discussed during Tuesday's class.

The Spell-Checker

The spell-checker below is really simple -- to the point of being self-describing.

Library Catalog

This applet is a tool for keeping track of, and finding, library books. It is able to find a book by the author's first or last name, title, or any of several key words. Unfortunately, it does not support combining search criteria.