Error Handling Flashcards
1
Q
Name the 3 types of errors that occur in software
A
Syntax errors
Run-time errors
Logic errors
2
Q
What is a syntax error
A
an error that occurs when the programmer fails to obey one of the grammar rules of the programming language that they are using
3
Q
What is a run-time error
A
An error that occurs whenever the program instructs the computer to carry out an operation that is either not designed to or slow to do
4
Q
What is a logic error
A
An error that occurs when either: the programmer did not understand the manner in which the program was meant to behave
The programmer did not understand the individual behaviour of each operation that was part of the program
The programmer was careless