Question:

What is Off-by-one error?

by Guest1549  |  12 years, 8 month(s) ago

0 LIKES UnLike

What is Off-by-one error?

 Tags: Error, Offbyone

   Report

1 ANSWERS

  1. GiGi
    An off-by-one error (OBOE) is a logical error involving the discrete equivalent of a boundary condition. It often occurs in computer programming when an iterative loop iterates one time too many or too few. Usually this problem arises when a programmer fails to take into account that a sequence starts at zero rather than one (as with array indices in many languages), or makes mistakes such as using "is less than or equal to" where "is less than" should have been used in a comparison. This can also occur in a mathematical context.

Sign In or Sign Up now to answser this question!

Question Stats

Latest activity: 15 years, 1 month(s) ago.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.