School TimeTable Creator

School timetable creator is a program to create Timetables for schools written in C++. The features are –

  1. Allows for manual setting of class teachers.
  2. Checks whether there are enough number of teachers to teach each subject before running timetable creation routines.
  3. Creates timetables in 5 seconds in most of the cases.
  4. Default date provided for testing straightaway.
  5. Common periods like MPT, CCA are supported.
The method followed is as follows –
  1. The subject list created according to the probability of occurrence of each subject. This subject list is used to distribute subjects to time slots, in accordance with teacher and subject level constraints.
  2. In case of a no go using above step, a subject swap is tried within same day.
  3. In case of a no go using above step, a subject swap is tried from a previous day.
  4. A recursive swap of time slots is done where an available teacher is introduced to the chain of swaps which solves the current conflict.

This can be a good project for high school/undergraduate course in Computer science. Please find the code here.

Kj
Kj [/.] Sreekumar programs computers as a hobby and profession. Into programming from his school days, Sree uses Codemarvels to key in facts and fixes he finds interesting while working on different projects. Some of the articles here give away a few shades of his philosophical leanings too.

Leave a Comment

Your email address will not be published. Required fields are marked *