6.7 Boundary-Related Errors

 < Day Day Up > 



When a program executes, the program cursor moves from one part of the program to the next, executing the coded instructions sequentially. The transition from one area to the next in the program is defined by the exit from one boundary condition and the entry into the next. This transitional state, or boundary, can include numeric, text, and operator boundaries. If the user is asked to enter a number from 1 to 99 in a program, what happens if the user enters the letter B or types in 123 instead? What if the user enters the number 84, and the system says the number is too large, prompting the user to try entering a number from 1 to 99 once again? Does the program fail to validate the input and attempt to process bad input? Have all possible boundary conditions been accounted for in design and test? Really?



 < Day Day Up > 



Managing Software Deliverables. A Software Development Management Methodology
Managing Software Deliverables: A Software Development Management Methodology
ISBN: 155558313X
EAN: 2147483647
Year: 2003
Pages: 226

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net