
322 CHAPTER 6 Flow of Control,Part 2: Looping
6.14.1 Multiple Choice Exercises
Questions 9,10
6.14.3 Fill In the Code
Question 28
6.14.4 Identifying Errors in Code
Question 34
6.14.5 Debugging Area
Question 36
6.14.6 Write a Short Program
Question 53
Skill Practice
with these end-of-chapter questions
6.7 Testing Techniques for while Loops
It’s a good feeling when your code compiles without errors. Getting a clean
compile, however, is only part of the job for the programmer. The other
part of the job is verifying that the code is correct; that is, that the program
produces accurate results.
It usually isn’t feasible to test a program with all possible input values, ...