Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using C++ programing language. Provide source code as well. Assigning a large number of students to classes during university registration process can be a daunting

Using C++ programing language. Provide source code as well.

image text in transcribed

image text in transcribed

image text in transcribed

Assigning a large number of students to classes during university registration process can be a daunting task for an administrator. Most importantly, the administrator needs to ensure that there is no time clashing. The university has hired your team as programmers to author the timetable application. The timetable is as shown below. There are four courses with two groups each. The student only needs to be assigned to one of the groups if they are registered for the course. The program needs to prevent time-clash when assigning the time slot for each student. For example, when the student is already assigned for KIE1003G1, this student must not be assigned for KIE1004G2. A sample test data is provided in "StudentList.csv". However, the provided data file is just one of the sample test data, other test data will be used as well to evaluate the capability of your application. The application has a menu structure as listed below with each menu function as described where the user may select menu at any sequent. You need to print the error message for invalid selection. Assumption: 1) Maximum number of students is 100. 2) Maximum number of students in each class group is 30. 3) The maximum number of courses the student might be registered for is 6 . Hint: 1) One way to define the timetable array is as follows: string timeTable[timetableRow][timetableCol] ={{ "KIE1003G1", "KIE1004G1","KIE1001G1","KIE1002G1"\},\{"KIE1004G2","KIE1003G2","KIE1002G2","KIE1001 G2"\}\}; 2) find() or substr() function might be useful. 3) To save time during testing, you may want to disable the menu option and the function sequentially. 4) To save time during testing, you may also want to shorten the list inside "StudentList.csv

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

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions

Question

If there were no law against it, would it be OK to blind someone?

Answered: 1 week ago