CSC 121A Lab 14 - Spring 2005

Thursday, April 14, 2005
Due: Wednesday, April 20, 2005, 5:00PM

[Course home page] [Java API Documentation]

Work on the following exercises. Complete for homework whatever you don't finish in lab. You do not have to upload and hand in any print outs of your work in lab. Just upload your completed programs to VikingWeb by next Wednesday.

You may work in pairs or groups of 3 for all parts of this assignment.

Starter files:

These are files I handed out in class yesterday. Look over the main() function in the source code file and make sure you understand how it is constructing a structure representing a family tree. Also examine the printing functions to see how they traverse the structure to print it out. In this lab, you will write some functions that make it easier to construct the family tree structure. (Compare the main() function below with the one in the source code file that you are given. The first half of the function below is supposed to achieve the same results, but it is easier to read and understand.)

Lab and Homework Exercises