8.3 Errors and Testing Flashcards
Syntax errors
A syntax error is one where the code written doesn’t conform to the rules of the language
Logical errors
The program is being run, but won’t work as the programmer intended
4 different testing data
Normal, boundary, invalid, errneous
What are trace tables used for?
Tracing theough a program in order to find a logical error
Why are trace tables useful?
Determining the purpose of an algorithm, finding the output of an algorithm, finding errors in an algorithm
Iterative testing
Tests modules and parts of a program as the program is developed
Final testing
Tests the whole program at the end of production
Normal data
Typical data that the prpgram expects to handle
Boundary data
Excludes both ends of the allowed range
Invalid data
Data outside the limits of valid data
Erroneous data
For example non-numeric characters in a numeric field