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 Posted / toshimathur

C

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?

2495


test cases for bus transport (TNSTC)

2806


This was asked to me recently in Microsoft interview How would you do DOS copy command testing

1923


Do you write test plan and test case?

1915


consider a program module that inputs two (2) values, n and max, and computes the sum of the first n integers as long as this sum is less than max; otherwise an error should be reported. if n is negative, then it takes the absolute value. a) list the equivalence partitions, and b) list the boundary values.

1794






# A large IT company is in the process of revising salary structure for its employees. The salary will be on the basis of assessed performance of the previous year for all employee who have completed six months or more. # The rules for salary revision are provided below :- Performance level 1 : Increase existing salary by 30% Performance level 2 : Increase existing salary by 20% Performance level 3 : Increase existing salary by 10% Performance level 4 : Increase existing salary by 5% Performance level 5 : No Increase # For those who have not completed six months, provide a flat increase of 7.5% in their salary. In addition to above provide a special loyalty allowance of Tk. 800 to all employees who have complete THREE years with the organization. # Compute the minimum number of paths that you would require to cover the application and how many test cases would you require?

1995


plz.. tell me hw to write the Use Case for Online Purchase... just tod. itself i need...

1911


Could anyone please let me know what are the test cases for a rule based system? WE have a module on RBS which relates the data gathered to a set of rules and uses them to verify if the details are correct. Also we have a data acquisition module which collects the configuration details of a node entering a cluster using the CPUID. Can you please suggest test cases for these two modules, please?

2095


Who will take care of test plan and test case?

1656


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.

1571


How to write a test case for create folder in the email. create aliases for email adress in the email. thanks Its urgent

2108


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.

1682


Positive and Negative test cases for the speedometer?(minimum 5 each)

2379


how to test a UI and aslo we need to check a log data fil which gets populated in the db.for this two scenarios give me test cases

1957


Explain the domain testing?

676