Dale - Computer Science Illuminated 189

Dale - Computer Science Illuminated 189 - 162 Chapter 6...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Desk checking Tracing the execution of a design on paper Walk-through A manual simulation of a design, performed by a team Inspection A verifica- tion method in which one member of the team reads the design line by line and the others point out errors 162 Chapter 6 Problem Solving and Algorithm Design The first step tells us what to do if there is missing data. The next sets up a looping 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 next step reads the data. We assume that the user enters the data correctly and that the read executes correctly; therefore, the name is stored in the lastFirst part of the name. The same logic can be applied to the next three pairs of statements. The first specifies how the user is to input the data; the second reads the data. We have now verified this module. We ask you to finish verifying this design in the exercises. The process we have used is a
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/13/2011 for the course CSE 1550 taught by Professor Marianakant during the Fall '10 term at York University.

Ask a homework question - tutors are online