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

Roads concatenation Problem Consider we have some GIS (Geo Information System) operating over some road network. Each road represented as array of two-dimensional geographical points. Road network is a set of roads. System has function called Concatenate(). This function takes raw road network and should return optimized road network. Optimization lies in concatenating roads with matching start or end points, i.e. if road AB end point matches road BC start point, then optimized network should contain concatenated road AC. Optimized network shouldn’t contain two roads which can be concatenated. Your task is to suggest set of test cases for Concatenate() function in order to make sure it works correctly. public interface IPoint { double Lat { get; } double Lon { get; } } public Road : List<IPoint> { } public RoadNetwork : List<Road> { } public RoadNetwork Concatenate(RoadNetwork roads);

0 Answers   Infosys,


how to make test case for anolog voice logger?

0 Answers  


Can someone tell me the test cases to test the password for with following scenario: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consist one uppercase letter 3. Password should consist of one numeric 4. Password should consist of one special character.

0 Answers  


Give me real life some test cases

1 Answers  


How to write test case template for ATM

2 Answers   Infosys,


how will we know test cases are written by us are correct

5 Answers   TCS,


Can any one please give me a test case for transaction of money thro' mobile phones. I really need it soon. i need the test case in ieee format.please anyone help me.

0 Answers   HCL,


If userA send a string through whatsapp but userB is not getting properly the string, Then what may be problem? Can someone write testcase of this. Both whtsapp application is same version and OS is also same android version.

0 Answers   Google,


I would like to have a Test Case on Yahoomail with GUI and Positive and Negative test cases pls its an Argent.

7 Answers   CTS, Cap Gemini,


can u say me how many test cases i can get for a user to login and enter password ..please specify in testcase desing template for that

7 Answers   Wipro,


Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?

1 Answers  


What is rhinohunt testing? urgent pls send the answer soon

0 Answers  




Categories