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 ?    5 Yes 0 No

Post New Answer

More Test Cases Interview Questions

how to write test cases Interactive Elements like Social Bookmarking Post a Comment Number of Views Existing Rating Rate this Add to favorites Track this Author Print this Guess who

2 Answers   Cap Gemini,


Dear Friends, please send me some links where i will get all type of web driver programs.

1 Answers  


What is STATEMENT COVERAGE testing

1 Answers  


14. How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other : - ………… if (Condition 1) then statement 1 else statement 2 fi if (Condition 2) www.istqb.guru then statement 3 a. 2 Test Cases b. 3 Test Cases c. 4 Test Cases d. Not achievable Please explain this how to solve?

1 Answers   ISTQB,


Can anybody help me in writing test cases for a scenario? need help at the earliest. will send you the requirement doc to your email id. thanks raj

0 Answers  






How to write the test cases for STP

0 Answers  


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

1 Answers  


how to write system test cases for a pen

3 Answers   IBM,


Explain the component testing?

0 Answers  


wht are the test cases, we have to write for check box, Anybody can help me. Thanks in advance.

5 Answers   AppLabs, Siemens,


How to write test case for this scenario. The First Name data entry field shall be removed from the existing Contact Information screen

0 Answers  


What is the difference between test scenarios, test cases, and test script?

0 Answers  


Categories