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
During alpha testing why customer people are invited?
What is performance tuning? What are tools of performance testing?
What are the different available models of sdlc?
How we allocate the priority(Blocker, Critical, etc.,) in Testing?
Testcases for msword( microsoct office word??
What is test management?
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
what the purpose of requirement phase
What are the principles of software testing?
IF ASCII_CODE_OF_ENTERED_CHAR is less than 44 THEN reject it ELSE IF ASCII_CODE_OF_ENTERED_CHAR is greater than 56 THEN reject it ELSE it's a digit, so accept it Which one of the following sets of ASCII codes do you use to test the sample code above WITHOUT redundant coverage?
What are the advantages of automation over manual testing?
Why Equivalence Partitioning is called equivalence or what is the significance of equivalence term in ECP?
Can you explian $ pillar of Agile
1.what is the approach while writing test cases in your project. 2.tell some intresting scenareo in your project
Hi friends I am kranti completed my IT diploma in 2005 & after that complete my software testing course. Now I am working in small software form as software tester. I have 2 + year experience in manual testing. Now I wan to change company. Plz told me is there any effect that I can not have any degree although I have 2 + experience ?