Error Handling Flashcards
1
Q
Definition of a run time error
A
Error that occurs when a computer is instructed to do something that it isn’t designed to do e.g dividing by zero
2
Q
What are logical errors
A
These are the most difficult to identify as the program runs as expected but does not give the expected value
3
Q
What is the point of a trace table
A
Imitate the way the computer goes through code, can find any errors before program is even made
4
Q
Definition of a syntax error
A
Error caused by spelling error in code