1.2.5: understand types of errors that can occur in programs (syntax, logic, runtime) and be able to identify and correct logic errors in algorithms
Keyword | Definition |
---|---|
error | something that's gone wrong with a program |
logic error | type of error where the program does exactly what it's told to do but the programmer told it to do the wrong thing |
runtime error | type of error where the program crashes because it tries to do something impossible |
syntax error | type of error which prevents a program from running at all because the rules of the programming language have been broken |