Exercise Set 2: Simple Classes

Exercise 2.1 A class to represent information about one person.

Exercise 2.2 A class that represents weather data for one day.

Exercise 2.3 A class that represents automobiles.

Exercise 2.4 A class that represents one type of item in a grocery store (a can of coffee).

Exercise 2.5 Run the existing code for the tests of the Class DayData. Complete the test suite for the Class DayData.

Exercise 2.6 A class that represents inventory information about an item in a grocery store (a can of coffee).

Exercise 2.7 Continuation of Exercise 2.1.

Last modified: Sun, April 6, 2003, 3:02 pm
HTML conversion by TeX2page 4q4