IF A > B THEN

C = A – B

ELSE

C = A + B

ENDIF

Read D

IF C = D Then

Print "Error"

ENDIF

A. 1 test for statement coverage, 3 for branch coverage

B. 2 tests for statement coverage, 2 for branch coverage

C. 2 tests for statement coverage. 3 for branch coverage

D. 3 tests for statement coverage, 3 for branch coverage

E. 3 tests for statement coverage, 2 for branch coverage



IF A > B THEN C = A – B ELSE C = A + B ENDIF Rea..

Answer / toshimathur

B

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More Test Cases Interview Questions

Can anyone tell me the test cases for Operating System.

1 Answers  


Can any body please tell me how to test Anti-virus software? I have been asked this question many times in interview.They asked this question for a security tester,performance tester & functional tester perception. Hope u guys will reply me. Any suggestions welcome.........

2 Answers  


WHAT IS THE MEANING OF RISK BASED TESTING WITH EXAMPLE pls this is urgent Thanks in advance

5 Answers   3M,


how to write system test cases for a pen

3 Answers   IBM,


test cases for traffic signals in a four raod junction.

5 Answers   iGate,


write the test cases for traffic signal and sensor doors.

2 Answers  


How to write test scenarios for a Web application, with an example?

2 Answers  


Suppose a job should be executed for every two hours? Write test case for this?

1 Answers  


How should write test case (i.e. in proper format or simply step by step) in an interview test paper?

1 Answers  


1.If there are so many test cases to be run suppose (100).How will we run those test cases.(using batch) 2. How will we perform over riding in QTP can any one please give me script. thanks

1 Answers   TCS,


What is the difference between Test Input and Test Data??

2 Answers  


If I wrote test cases for Login Window with test case Name Login window & test case id L_01.Now if Name of Login window get changed in the next version.then May I have to change the Test case name & Test case id OR HAVE TO block the previous test case and write the new one

1 Answers  


Categories