Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Java Program which creates a simple Course Registration System including following details: - A course has the followings: Course code Course name Course

image text in transcribed Write a Java Program which creates a simple "Course Registration System" including following details: - A course has the followings: Course code Course name Course schedule (which day, which hour) this is given below It has to show how many students chose that course - A student has the followings: Student number Name and surname S/He must be able to add a course S/He must be able to drop a course Restrictions on courses: A course can be chosen at most 5 students. There has to be 10 different courses with the following schedule: - Course 1: on Monday, between 12:00-15:00 - Course_2: on Tuesday, between 09:00-12:00 - Course_3: on Thursday, between 13:00-16:00 - Course_4: on Monday, between 10:00-13:00 - Course_5: on Thursday, between 15:00-18:00 - Course_6: on Wednesday, between 09:00-12:00 - Course_7: on Friday, between 10:00-13:00 - Course_8: on Wednesday, between 11:00-14:00 - Course_9: on Friday, between 09:00-12:00 - Course_10: on Tuesday, between 16:00-19:00 Restrictions on students: There has to be 10 different students. A student can have at most 5 courses. In case of the followings, a student cannot add a course: - If the course has already chosen by 5 other students, - If the course is conflicting the courses that the student has already added, - If the student has already selected 5 courses. In case of the following, a student cannot drop a course: - If the student didn't select that course earlier

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

Step: 3

blur-text-image

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

Successful Time Management

Authors: Patrick Forsyth

1st Edition

0749486198, 978-0749486198

More Books

Students also viewed these General Management questions