logic error

A programming error that can cause code to produce wrong results or halt execution.  Can be caused by incorrect variable names, wrong variable types, endless loops, flaws in logical comparisons, or array problems.