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 / varshab
Ans is 4 as there are two branches.For these two branches
we need to test for both true & false conditions. hence to
achieve 100% branch coverage we need to write 4 test cases.
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
can anyone help me in getting unix on manual testing i.e can u forward material & web sites to my mail id (suresh_57599@yahoo.com) to understand how the work flow working on manual testing on unix and the contents.plzzzzzzzz help me its urgent.
During alpha testing why customer people are invited?
Hi , Please send me the interview questions which were asked in manual testing mainly the test cases asked to write in interview.
i want to for technical interview question paper along with in tesrviwe Phases i need
Hi could some one please send me the testplan testcases(for 2Modules) and testscripts for mercry fliht aplication or gmail. please write those on templates and send me.In testplan plase write Testobjective, test scope, est approach, exlusions assumptios.
What is difference between Build, Version and Release
Tell me the advantage and disadvantage of cookies?
What is reverse engineering?
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.
What is the Difference between Network testing and Web Testing?
write test condition for testing SMS service of a mobile phone maximun length is 100 character while sending and 80 character for receiving write test scenarios do not write test cases
What are the challenges you faced in your project (Testing) and in your company?
what are questions asked in TCS for database tester (sqlserver)?ay idea
What does a manual tester need to become proficient with db testing?
Have u ever done testing related to a database,give examples to support u r answer.