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 |
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, I like to do ISTQB and some basic certifications in testing which adds value to my career. Can some one guide me to do these certifications. Thanks, Naveen
I want to go for the ISTQB testing?? Please anyone tell me details for this??? Please share with me on my E-Mail address: mailmevarun988@yahoo.in
Hi All, I am planning to give ISTQB Foundation level certification. If you have any materials/Q&Q, kindly forward to sandhyaach@gmail.com Thanks in advance, sandhya
Hello friends, In December, I am going to give the ISTQB foundation level exam. Though I have course material and few sample papers, but as we know they are just for the references. Can anybody (who had given the certification ) please provide me with some more questions that has just caught in the exam (if you remember any question). Please mail me questions at my id -- rekha2501@yahoo.co.in. Will share my questions after giving the exams. Thanks Rekha
What test techniques does component test strategy stipulate? What percentage of decision coverage is required? What should be done if errors are found? The project component test plan is useful because the approach outlined allows: a) Strict adherence to the component test strategy b) More faults to be identified in the LOG components c) A basic working systems to be established as early as possible d) Isolation of the components within the test strategy The component test plan must consist of a single document? TRUE/FALSE The component test plan must specify test completion criteria? TRUE/FALSE Why does component test plan specify 100% DC whereas strategy required 90%? Which test case deals with non-numeric input? List the expected outcome and the test condition Why does the CTP have additional/altered test cases? What action has been taken as a result of the test report?
Any one Send me the Question and Answers for ISTQB Foundation Level Exam Prepration
hi there i'm giving my exam in 16dec2010 toronto anybody have dump plz email me gauravsharma26@hotmail.com
thanks a lot... i visited the link tat u had mentioned... i am a 2010 BE passed out i am looking for testing jobs so am a fresher.. but i saw in the link tat 24months of exp in testing is required to write the examination... pls suggest me that is tat possible for me to write the exam....
DO YOU PROVIDE SOFTWARE CERTIFICATIONS?
What is difference between iseb and istqb and which one whould be better to take.
I am having 1.5 year of exp,I want to do ISTQB Certification,How much time required for the preparation ? 1month/2 month or ....?