How many test cases are necessary to cover all the possible
sequences of statements (paths) for the following program
fragment? Assume that the two conditions are independent of
each other : -
…………
if (Condition 1)
then statement 1
else statement 2
fi
if (Condition 2)
then statement 3
fi
…………
a. Test Cases
b. 3 Test Cases
c. 4 Test Cases
d. Not achievable
Plz. Explain in Detail...
Thank you.
Answers were Sorted based on User's Feedback
Answer / vamshi veeravelly
For condition 1 we have both possibilities true and false(else part) and for condition 2 we have only the if(part) and No else part.
So i opt for 3 test cases but one of the ISTQB paper says answer as 4 test cases
Is This Answer Correct ? | 0 Yes | 3 No |
Answer / ritu sharma
we prepare 2 test cases in 1st test case we test for all
true/yes values and in 2nd test case we test for all
false/no values
Is This Answer Correct ? | 9 Yes | 20 No |
Need ISTQB Study Materials, Latest ISTQB Syllabus, ISTQB Standard Glossary, E-Books, Presentations, Study Sessions & lots of Question Papers with Answers ?
Hi all, Do we need to register well in advance to take ISTQB Foundation Test through say Prometric center or one fine day we can go and take up the exam? Is there any minimum duration day we have to register and then take up the examination? Please advice friends.....
Hi Everybody, I am planning to write the ISTQB certification in Toronto. Can any one send the ISTQB foundation level book for 2013 exam?
Hi all, I want to give ISTQB foundation level this june '08. PLease give me any question paers, syallabus, pateern type, books which u all have.. How long does one need to prepare. If you all have any data send it to akadi111@gmail.com Thanks in advance!!!! And thank u for taking time to read this post!!!!!!!!!! Waiting for ur reply:)
CAN ANY OF YOU SEND ME THE DETAILS OF QTP CERTIFICATION.HOW TO APPLY FOR IT? WHERE TO GET THE MATERIALS? IF ANF ONE OF YOU KNOW THIS DEATILS PLS MAIL TO MY ID mohan_vivvek@yahoo.co.in or asha_muruga@yahoo.co.in
if any one is having istqb sample questions plz kindly post it to my mail id joldapke@gmail.com
How should I prepare for ISTQB Foundation level Exam?What should I do as I am not having any idea about it?
If u get one module to test in application? In which order we have to start? smoke test, UI test, functional test, DB test, usability test?
Hi...am also planning to write ISTQB..it will be grate if somebosy shares the material...thank you....
How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other : - ………… if (Condition 1) then statement 1 else statement 2 fi if (Condition 2) then statement 3 fi ………… a. Test Cases b. 3 Test Cases c. 4 Test Cases d. Not achievable Plz. Explain in Detail... Thank you.
Hi all, Can u people explain about structure of ISTQB Certification.what is pattern,how many marks ,time period of the istqb.U people have any idea about this plz help me?
hi all.... i have finished my testing course recently. i am planning to give an exam in istqb. can i get a good job in a good company after my certification exam finishes?