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

write test case for coin-box telephone

5 Answers  


What is mean by Equal Partitioning

4 Answers   Infosys,


how to write test case for GUI testing and tell me in brief about GUI and all related WEB based testing..if possible then pls give example of its test case...m new in testing........thannx for help in advance

0 Answers  


can anyone please send me the sample testcases on how to write it into the testtemplates

3 Answers  


write a test case for yahoo compose page?

0 Answers   Cap Gemini, CMC,






How to write test cases for Web related sites(ex: shopping carts sites)

1 Answers  


What is the Difference between Testing Types and Testing Techniques

4 Answers   ISTQB,


Write test caes on 1.excel sheet 2. gmail attachments 3.raiway ticketing 4.negative test cases on net banking

5 Answers   Zycus Infotech,


How to write test case for this scenario. The data entry field for city shall be removed from the screen

1 Answers   SpinSci,


A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ordered. Which of the following groups contain three test inputs that would be generated using boundary value analysis?

0 Answers  


How to write test cases ?

5 Answers  


write the system testcase and functional testcase for the below scenario scenario: view the balance in online account

5 Answers   CTS,


Categories