Object Oriented Software Engineering   View all facts   Glossary   Help
subject > problem > defect > defect in an ordinary algorithm > off-by-one error
Next defect in an ordinary algorithmoperator precedence error    Updefect in an ordinary algorithm    Previous defect in an ordinary algorithmnot terminating a loop or recursion   

off-by-one error comparison table
Subject have testing strategy is a kind of be is a subtopic of has definition
defect in an ordinary algorithm defect 10.4 - Defects in Numerical Algorithms 
off-by-one errordevelop boundary tests in which you verify that the program computes the correct numerical answer, or performs the correct number of iterationsdefect in an ordinary algorithmvery common especially in graphical applications10.3 - Defects in Ordinary AlgorithmsA defect in which a program inappropriately adds or subtracts one, or inappropriately loops one too many times or one too few times

Next defect in an ordinary algorithmoperator precedence error    Updefect in an ordinary algorithm    Previous defect in an ordinary algorithmnot terminating a loop or recursion