Click here to Skip to main content
13,199,680 members (54,789 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Dont know how to make a program which auto generates a timetable.
We just provide subjects name in textbox and a timetable is generated.
Teachers available are assigned to that course.
One course/subject have multiple teachers.
Posted 17-Oct-12 0:21am
Anuja Pawar Indore 5-Mar-13 10:13am
What have you tried in .net.....?
zain_mr89 17-Apr-13 8:28am
i have developed a download manager in
developed chat applications. online registration in asp.NET having card print option in pdf format
Anuja Pawar Indore 17-Apr-13 8:35am
You are expecting us to write code for you, we can help you with error, or any missing logic.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

1. Outline exactly what you want your computer to do. You cannot make assumptions, and neither can the computer. If you want to write a program that will create a timetable, you must know and clearly outline every single rule in the time table and every possibility of what can happen in the time table.

Select a programming language. There are thousands of computer programming languages that are written to do different tasks. Some are easier for people to understand and some are more difficult, filled with symbols and cryptic instructions. A very common programming language used by people just learning how to write programs is Visual Basic, made by Microsoft.

Obtain and install your programming language. As part of the installation, you will load a compiler or interpreter onto your computer. This will enable you to convert the instructions you write into ones and zeros that the computer will understand.

Learn the syntax of the programming language that you have selected. In some cases, as with Visual Basic.NET, you can do most of the programming simply by clicking on various buttons and symbols. In other cases, more complex languages will require you to type instructions in basic text that will later be converted into something that the computer can understand. These basic instructions that you write are called source code.

Compile the source code that you have written. This is done with the compiler or interpreter that you have installed. This process often generates errors that you will have to go back and fix in your source code before the code can be compiled into something that the computer will understand.

Once you are successful with the compiling process, there will be a program file that can be understood by the computer. Run, or execute, your program to see the results.

Learn More[^][^]
zain_mr89 17-Oct-12 6:48am
First of all I would like to mention again that I want it on ""
The rules for the time table are:
1. There are classess from grade 1 till 10. Each class can have sections too.
2. Each class section have one unique class teacher.
3. School timing consist of total 8periods and a lunch break between 4th and 5th period.
4. One teacher can teach max 2periods consecutively.
6. One teacher can not teach more than 6periods perday.
7. When a timetable is made it, we must ensure that the assigned teacher or assigned period does not have a period clash or timing clash.

Currently, I am entering class and section than i get the subjects offered for that class in textbox by click button. On click another button i get all the teachers teaching particular suject. I select a teacher from the list for each course.

What I want is that now when I click the "Generate Table" button a time table is generated on the basis of above rules.

Please Help...
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Have you got the solution for your requirement?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171020.1 | Last Updated 5 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100