adspace


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

hi what are the test cases for web application..i need these example..please..mail me at mina_ims@yahoo.com

2101


What is the quality process is following in your organization.

2311


tell me some major and minor defects in ur net banking project?

3722


Hi friends Does anyone have screen shot of POWERMHS and please can anyone post anything which will be helpful to understand POWERMHS. thanks.

3141


Did you ever worked with B.A's and when?

2192


which test strategy your are fallowing in your company?which documents u r using in software development life cycle?

2455


Hi Friends, This is Chennamsubbaraidu.i Have 2+ Years Realtime Exp in Manual Testing.Am Looking to Shift From My Present Company.Please if u Have Any Openings in Your Company's, Please Let Me Know.Any Location Prefer.Thanks.

1932


What are the qualities needed by a software tester?

1209


Hello, I want to know how to write a regression test plan? Can someone please send me the format/template? Thanks in advance

2216


1.what kind of testing have you done ?

2940


i want to for technical interview question paper along with in tesrviwe Phases i need

2039


According to RBI rule how much money can be transferred through online banking at one time...?

2981


Is anybody have the telecom systems test cases from start to end?

2177


What kind of testing to be done in client server application and web application? Explain

1277


What is the difference between three tier and two tier application?

1222