On this page:
7.1 The Registrar’s Office
7.1.1 Data constraints
7.1.2 Methods and examples to design
8.5

Lab 7: Working with Cyclic Data

Goals: The goal of this lab is to learn how to design and use circularly referential data.

Submission: This is due at the end of your lab period. Create examples for the classes described below in the ExamplesRegistrar.java file. Add tests for the classmates and dejavu methods. Submit this file to handins. This will be graded on the completeness of your test cases. Note, both partners must work on this together. You will be continuing this problem for Assignment 7.

7.1 The Registrar’s Office

The registrar’s office maintains a great deal of information about classes, instructors, and students. Your task in this problem is to model that data, and implement a few methods on it. We deliberately do not give you the class diagram for this problem: from the description below, you should properly design whatever classes you think are relevant. Please use generic lists (i.e. IList<T>) for this problem.

7.1.1 Data constraints
7.1.2 Methods and examples to design