Multiple choice technology testing

Which of the following will be the best definition for Testing :-

  1. The goal / purpose of testing is to demonstrate that the program works.

  2. The purpose of testing is to demonstrate that the program is defect free.

  3. The purpose of testing is to demonstrate that the program does what it is supposed to do.

  4. Testing is executing Software for the purpose of finding defects.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

According to classic software testing principles, testing is defined as executing code with the primary goal of finding defects. Demonstrating that a program works or is defect-free is logically impossible because testing can only prove the presence of defects, not their absence.