84.4k views
5 votes
Scheduling system. Make a program that generates a time table based on provided data of students, courses, instructors, venue, working hours (university timings) and working days etc. Distribution of Marks is as follows:  Storing data of courses, students, instructors, venue etc. [CLO1] [10]  Generating a time table. [CLO3] [10]  Algorithm to generate time table while detecting conflicts. [CLO2] [10]  Algorithm to resolve time table conflicts. [CLO3] [10]  Algorithm for efficient time table with support for preferences (student / instructor preferences) [CLO2] [10] Make a small report to describe your approach as mention is the “Note” above.

User Margherita
by
6.9k points

1 Answer

4 votes

Creating a complete scheduling system involves multiple components, including data storage, conflict detection and resolution algorithms, and support for preferences.

What is the program?

class Course:

def __init__(self, course_id, course_name, instructor, capacity):

self.course_id = course_id

self.course_name = course_name

self.instructor = instructor

self.capacity = capacity

class Student:

def __init__(self, student_id, student_name, preferences):

self.student_id = student_id

self.student_name = student_name

self.preferences = preferences

class Instructor:

def __init__(self, instructor_id, instructor_name, preferences):

self.instructor_id = instructor_id

self.instructor_name = instructor_name

self.preferences = preferences

class Venue:

def __init__(self, venue_id, venue_name, capacity):

self.venue_id = venue_id

self.venue_name = venue_name

self.capacity = capacity

return timetable

def main():

User Ali Humayun
by
7.2k points