Index of /CourseEnrollment

 NameLast modifiedSizeDescription

 Parent Directory  -  
 javadoc/2017-05-20 15:32 -  
 git_log.txt2017-05-20 20:35 8.7K 
 README.md2017-05-20 20:20 4.4K 
 CourseRegistrationUML.pdf2017-05-20 20:36 29K 
 CourseEnrollmentFINAL.zip2017-05-20 15:50 10K 
 CourseEnrollment.jar2017-05-22 14:56 21K 

Programming II Final Project: Course Registration System

Henry Hedden

Program Description:

This is a Course Registration System, intended to be used by students to sign up for classes. It will allow a student to sign in and view a course listing. The student will then be able to select courses to add or drop. If for some reason, the student is unable to add or drop the selected course—for example, if the course number is mistyped—the program will refuse display an error message explaining why.

Class Descriptions

The classes in this project are as follows:

The Person class is a class that will be inherited by both the Student and Teacher Classes. It will have two instance variables: firstName and lastName (both Strings). It will have two subclasses: Teacher and Student.

The Course class will have seven instance variables: name (String), number (int), teacher (Teacher object), room (Room object), startTime and endTime (Time objects), and seats (int).

The Time class will have two instance variables, hours and minutes. In addition to the constructors and accessor methods, it will also have a compareTo method, and a toString method which displays the time in hh:mm format.

The Client class will handle input and output, and the user interface. In addition to the main method, it will also contain global variables. The Student class will also extend the Person class, will have the additional instance variables ID, passwords, and major.


When the program is started, it will greet the user and ask them to log in. If the user enters the correct login information, it will display the following list of options:

The program will notify the user if they attempt to perform an action that is disallowed, for example dropping a course they haven’t signed up for. When they are done, the user can select the “Quit” option, at which point the program will prompt them to make sure they are sure.


Assumptions

New Skills Needed