- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
5.1 Words Algorithm n. [数]算法 decision n. 决定,判断 discipline n. 纪律,学科 v. 训练 iteration n. 迭代,重复,反复 procedure n. 程序 pseudocode n. 伪代码 Repetition n. 重复,循环 sequence n. 顺序,序列 structure n. 结构 v. 构成,组织 terminate v. 停止,结束 5.1 Algorithms and Flowcharts The computer scientist Niklaus Wirth stated that: Programs = Algorithms + Data The algorithm is part of the blueprint or plan for the computer program; an algorithm is: “An effective procedure for solving a problem in a finite number of steps.” 计算机科学家Niklaus Wirth提出这样的公式:程序=算法+数据。 算法是计算机程序的蓝图或计划的一部分,一个算法就是:“用有限的步骤解决问题的有效的过程。” 所谓有效,就是说找到了答案并且停止了,也就是说有有限的步骤。一个设计良好的算法总是能得到答案,也许不是希望的答案但是会有答案。也可能答案本身就是没有答案。一个设计良好的算法应该保证能够终止。 It is effective, which means that an answer is found and it finishes, that is it has a finite number of steps. A well-designed algorithm will always provide an answer, and it may not be the answer you want but there will be an answer. It may be that the answer is that there is no answer. A well-designed algorithm is also guaranteed to terminate. 算法的主要特征如下: 顺序(或者处理)、 判断(或者选择)、 循环(或者重复)。 The key features of an algorithm are: Sequence (also known as Process) Decision (also known as Selection) Repetition (also known as Iteration or Looping) 数学家Bohm和Jacopini于1964年证明:任何一个程序均可用“顺序”、“判断”和“循环”来陈述。Bohm和Jacopini的工作非常有意义,因为它最终形成了当前应用广泛的结构化定理。 In 1964 the mathematicians Corrado Bohm and Guiseppe Jacopini demonstrated that any algorithm can be stated using sequence, decision and repetition. The work of Bohm and Jacopini was of great importance since it eventually led to the disciplines of structured program design that are much used today. 顺序算法就是处理过程的每一步以特定的顺序执行,在这种算法中的每一个过程要处在正确的位置,否则算法可能会失败。 判断结构——If…then…, If…then…else… Sequence means that each step or process in the algorithm is executed in the specified order. In an algorithm each process must be in the correct place, otherwise the algorithm will most probably fail. The Decision constructs—If ...
您可能关注的文档
- 《服装创意设计》第三章服装创意设计(上).pptx
- 《服装创意设计》第三章服装创意设计(中).ppt
- 《服装创意设计》第一章概论.pptx
- 《旅游景观设计与欣赏》第1章绪论附简介.ppt
- 《旅游景观设计与欣赏》第2章旅游景观设计概述.ppt
- 《旅游景观设计与欣赏》第6章旅游景观欣赏概述.ppt
- 《旅游景观设计与欣赏》第7章旅游景观欣赏心理.ppt
- 《旅游景观设计与欣赏》第8章自然旅游景观欣赏.ppt
- 《旅游景观设计与欣赏》第9章人文旅游景观欣赏.ppt
- 《旅游景观设计与欣赏》练习题答案.doc
- 2025《天然气轻烃回收工艺的设计计算书》4200字.docx
- 2025《中国企业国际市场营销策略研究的理论基础综述》4200字.docx
- 2025《企业员工绩效管理存在的问题浅析—以D集团为例(附问卷)》15000字.docx
- 宝宝早教启蒙从0开始:新手育儿知识大全.pptx
- 宝宝早教启蒙:音乐游戏课件.pptx
- 宝宝洗澡全步骤,新手爸妈轻松学.pptx
- 【地】交通运输第2课时课件-2025-2026学年八年级地理上学期(人教版2024).pptx
- 【地】海洋资源第1课时课件-2025-2026学年八年级地理上学期(人教版2024).pptx
- 【地】中国的矿产资源课件-2025-2026学年八年级地理上学期(人教版2024).pptx
- ICU心理护理质量控制与效果评价体系构建.pptx
原创力文档


文档评论(0)