Question
Design a CRS Course Registration System by Java. Please provide the code in details for the requirement on Student, especially on the storage of Student
Design a CRS Course Registration System by Java. Please provide the code in details for the requirement on Student, especially on the storage of Student and Course objects. I am very confused in these parts. Thank you for your work.
Here are the requirements:
- The system shall allow two types of users: Admin and Student.
- The system shall allow the Admin to perform the following tasks: (these are the options that will be displayed in the Admin menu on your program when the administrator logs in)
Course Management:
1.Create a new course 2.Delete a course 3.Edit a course (this will allow the admin to edit any information on the course except for course ID and name) 4.Display information for a given course (by course ID) 5.Register a student (this option will allow the admin to add a student without assigning toa course check Req 11 for students information Hint: You might need to have an ArrayList of Students where you store Student objects) 6.Exit
Reports:
1.View all courses (for every course the admin should be able to see the list of enrolledstudents names, enrolled students ids, number of students registered, and the maximum number of students allowed to be registered) 2.View all courses that are FULL (reached the maximum number of students)
3.Write to a file the list of course that are full 4.View the names of the students that are registered in a specific course 5.View the list of courses that a given student is registered in (given a student first name and last name the system shall display all the courses that student is registered in)
6. Sort the courses based on the current number of students registered
7. Exit
- The system shall allow the student to perform the following tasks:
Course Management:
1.View all courses 2.View all courses that are not full 3.Register in a course (in this case the student must enter the course name, section, and student full name, the name will be added to the appropriate course)
4.Withdraw from a course(in this case the student will be asked to enter her/his name and the course name, then the name of the student will be taken off from the given courses list)
5.View all courses that the current student is registered in 6.Exit
- Define an Interface for admin class that will have the signatures of the methods that will be
used by the admin.
- Define an Interface for a student class that will have the signatures of the methods that will be used by the student.
- Both classes Admin and Student inherit from a class named User. A user should have at least the following class members: username, password, first name, and last name. (You will need to decide on the methods of a User class. These methods can then be inherited or overridden by the Student and/or the Admin class.)
- A student class should at least have a username, password, first name and last name. You will need to decide on how to keep track on the students courses if needed. You might need to decide on how to store a list of students.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started