Using the same code example as question 17,how many tests are required to achieve 100% branch/decision coverage?

A. 1

B. 2

C. 3

D. 4



Using the same code example as question 17,how many tests are required to achieve 100% branch/decisi..

Answer / toshimathur

C

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Test Cases Interview Questions

How would you test a cup and or pencil?

2 Answers  


If the pseudo code below were a programming language ,how many tests are required to achieve 100% statement coverage? 1. If x=3 then 2. Display_messageX; 3. If y=2 then 4. Display_messageY; 5. Else 6. Display_messageZ; 7. Else 8. Display_messageZ; A. 1 B. 2 C. 3 D. 4

1 Answers   ISTQB,


please tel me how to write test case for search engine to track peoples,when user enter the city,state,zipcode(ex:Kansas city,Missouri,64155)? (note country is already selected as a united states )

0 Answers   IBM,


How to write test case for this scenario. The system shall allow the user to select an option to sort the results by the city of the family contact

1 Answers  


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  






if software faild in customer environment what we called a)error b)fault c)defect d)failure

5 Answers   ITC Infotech,


What all comes under test case review?

5 Answers   TCS,


is it necessary to write test cases in tabular form or will point wise will do.

3 Answers   Google, Zycus Infotech,


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,


what is login and login in testcases we write in testcaseid

0 Answers  


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,


write case for petrol pump?

9 Answers   Accenture, AppLabs, EPPCO, Satyam,


Categories