Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Hi, Below is a question on white box testing. Kindly help
me in answering it. How many test cases are needed to
obtain 100% branch coverage. This question was asked in
ISTQB foudation level exam - Dec21 2008.

Read(A,C)

If(A<10) then Print A;

Endif

If(C>100) then Print C is greater then A

else if(C<100) then print only C

Endif else

Options -
a. 4
b. 3
c. 2
d. 1

Kindly answer with explanation so that it would be easy to
understand

Answer Posted / madhu

3 cases would be required
as we need to exercise both positive and negative scenarios
of the 2 branches

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write testcases for open dialogbox

1988


What's the relationship between environment reality and test phases?

1452


What if an organization is growing so fast that fixed testing processes are impossible? What to do in such situations?

1417


What is difference between Bug resolution meeting & Bug Review Committee? Who are participants?

2919


What is the difference between Functional testing and Unit Functionality testing?

2049


What icon is used in WinRunner to get an explanation of the syntax of TSL?

2049


How should validation activities be handled?

1118


Can anybody help i put the pharma and bank project in my resume, but i dont know what to tell about them, any body tell the where can i get the information about them,what i need to tell about these applications,please help me

2105


Can you explain tpa analysis?

1057


How could you present test strategy for the product testing?

1035


what the purpose of requirement phase

13796


What is smoke test? Do you use any automation tool for smoke testing?

1165


Manual and automation how do they help in bringing out quality product? Explain?

1855


Could some one tell me test cases for multi line text boxes like Notes field?

2156


In cycle 1 we have 100 test cases out of which 95 test cases are PASS and 5 test cases are FAIL. So in cycle 2 how many test cases performed as a part of regression testing?

1599