[′läj·ik ‚er·ər] (computer science) An error in programming that is caused by faulty reasoning, resulting in the program's functioning incorrectly if the instructions containing the error are encountered.
logic error
A program bug due to an incorrect sequence of instructions.