84.0k views
1 vote
Testing a program with values that are close to value that will change the execution of a program is called_______.

User Surajano
by
8.4k points

1 Answer

2 votes

Final answer:

Stress testing involves testing a program with values close to their limits to identify how it behaves. The student believes their new test program is an improvement over the original but needs further evaluation.

Step-by-step explanation:

The activity described in the question is called stress testing. Stress testing involves testing a program with values that are close to the limit or threshold that may cause the program to behave differently or produce errors. It helps identify the robustness and performance of a program under extreme conditions.

In this case, the test program Y was designed to generate the same error as the original test program X, but more frequently. By running it multiple times (50 in this case) and observing that the error occurred twice, the student believes it is an improvement over the original program.

However, determining whether the new program is better than the original would require a more comprehensive analysis, considering factors such as the severity and impact of the error, the reliability of the new program, and any potential trade-offs.

User Astik Anand
by
8.4k points