Program Development & Testing Flashcards
Syntax error
Error that is caused by incorrect arrangement of words and symbols used in the programming language
Run-time error
Error that occurs while the program is running, usually causing the program to crash or hang
Logic error
Error that occurs that does not give an expected outpuf
Examples of syntax error
- Spelling mistakes
- Incorrect sequence of symbols in source code
- Missing symbols in source code
Examples of run-time error
- Incorrect use of commands
- Improper validation of input data
- Uses of conditions that causes program to go out of control
Examples of logic error
- Use of incorrect or incomplete algorithm
- Use of wrong Boolean expression
- Use of wrong data type
Normal conditions (normal data)
Situations where input data follows what is expected during normal use of the program
Boundary conditions (abnormal data)
Situations where input data is at the limit of what the program is designed to cope with or where special handling is required
Error conditions (extreme data)
Situations where input data would normally be rejected by the program