banner image
Sedang Dalam Perbaikan

Describe Loop Errors and symptoms?

Describe Loop Errors and symptoms?


Loop Errors:
  • Loop errors break down into several different subtypes.
  • They occur around a loop construct in a program.
  • Infinite loops, off-by-one loops, and improperly exited loops.
Symptoms

  • If your program simply locks up, repeatedly displays the same data over and over, or infinitely displays the same message box, you should immediately suspect an infinite loop error.
  • Off-by-one loop errors are quite often seen in processes that perform calculations.
  • If a hand calculation shows that the total or final sum is incorrect by the last data point, you can quickly surmise that an off-by-one loop error is to blame.
  • Likewise, if you were using graphics software and saw all of the points on the screen, but the last two were unconnected, you would suspect an off-by-one error.
Describe Loop Errors and symptoms? Describe Loop Errors and symptoms? Reviewed by MCH on July 17, 2012 Rating: 5

No comments:

Powered by Blogger.