Identifying Errors
Last updated
Last updated
As a basis for solving questions where you have to find the errors in a program, look for:
Syntax errors - incorrectly spelled variables, incomplete loops
Logic errors - incorrect code is used to run a program but it still works but the output is wrong
Runtime errors - when you divide a number by 0 or something similar (you get an error)