Question: Objectives: CS 3340 Object Oriented Programming To practice more with collections and exceptions. Assignment: Your job is to extend the Registration System we built in

Objectives:

CS 3340 Object Oriented Programming

To practice more with collections and exceptions.

Assignment:

Your job is to extend the Registration System we built in class in 3 ways:

Support a new type of class called a OpenUniversity student. These students do not have an ID, but they do have a phone number. Two students are the same if they have the same name and phone number.

Allow each course to have a set of Open University students, in addition to regular students. There should be 2 capacities for each course, the number of regular students and the number of Open University students.

The number of Open Unversity students should not exceed the number of regular students at any time or else an exception should be thrown.

It should be possible to delete students from a course using a new "ds" command. When that command is entered, the system should ask the user for the ID of the student and then search both the full time students and Open University student lists for that student in the course. If found, that student should be removed from that list.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!