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
How to validate a Testcase.and is the testing Methodology.
What is Test Design ?( Urgent) and Test Design for Printer?
what is the diff. bw separate database testers and manual testers with sql knowledge guys... iam confusing so much ,,in cmpny database testers are not working on manual..? both positions are same are not? explian clesly with example? thank u
Hi,friends i am going to write ICST certificate exam on augest.So can anybody post some of sample qusetions for ICST certificate exam.Really it will be useful for me
What is meant by entry criteria and exit criteria in software testing?
Can anybody give me some tips on how to face telephonic interview and Write some expected telephonic questions as a 2+yr exp. in testing. Try to give Ques. that u already hv faced in telephone. Plz Help me out friends.
My name is Akpos from Nigeria. I have finished manual testing course. Please, can someone advise me where to go on from here?
What is agile testing and why is it important?
1) Difference between "Delete" and "Concatenate" with reference to databases? 2) Difference between SDLC and STLC. 3) Latest versions of the browsers used. 4) What is URL Tampering? 5) Full form of URL. I don't need the answers. These are just for reference.
What is Catapult Testing in E-Learning Domain?
what is the difference between PEGA based web application testing versus web application testing?
3. In a system designed to work out the tax to be paid: An employee has £4000 of salary tax free. The next £1500 is taxed at 10%. The next £28000 after that is taxed at 22%. Any further amount is taxed at 40%. To the nearest whole pound, which of these groups of numbers fall into three DIFFERENT equivalence classes?
What is exploratory testing and when should it be performed?
Please send any one latest 3+ years of experience testing tools resumes my mail id is krishnavenimodaliar26@gmail.com
What are testing techniques? What is difference between general and specific?