GfG QA is closing soon... Please refer PRACTICE or GfG now on wards !!

Exam duty scheduling in C

Write a program in C to assign exam duty for 34 teachers of CS dept for both MID SEM as well as END SEM exams. 1st half duty is from 9.30am to 11.30am and 2nd half duty is from 1.30pm to 5.30pm. It should be made sure that all the teachers are assigned  equally so that no one can complain, further a note should be kept that if a teacher is assigned duty in the morning then he should be exempted from the afternoon slot for that particular day. However,if a teacher has PG classes (during Mid Semester) clashing with his exam duty then he may be exempted but in that case he has to be assigned extra duty during the end sem.

asked May 13, 2016 by shamilchoudhury