Design & Theory of Programming - Errors & Testing Flashcards
1
Q
What is a syntax error?
A
When the rules of the programming language have been broken
2
Q
What is a logic error?
A
When the output produced by running a program is not the expected result/incorrect
3
Q
What is an execution error?
A
When the program will crash and stop running
4
Q
What is normal data?
A
Data that is within the range of a program
5
Q
What is extreme data?
A
Data that is on the boundary of the range of a program
6
Q
What is exceptional data?
A
Data that is out the range of a program and should be rejected