自动生成时间表ASP.NET [英] auto generate timetable ASP.NET

查看:173
本文介绍了自动生成时间表ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不知道如何制作一个自动生成时间表的程序。

我们只在文本框中提供科目名称并生成时间表。

可用教师分配给那个课程。

一门课程/科目有多位老师。

解决方案

1。准确概述您希望计算机执行的操作。你无法做出假设,计算机也无法做出假设。如果你想编写一个可以创建时间表的程序,你必须知道并清楚地概述时间表中的每一条规则以及时间表中可能发生的每种可能性。



2

选择一种编程语言。编写成千上万种计算机编程语言来执行不同的任务。有些人更容易理解,有些则更难,充满了符号和神秘的指示。一个人学习如何编写程序的常用编程语言是由Microsoft制作的Visual Basic。



3

获取并安装你的编程语言。作为安装的一部分,您将在计算机上加载编译器或解释器。这将使您能够将您编写的指令转换为计算机将理解的1和0。



4

学习语法您选择的编程语言。在某些情况下,与Visual Basic.NET一样,只需单击各种按钮和符号即可完成大部分编程。在其他情况下,更复杂的语言将要求您在基本文本中键入指令,稍后将转换为计算机可以理解的内容。您编写的这些基本指令称为源代码。





编译您编写的源代码。这是通过已安装的编译器或解释器完成的。此过程通常会产生错误,您必须在将代码编译成计算机可以理解的内容之前返回并修复源代码。



6

一旦成功完成编译过程,就会有一个计算机可以理解的程序文件。运行或执行您的程序以查看结果。



了解详情 [ ^ ]



https://sites.google.com/site/yacoset/Home/how-to-write-computer-programs [ ^ ]


您是否有满足您要求的解决方案?

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.

解决方案

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


Have you got the solution for your requirement?


这篇关于自动生成时间表ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆