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






Answer / toshimathur

B

Is This Answer Correct ?    0 Yes 0 No

Post New Answer




More Test Cases Interview Questions

How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Update

0 Answers  


Tell me about your Roll and your Team Lead's Role

4 Answers  


How to write test data for login module?

5 Answers  


what is self cleaning of test cases and repeatability and usability of test cases?what is the difference in repeatability and usability

2 Answers   Wipro,


hi, please anyone write test case for "Print" screen

1 Answers  


Please can anybody tell me some good ideas to write test case for fan and test case for chair?

6 Answers   TCS,


how to write junit testcase for ejb3.0 project.. pls reply soon to this mail id shnkrgnsh@gmail.com

0 Answers   IBM,


write a test case for student admission form

2 Answers  


This part of a program is given: WHILE (condition A) Do B END WHILE How many decisions should be tested in this code in order to achieve 100% decision coverage? A. 2 B. Indefinite C. 1 D. 4

1 Answers   ISTQB,


How to write test case template for ATM

2 Answers   Infosys,


what will be testcases for job portal such as naukri.com , monster.com (as existing user)

2 Answers   Unilog,


What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?

0 Answers  




Categories