6.0k views
0 votes
Testing a function or program using test value that are at or near the value that change the outcome of the program is known as using

A) boundary value
B) a black-box
C) parameter
D) functional decomposition

1 Answer

3 votes

Final answer:

Boundary value testing is a method used in software testing where test cases are created using values at the edge of input domains to effectively find errors.

Step-by-step explanation:

The concept being described is known as boundary value testing. This is a software testing technique in which tests are designed to include representatives of boundary values.

In practice, if there is a function or program that behaves differently based on certain input ranges, using boundary values—values that are on the edge or just outside of these ranges—can help in identifying errors that occur at the extremities of input domains. This method is particularly useful because systems often have a higher likelihood of failing at the extremes rather than the middle of the input range. For instance, if a program is expected to accept numbers 1 through 10, then the boundary values would be 0, 1, 10, and 11.

User Gabe Brown
by
8.3k points

No related questions found