This assignment is to implement an interactive version of the Student Registration index system (described in The Student Registration Problem handout) in the object-oriented paradigm. You will be provided with a partial Java implementation of the system and asked to identify and make the necessary modifications.
The provided system allows browsing lists of courses required for the current student's major and allows registrations for courses, provided those courses are not full. When the registration process is complete, a window is displayed showing the registration results. (If running this program using file input, the results are sent to System.out; use command-line redirection to create result output files.)
A sample session of the current system is:
>java objectoriented.Session con: >sessionresults.txt R 11 S 3201 S 9038 S 9173 R 11 S 3201 R 12 S 118 S 13373 S 2991 S 5448 ^Z >type sessionresults.txt Registration results for Student Antoniono, Kimberly Pehnec [11]: Registration for section 3201 was successful. Registration for section 9038 was successful. Registration for section 9173 was successful. Registration results for Student Antoniono, Kimberly Pehnec [11]: Section 3201 was already registered for. Registration results for Student Kirkpatrick, Dwiriatom Bruce [12]: Section 118 is full. Registration for section 13373 was successful. Section 2991 is full. Registration for section 5448 was successful. >
Your assignment is to modify the existing code to support the following changes:
Here is a sample session of the new system:
>java objectoriented.Session con: R 11 C 33201 S 9038 Registration results for Student Antoniono, Kimberly Pehnec [11]: Registration for section 11 was successful. Registration for section 14670 Course 33201 was successful. Section 9038 is full. R 12 C 33201 Registration results for Student Kirkpatrick, Dwiriatom Bruce [12]: Section 14670 (Course 33201) is full. ^Z