What are syntax errors and logic errors?
- Syntax errors and logic errors are thoroughly covered earlier in the course, you can find that revision note here
- A summary of the two error types:
- Syntax error: An error that breaks the grammatical rules of a programming language and stops it from running
- Logic error: Incorrect code is used that allows the program to run, but produces an incorrect or undesired output