Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

Consider this article:...

Answered: 1 week ago