- 1、本文档共22页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
程序设计课件(Programming Courseware)
程序设计课件(Programming Courseware)
This article is contributed by shuai_chenxi
Ppt documents may experience poor browsing on the WAP side. It is recommended that you first select TXT, or download the source file to the local view.
The first chapter exercises
T4,6. supplementary exercises: Supplementary Exercises: 1) a brief history of the development of the programming language. A brief history of the development of the programming language. 2) interpretation algorithm, the data structure of meaning. Explain the algorithm, the meaning of the data structure. 3) programming language using a cost measure. What kind of program language which has several price measure. 4) programming languages generally have what kinds of calculation model, the calculation model and program language generally, what kinds of features. Features.
T4
Analysis: the title means that a programming language in the specific provisions of certain grammatical rules and basic statements (instruction), and then set) certain grammatical rules and basic statements (instruction), then use the programming language, the language must comply with the rules of grammar write a program in this language, the language must conform to the rules of grammar, and can only use the basic instruction set. And it can only use the basic instruction set.
(a).2 (a).1 x=a a L1: B = B - 1 L2: x = x +1 C = C - 1 if C 0 then goto L2 if b then c= goto L1 halt
(a).
x = 3, m = 1, b = (b - l1: l2: x = x + 1, m = m - 1 if m 0 then goto l2 if b 0 then goto l1 to l4, y = c n = c: d = (d - 1 l3: y = y + 1 = n - 1, n if n 0 then goto if d 0 then goto l3 l4 died
x = l: x = x - 1 = b 1 b if b 0 then goto l died
简单的扩充: 简单的扩充: 如 dim [10]
the [0] = 1, b = a + b + c = 1, b = a (x, y) of the sub -, sub (a, b)
如 t6 + + x, x + +; x = x + 1; x + = 1; 优点: 增加了程序开发的灵活性. 优点: 增加了程序开发的灵活性. 缺点: 降低了程序的可读性; 缺点: 1) 降低了程序的可读性; 多种语义, 使得翻译较为复杂 多种语义, 使得翻译较为复杂; 2); 3) 容易出错, 容易出错, 如 y = x + +; 与 y = x + +;
1) 简述程序设计语言的发展简史. 简述程序设计语言的发展简史. ::: 从语言的角度考虑 程序设计语
您可能关注的文档
- 程序设计笔记(Programming Notes).doc
- 程涛(At).doc
- 程诚蓝绿商贸的品牌营销之术(Cheng Cheng the brand marketing of blue and green trade).doc
- 程序设计11(Programming 11).doc
- 税收筹划及其法律问题研究(Tax planning and legal issues).doc
- 科目三考试实用谭谈交通网(Subject three test practical Tan Tan traffic network).doc
- 税收筹划实现低税负的专业活动(Tax planning professional activities to achieve low tax burden).doc
- 税收与房价(Tax and house price).doc
- 程序填空1(Fill in the blanks 1).doc
- 税收管理员制度再认识一个历史的视角(Recognition of tax administrator system a historical perspective).doc
文档评论(0)