141k views
0 votes
Testing a program with values that are close to value that will change the execution of a program is called_______.

A) Integration testing
B) System testing
C) Stress testing
D) Boundary testing

User Opedog
by
7.8k points

1 Answer

2 votes

Final answer:

Boundary testing is the correct term for testing a program with values close to a value that changes the program's execution, which ensures that edge cases are handled properly.

Step-by-step explanation:

Testing a program with values that are close to the value that will change the execution of a program is called boundary testing. This type of testing is used to check if the program behaves as expected when given input values at, above, or below the edges of input ranges that the program is designed to handle. Boundary testing is an essential part of software testing because errors often occur at the boundaries rather than in the center of input data ranges. It's useful for ensuring that the program can handle edge cases without failures or unexpected behavior.

Examples of boundary testing might include testing a program that accepts numerical input between 1 and 10 with the numbers 0, 1, 10, and 11 to see if it correctly rejects the out-of-range numbers and accepts the in-range numbers. The correct answer to the question is D) Boundary testing.

User Rieckpil
by
7.6k points