Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 1:21am
Comments
Anuja Pawar Indore at 5-Mar-13 10:13am
   
What have you tried in .net.....?
zain_mr89 at 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 at 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
good
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.
 
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[^]
  Permalink  
Comments
zain_mr89 at 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...
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Have you got the solution for your requirement?
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 341
1 Marcin Kozub 225
2 Praneet Nadkar 197
3 Sergey Alexandrovich Kryukov 190
4 Shweta N Mishra 161
0 OriginalGriff 8,149
1 Sergey Alexandrovich Kryukov 7,287
2 DamithSL 5,614
3 Manas Bhardwaj 4,986
4 Maciej Los 4,910


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 5 Mar 2013
Copyright © CodeProject, 1999-2014
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