A program logic error is an error in an application that compiles and runs without causing run-time errors, but fails to function as intended.

Program Logic Errors

Because of their similarities, many, if not most, run-time errors are also program logic errors. However, the "real" program logic error will not make itself noticed in a similarly spectacular way but will generate incorrect data that may not always be detected. A way to avoid program logic errors is to test the functionality of a program and evaluate if the data the program generates is correct.

See Also