Types of errors Flashcards
Final Exam Review
1
Q
Types of errors
A
Syntax errors
Runtime errors
Logic errors
2
Q
Syntax errors
A
Syntax errors are “grammitcal” errors and are detected when you compile the program. Syntax errors prevent your program from executing
3
Q
Runtime errors
A
Runtime errors occur when you tell the computer to do something illegal. Runtime errors may halt execution of your program
4
Q
Logic errors
A
Logic errors are not detected by the computer. Logic errors cause your results to be wrong