Test and debugging A designer might try out an algorithm on several typical and atypical inputs and to find the error.In fact,a programmer will normally test a program on numerous inputs,sometimes called test sets,and will gradually rid it of its language errors and most of its logical errors. ■Test是一种合理的获得“正确”程序的方法吗? 口程序是一种人工制品。既然如此,通过实验观察,应该可以得到这个“物体”的某 些属性 0 程序同时又是一种人工“智力”制品,很难通过“实验观察”,洞悉其“正确性” How to“gradually rid it of its errors”? Debug!Test and debugging ◼ A designer might try out an algorithm on several typical and atypical inputs and to find the error. In fact, a programmer will normally test a program on numerous inputs, sometimes called test sets, and will gradually rid it of its language errors and most of its logical errors. ◼ Test 是一种合理的获得“正确”程序的方法吗? ❑ 程序是一种人工制品。既然如此,通过实验观察,应该可以得到这个“物体”的某 些属性 ❑ 程序同时又是一种人工“智力”制品,很难通过“实验观察”,洞悉其“正确性” ◼ How to “gradually rid it of its errors”? ❑ Debug!