pseudocode伪代码-天津大学计算机科学与技术学院.ppt

pseudocode伪代码-天津大学计算机科学与技术学院.ppt

pseudocode伪代码-天津大学计算机科学与技术学院

8.1 CONCEPT INFORMAL DEFINITION Algorithm(算法): a step-by-step method for solving a problem or doing a task.(逐步解决问题或完成任务的方法) In this definition, an algorithm is independent of the computer system(独立于计算机系统). More specifically, we should also note that the algorithm accepts a list of input data and creates a list of output data.(输入一组数据,产生一组输出数据) Input The algorithm accepts the list of five integer as input. Processing The algorithm uses five steps to find the largest integer. Output Because there are no more integers to be processed, the algorithm outputs the value o

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档