Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
1.00/5 (1 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
Comments
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 C#.net
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.

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.

2
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.

3
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.

4
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.

5
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.

6
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[^]

https://sites.google.com/site/yacoset/Home/how-to-write-computer-programs[^]
 
Share this answer
 
Comments
zain_mr89 17-Oct-12 6:48am    
First of all I would like to mention again that I want it on "asp.net"
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...
Have you got the solution for your requirement?
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900