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






Answer / toshimathur

C

Is This Answer Correct ?    0 Yes 0 No

Post New Answer




More Test Cases Interview Questions

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

1 Answers  


Tell me number of test cases required for full statement and branch coverage: Read P Read Q IF P+Q > 100 THEN Print “Large” ENDIF If P > 50 THEN Print “P Large” ENDIF

2 Answers   Siemens,


Can anybody help me out to write test cases for booking train ticket online???

0 Answers  


write testcase for sql table? this is the question asked by interviewer?

4 Answers   IBM,


how to write test cases for the Sorting the Group Name, Group Number, Individual Count, Group Count.

0 Answers  


What is rhinohunt testing? urgent pls send the answer soon

0 Answers  


Could someone answer the following testing Questions? 1)Give 5 reasons why a build can be released with bug 2)Write a bug report for a word processor program which crashes when the contents of 89th column is been sorted in assending order. 3)write test 10 cases for program which has a table with 2 fields of NAME od char type and CLASS of INT type.NAME fields is truncated after 26 charaters and CLASS takes value between 1 to 9 both included. There are 3 possible opearations program can perform a)When a new student joins the class the program adds a new field b)When student leaves the class the field get deleted c)when student gets promoted then program incremts the class by 1 Write 5 test cases for the scenario. 4)write 10 test cases for a program that takes date in dd/mm/yyyy format and prints it out with a increment of 1. for dates (dd) can be given in the range 1<=dd>=30 for months (mm) can be given in the range 1<=mm>=12 for years(yyyy) can be given in the range 1600<=yyyy>=9999 5)Give 5 bugs that could cause a program to crash when it printed the 999999 th pages 1000001th line.

6 Answers   Adobe, Android,


how to write system test cases for a pen

3 Answers   IBM,


write a test case for yahoo login page ? input data user:6 alpha numeric;password:10 letters....10 pstive test cases and 10 negative test cases?

5 Answers   Magic Software, CTS, iGate,


wht are the possible test cases for save button in notepad?

2 Answers   CTS, Vistar Tech,


What is SCENARIO TESTING

1 Answers  


Anyone can please inform me about how to write test cases for any mathematical calculations. Say for example, we have a formula in a given scenario for calculating the interest. The given formula for interest is: (principle * 5)/(12 * 100) In this case, the principle amount may vary. Would like to know how many test cases can be written for this scenario and how can we decide over this. I will be very thankful for the answer....

3 Answers  




Categories