问题求解论题1-4: 算法的基本结构 陶先平 2021-10-28
问题求解论题1-4: 算法的基本结构 陶先平 2021-10-28
问题1: 你会吃蟹黄汤包吗? 轻轻提,慢慢移,先开窗,再喝汤
吃一只汤包的“算法” 顺序很重要: ·将包子从蒸笼中轻轻提起,and then ·将包子慢慢移动到面前的碟子中,and then ·在包子的上方咬开一个小口,and then ·通过小口吸食包子里的汤,and then ·将包子送入口中 完成!
吃一只汤包的“算法” •顺序很重要: •将包子从蒸笼中轻轻提起,and then •将包子慢慢移动到面前的碟子中,and then •在包子的上方咬开一个小口,and then •通过小口吸食包子里的汤,and then •将包子送入口中 完成!
顺序,是组织算法的最基本的方法 按照算法步骤,顺序书写指令
顺序,是组织算法的最基本的方法 按照算法步骤,顺序书写指令
如何理解下面这句话? My second remark is that our intellectual powers are rather geared to master static relations and that our powers to visualize processes evolving in time are relatively poorly developed. For that reason we should do our utmost to shorten the conceptual gap between the static program and the dynamic process,to make the correspondence between the program(spread out in text space) and the process(spread out in time)as trivial as possible. ----E.W.Dijkstra 顺序结构产生最小的gap
如何理解下面这句话? • My second remark is that our intellectual powers are rather geared to master static relations and that our powers to visualize processes evolving in time are relatively poorly developed. • For that reason we should do our utmost to shorten the conceptual gap between the static program and the dynamic process, to make the correspondence between the program (spread out in text space) and the process (spread out in time) as trivial as possible. ----E.W.Dijkstra 顺序结构产生最小的gap