| Keyword | Definition |
|---|---|
| Logic error | an error that occurs when an algorithm does exactly what it's told to do, but it's been told to do the wrong thing (e.g. repeat too many times) |
| Runtime error | an error that occurs after the code has started running but when it attempts to do something impossible (e.g. opening a file that doesn't exist) |
| Syntax error | an error that prevents the code from running at all because the code doesn't meet the rules of the programming language (e.g. missing brackets) |