Desk checkingTracing the execution ofa design on paperWalk-throughAmanual simulation of adesign, performed by ateamInspectionA verifica-tion method in which onemember of the teamreads the design line byline and the others pointout errors162Chapter 6Problem Solving and Algorithm DesignThe first step tells us what to do if there is missing data. The next sets up alooping situation that continues as long as there is more data to be read.The first step in the loop describes how the name is to be entered; the nextstep reads the data. We assume that the user enters the data correctly andthat the read executes correctly; therefore, the name is stored in thelastFirstpart of the name. The same logic can be applied to the next threepairs of statements. The first specifies how the user is to input the data; thesecond reads the data. We have now verified this module. We ask you tofinish verifying this design in the exercises.
This is the end of the preview.
access the rest of the document.