Question
You will create simple Java program that is capable of taking a list of students and assigning them to courses. Each student will have 6
You will create simple Java program that is capable of taking a list of students and assigning them to courses. Each student will have 6 course selections and are to be assigned to exactly 4 courses. The course selections are listed in order of importance (the last 2 are alternates). A file called students.txt contains a list of students (one per line). Each Line looks like the following example: Lisa Simpson 341702323 SNC1D1 ICS3U6 MAT1D1 ENG1P1 ICD2O1 TEJ2O1 A file called courses.txt contains a list of all the courses and the class size maximums. It looks like the following example: SNC1D1 20 ICS3U6 15 MAT1D1 32 ENG1P1 6 ICD2O1 22 TEJ2O1 22 Finally, a file called staff.txt contains a list of staff at the school. The first line is the principal and additional lines are teachers. Each teacher has a list of courses that they teach. This is similar to the following example: Sheahan Martin ICS4U1 Gissing SNC1D1 MAT1D1 John ENG1P1 Stretton TEJ2O1
The Details Your program will read all the files and then output the results of scheduling students into classrooms into a file called schedule.txt. The output should be similar to the following example: PRINCIPAL Sheahan ---------- COURSE ICS4U1 TEACHER Martin STUDENTS Arty Mcfly Bill Gates Geoprge Bobski Zander Alecks ----------- COURSE SNC1D1 TEACHER Gissing STUDENTS Bart Simpson Geoprge Bobski Marky Mark
etc...
For this assignment guidance sets courses but under the direction of the Principal therefore: 1) Principal assigns Teachers to Courses and 2) Principal assigns Students to Courses Object Oriented Design Great deals of emphasis are related to the overall design of this program. OOP concepts must be applied to your design where appropriate.
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