Question: Part 2 : DVC Schedule Check Each section - term combination is supposed to be unique - - that is , there should never be
Part : DVC Schedule Check
Each sectionterm combination is supposed to be unique that is there should never be two separate entries with the same section and term, with different course names. It's okay for COMSC in SP to appear more than once that's a duplicate and we already skip the extra entries. But it's NOT ok to have both COMSC and CNT in SP There can be "crosslisted" courses, like ARCHI and ENGIN in Fall in the same room at the same time with the same instructor Tumlin MW ::pm ET but they always have different section numbers, like ARCHI and ENGIN
The DVC Admissions Office suspects that there are at least a few such invalid entries in their database, but their staff is having trouble using Excel to locate them. They heard about what we are studying in COMSC and they want to know if we can help determine if there are any such entries, and what they are.
Write DvcScheduleCheck.cpp to solve the problem. Output how many termsection pairs there are with multiple courses associated with them. If there are none, output a message to that effect. But if there are any, output each of them in a format that you think DVC Admissions would understand and find useful. Here is the sample output Download outputusing the DVCSchedule.txt file we use this semester.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
