170k views
1 vote
What is the purpose of testing a program with sample data or input?

1 Answer

1 vote

Answer:

testing to make sure that the program is functioning as intended

Step-by-step explanation:

Sample Data, Test Data, or Inputs are all used with the main purpose of testing to make sure that the program is functioning as intended. The "sample data" needs to provide a very specific output value when inserted into the program. This output value is already known beforehand, therefore if the program outputs the correct "expected" value then the program is functioning correctly.

User Senica Gonzalez
by
4.7k points