Classical

Software Engineering MCQ - SDLC

76:  

Ramesh wants to test the folowing program by generating random test values for x and y. The error in the program is z = 22 should be there

read (x);
read ( y);
If (x== y) then
              z = 2;
else
             z = 0;
end If;

A.

Random testing is insufficient as the bug may-never by detected

B.

Random testing will always find the bug

C.

Random testing always generates equal values for x and y

D.

None of the above

 
 

Option: A

Explanation :




Suggest an improvement