Chapter 11: Testing, Testing…1, 2, 3 (Selecting Test Data)
TRUE/FALSE
1. The last step in the problem-solving process is to rigorously test the program before releasing it to the
user.
2. A program should be tested with a set of sample data that includes both valid and invalid data.
3. Invalid data typically is the result of the user making a typing error, entering the data in an incorrect
format, or neglecting to make a required entry.
4. Typically, you should never include the number 0 in test data.
5. If the application’s code contains a selection structure, use values that will test each path.
6. When the KeyPress event occurs, a character corresponding to the pressed key is sent to the KeyPress
event’s e parameter, which appears between the square brackets in the event’s procedure header.
7. You refer to the Backspace key on your computer keyboard using the ControlChars.Back constant.
8. The Delspace key is necessary for editing the text box entry.
9. Whenever you make a change to an application’s code, you should retest the application using the test
data listed in the test data chart.
10. Programmers can use a special dialog box, called a dialog box, to display messages to the user.
11. When you are satisfied that an application is functioning correctly, you can release it to the beta
engineers.