2.1 Identifying errors and suggesting fixes Flashcards
1
Q
What are the two main types of errors?
A
Syntax and Logic errors
2
Q
What are syntax errors?
A
- Syntax errors are errors which break the grammatical rules of the programming language
- They stop it from being run/translated
3
Q
What are logic errors?
A
- Logic errors are errors which produce unexpected output
- On their own they won’t stop the program running