Classical

Software Engineering MCQ - SDLC

71:  

 Mr X wants to find out if his program will execute forever if it runs. So he decides to test it

A.

He may never be able to decide in a in finite amount of time if the program will execute forever

B.

He can find out the answer if she runs enough test cases

C.

He has to be clever in the design of her test cases

D.

All of the above

 
 

Option: D

Explanation :


72:  

Choose the correct statement

A.

testing can show the presence of bugs but never their absence

B.

testing can always find all the bugs

C.

testing can always be exhaustive

D.

if we test enough then we can find all of the bugs

 
 

Option: A

Explanation :


73:  

 Testing can

A.

never be exhaustive

B.

can be exhaustive

C.

can always find the bug

D.

None of the above

 
 

Option: A

Explanation :


74:  

 Testing is best done

A.

by an independent test team

B.

by the programmer

C.

by the designer

D.

by the analyst

 
 

Option: A

Explanation :


75:  

 Clinton wants to test his module where he had forgotten to initialize x
If x = 0 then
          Write ("abnormal")
Else
           Write ("normal");
End if;

A.

The tests he generates may give nonrepeatable results

B.

The tests will always given repeatable results

C.

He will find the bug for all runs of the program

D.

None of the above.

 
 

Option: A

Explanation :




Suggest an improvement