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 / kajal

answer is a.4

1 test case to check if system can read a and c
2 to check if a<10
3 to check if c is > 100 and < 100
to check if a and c are printed

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

test cases on bangles???

3040


where do we work with Application, web and Database servers Means which type of applications.

1882


aplitue questions will be based on wich type ?

2476


how to test ecg machine?

1845


what will be verification and validation test cases for yahoo login page (only functional test cases)? Please explain in details.

14540


Can anyone please suggest me a online book on manual testing??

1755


can u write some high level scenarios on ms outlook express

2725


What are the basic forms of variations?

2193


What do you mean by Cause Effect Graphing? in which standard its mentioned?

2095


What are the different types of integration testing?

1164


When we are recording in WinRunner and interact with the AUT, what does WinRunner do?

1966


how to connect your project in database?

2006


can anybody tell me what is release process of company? release note?

1885


How does quality control differ from quality assurance?

1010


What is mean by incident logging system ?

2517