ImageVerifierCode 换一换
格式:DOCX , 页数:9 ,大小:22.36KB ,
资源ID:19159353      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/19159353.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(实验设备管理信息系统之结束语和程序语言说明重点.docx)为本站会员(b****2)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

实验设备管理信息系统之结束语和程序语言说明重点.docx

1、实验设备管理信息系统之结束语和程序语言说明重点 题 目 实验设备管理信息系统 结束语时间如白驹过隙,转瞬即逝,三个月的毕业设计结束了,在这段时间里,我们没有虚度光阴,相反我们获益匪浅。这是一次难得的练兵机会,像这样系统的,完整的做一个系统,机会不多,有指导老师从旁指导,更是难得。在做设计的过程中,我碰到了困难,但没有怨天尤人,更不会放弃,我选择迎难而上。只有不断的给自己充电,才能战胜困难,不断成长。这段时间学到的东西,记忆相当深刻,无论是技能上还是思想上,我都学到了很多东西,这是我的一大财富。只要相信自己,就能成功。期待在将来的路途上,创造更加辉煌的成绩。参考文献1 刘刀桂,孟繁晶.Visua

2、l C+ 实践与提高数据库篇M. 中国铁道出版社,2003.10-308.2 RobHawthorne.SQL Server 2000数据库开发从零开始M.人民邮电出版社,2004.2.254-355.3 梁方明.SQL Server2000数据库编程M.北京希望电子社,2005.10.23-318.4 启明.Visual C+ +SQL Server数据库应用系统开发与实例M.人民邮电出版社,2005.5.105-305.5 史济明.软件工程M.高等教育出版社,2004.12.30-235.6 David M.Dikel.软件体系结构M.高等教育出版社,2004.5.致谢在这个特别的日子里,

3、我首先感谢我们的母校,她为我们提供良好的学习环境,更为我们做出了拼搏进取的榜样,我身为学院的学生而骄傲,在以后的人生旅途上。我要学习母校求实进取。接着,我要感谢我的指导老师,在这段毕业设计的日子里,由于老师的支持和用心帮助,才能使得我将此系统完成。最后,我也要感谢软件学院为我们提供良好的上机条件及学习的动力。相信我的毕业设计的成功,就是给以学校的回报,因此我将会不懈努力把系统做好,以表示对学校,学院,老师的感谢!程序设计语言语言是通信系统。程序设计语言由所有允许人机通信的符号、字符以及使用规则组成。一些程序设计语言的产生是为了服务于特殊的目的(例如控制机器人),而其它一些程序设计语言则是比较灵

4、活的通用工具,可适用于许多类型的应用。然而, 每一个程序设计语言必须接收确定类型的书写指令以使一个计算机系统能够完成大量的熟悉的操作。换言之,每一个语言必须具有属于以下为人们所熟悉范畴的指令:1. 输入/输出指令。用于I/O设备与中央处理器之间的通信,这些指令提供了将要完成的输入或输出操作类型的细节以及操作期间将用到的存储器地址。2. 计算指令。 用于实现加、减、乘、除的指令,显然,所有程序设计语言均有此类指令。3. 逻辑/比较指令。这些指令用于转移程序控制,以及编写程序中所用到的选择和循环结构。在处理过程中, 两个数据项的比较可能是一个逻辑指令的结果。正如你了解的那样,程序控制能根据一个选择

5、测试(如果R0,那么A,否则B)的结果来决定其不同的路径,而一个循环可以根据一个出口条件测试的结果(测试Q=-99 9?)而继续进行或终止。 语言中除了设定测试或比较以实现转移程序控制的指令外,还有一些不依赖比较结果的无条件转移指令。4. 存储/检索和传送指令。这些指令用于处理期间的存储、检索和传送数据。数据可以从一个存储地址复制到另一存储地址以及进行必要的检索。 但是,即使所有的程序设计语言都具有一个执行上述这些操作的指令集,但在机器语言、汇编语言以及高级语言中所使用的符号、字符以及语法方面仍有明显的区别。机器语言 计算机的机器语言由二进制数字串组成,并且是唯一能被CPU直接“理解” 的语言

6、。任何机器语言指令至少由两部分组成。第一部分是命令或操作,它告诉计算机将完成什么功能,每一台计算机都有一个操作码来完成其功能。指令的第二部分是操作数,它告诉计算机在哪里找到或存储数据以及将要操纵的其它指令,它们是计算机将要操纵的对象,一条指令的操作数的数目因计算机不同而异。在单操作数机器中,指令“ADD 0184”的二进制值将导致地址0184 中的值加到算术逻辑部件中某一寄存器的值中。在双操作数机器中,“ADD 0184 8672”的二进制表示将导致地址8672中的值加到地址0184的值中。单操作数格式在最小的微计算机中十分常见,而双操作数结构则多用于大多数其它机器。按照今天的标准,早期的计算

7、机实在令人难以容忍,程序员不得不将大量指令直接翻译成机器能理解的机器语言的形式。例如,为早期的IBM机器书写指令“ADD 0184”的程序员将按以下形式书写:000。除了必须记住机器指令集中大量命令的数字代码外,程序员还被迫跟踪数据和指令的存储器地址分配。最早的编码常常花费几个月时间, 因此非常昂贵且常常出错。用于发现程序错误的检查指令,与最初编程时一样冗长,而且如果一个程序后来必须进行修改,则要耗费几周时间。汇编语言为了减轻程序员的负担,50年代初期开发了助记符操作码和符号地址。为了完善程序准备过程,首先要做的工作之一是用字母符号(即助记符)去替代数字化的机器语言操作码。现在,每一个计算机都

8、有一套助记符代码,当然实际的符号因机器类型、型号而异。计算机仍使用机器语言处理数据,但汇编语言软件首先把特定操作码符号翻译成对应的机器语言。 这一改进为更进一步的发展奠定了基础。如果计算机能较容易地将符号翻译成基本操作,那么它为什么不能也完成其它一些事务性的编码功能,诸如将存储器地址赋值成数据呢?符号化寻址就是这样一个实践, 它将地址表达为程序员方便使用的符号而不是按照它的绝对数字地址来表示。在符号化寻址的初期阶段,程序员将一个符号名和一个真实地址赋给一个数据项,例如,一个月中某百货商店顾客所购商品的总值由程序员赋值给地址并赋符号名称(总值),同一月中返回的未用商品的总值赋值给地址,取名(赊欠

9、)。那么,对于程序的剩余部分来说,当要处理这类数据项时,程序员将使用其符号名而不是地址来进行操作,这样,可以写指令“,”,从购买总值中减去返回商品的总值,于是汇编语言软件可将该符号化指令翻译成机器语言的位串:011111 1 1助记符操作码 2047 0063(S) (CREDIT) (TOTAL)此后又有了如下的进展:程序员将分配和跟踪指令地址的任务交由计算机完成,程序员只要告诉机器第一个程序指令的存储地址号码,则汇编语言软件就能自动地从该点开始依程序存放所有其它指令。因此,如果另一指令需要加到程序中,那么没有必要修改插入该指令处以后的所有指令地址(而这一修改在由机器语言书写的程序中是必须要

10、做的)。相反,下一次程序执行时处理器将自动调整存储地址。程序员不再像以前那样将真实地址赋给符号化数据项,现在他们只需说明他们的程序所需的第一个地址即可,而一个汇编语言程序将从这里开始执行,为指令和数据分配地址空间。 这一汇编语言程序(或汇编程序),还使计算机能将程序员的汇编语言指令翻译成它自己的机器代码。在汇编语言中由程序员书写的指令程序被称作源程序,当该源程序由汇编程序转换为机器码后,则被称为目标程序。汇编语言较之机器语言具有许多优点,它能节省时间,减少细节,较少出错,而且产生的错误也易于发现。汇编语言书写的程序较之机器语言程序更易修改,但也存在一些局限,汇编语言的编码(编程)仍然十分耗时。

11、汇编语言的一个最大的缺陷在于它是面向机器的,即它们是为特定的处理器而设计的,程序在不同机器上要重新编码才能执行。高级语言 早期的汇编程序中,一条源程序指令只产生一条机器指令。为了加快编码速度,开发出了一种汇编程序,它能将每一源程序指令翻译成一数量可变的机器语言代码。换句话说,一条宏指令可以产生若干行机器语言代码,例如,程序员可以写“READ FILE”(读文件),然后翻译软件会自动地提供一系列详尽的预先准备好的机器语言指令,它们会将从输入设备读入的数据文件的一个记录拷贝到主存储器中,这样程序员就减轻了任务,而不必为要执行的每一条机器操作书写指令。 助记符技术和宏指令的研制与开发又反过来导致了高

12、级语言的研制与开发,它们通常面向某类特定的处理问题。例如,很多高级语言中用于处理具有科学化数学特征的问题,而其它一些高级语言则强调文件处理的应用。与汇编语言不同,高级语言程序几乎可以不加修改地用于不同的计算机。这样,当换用新设备时,重编程的费用可极大地减少。高级语言的其它优点在于: 它们比汇编语言更易于学习。 它们只需较少时间来书写程序。 它们提供较好的文本。 易于维护。 一个熟练的程序员,书写某种高级语言程序时将不受某一种机器类型的限制。PROGRAMMING LANGUAGESA language is a system of communication. A programming la

13、nguage consists of all the symbols, characters, and usage rules that permit people to communicate with computers. Some programming languages are created to serve a special purpose(e.g.,controlling a robot), while others are more flexible general-purpose tools that are suitable for many types of appl

14、ications. However, every programming language must accept certain types of written instructions that will enable a computer system to perform a number of familiar operations. That is, every language must have instructions that fall into the following familiar categories:1. Input/output instructions.

15、 Required to permit communication between I/O devices and the central processor, these instructions provide details on the type of input or output operation to be performed and the storage locations to be used during the operation.2. Calculation instructions. Instructions to permit addition, subtrac

16、tion, multiplication, and division during processing are, of course, common in all programming languages.3. Logic/comparison instruction. These instructions are used to transfer program control, and are needed in the selection and loop structures that are followed to prepare programs. During process

17、ing, two data items may be compared as a result of the execution of logic instruction. As you know, program control can follow different paths depending on the outcome of a selection test(IF R0 THEN A, ELSE B). And a loop can be continued or terminated depending on the outcome of an exit condition t

18、est(does Q=-99.9?). In addition to the instructions in languages that set up tests or comparisons to effect the transfer of program control, there are also unconditional transfer instructions available that are not based on the outcome of comparisons. 4. Storage/retrieval and movement instructions.

19、These instructions are used to store, retrieve, and move data during processing. Data may be copied from one storage location to another and retrieved as needed. But even though all programming languages have an instruction set that permits these familiar operations to be performed, theres a marked

20、difference to be found in the symbols, characters, and syntax of machine languages,assembly languages, and high-level languages. Machine Languages A computers machine language consists of strings of binary numbers and is the only one the CPU directly understands. An instruction prepared in any machi

21、ne language will have at least two parts. The first part is the command or operation, and it tells the computer what function to perform. Every computer has an operation code or op code for each of its functions. The second part of the instruction is the operand, and it tells the computer where to f

22、ind or store the data or other instructions that are to be manipulated. The number of operands in an instruction varies among computers. In a single-operand machine, the binary equivalent of ADD 0184 could cause the value in address 0184 to be added to the value stored in a register in the arithmeti

23、c-logic unit. In a two-operand machine, the binary representation for ADD 0184 8672 could cause the value in address 8672 to be added to the number in location 0184. The single-operand format is popular in the smallest microcomputers; the two-operand structure is likely to be available in most other

24、 machines. By todays standards, early computers were intolerant. Programmers had to translate instructions directly into the machine-language form that computers understood. For example, the programmer writing the instruction to ADD 0184 for an early IBM machine would have written: 000 In addition t

25、o remembering the dozens of code numbers for the commands in the machines instruction set, a programmer was also forced to keep track of the storage locations of data and instructions. The initial coding often took months, was therefore quite expensive, and often resulted in error. Checking instruct

26、ions to locate errors was about as tedious as writing them initially. And if a program had to be modified at a later date, the work involved could take weeks to finish. Assembly Languages To ease the programmers burden, mnemonic operation codes and symbolic addresses were developed in the early 1950

27、s. One of the first steps in improving the program preparation process was to substitute letter symbolsmnemonicsfor the numeric machinelanguage operation codes. Each computer now has a mnemonic code, although, of course, the actual symbols vary among makes and models. Machine language is still used

28、by the computer as it processes data, but assembly languagesoftware first translates the specified operation code symbol into its machine-language equivalent. And this improvement sets the stage for further advances. If the computer could translate convenient symbols into basic operations, why could

29、nt it also perform other clerical coding functions such as assigning storage addresses to data? Symbolic addressing is the practice of expressing an address not in terms of its absolute numerical location, but rather in terms of symbols convenient to the programmer. In the early stages of symbolic a

30、ddressing, the programmer assigned a symbolic name and an actual address to a data item. For example, the total value of merchandise purchased during a month by a department store customer might be assigned to address 0063 by the programmer and given the symbolic name TOTAL. The value of merchandise

31、 returned unused during the month might be assigned to address 2047 and given the symbolic name CREDIT. Then, for the remainder of the program, the programmer would refer to the symbolic names rather than to the addresses when such items were to be processed. Thus, an instruction might be written S

32、CREDIT,TOTAL to subtract the value of returned goods from the total amount purchased.The assembly language software might then translate the symbolic instruction into this machine-language string of bits:011111 1 1Mnemonic op code 2047 0063(s) (CREDIT) (TOTAL) Another improvement followed. The programmer turned the task of assigning and keeping track of instruction addresses over to the computerDBg1(6)db0. The programmer merely told the machine the storage a

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1