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 |
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....
I want to know which is best for Testing certification?
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
i have done BCS in 2008 & i'm working in BPO.I have relavant exp of BPO.Now i m going to give the ISTQB test.I dont understand it will give me a job in testing or not. But just last try.So r dey gonna ask me...tht i have huge gap in education.
Hi I want to do ISTQB foundation level certification.Can anyone pls tell where can i register for this and get the study material for this? Thnx. Neha
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 iam geetha, i am preparing for the Istqb certification, but i have some doubt, Whether the questions will be in one word or in detailed types. plz guide me by giving the question pattern and sample paper.My Mail id is gpriya_1980@yahoo.co.in, Thanks in advance, ok Bye
I want to write ISTQB certification exam......pls send me some links regarding that documents.....
hi there i'm giving my exam in 16dec2010 toronto anybody have dump plz email me gauravsharma26@hotmail.com
Hi iam going to take the ISTQB exam can any one help me regarding material and the sample papers ...pls help me to take the exam ...Thanxs in advance
Hi Friends, i am planning to give ISTQB Foundation level exam this month (20th September 2010),can anyone please send me the Dumps to my id?? lkokila8@gmail.com "Thanks in Adavance"
Could anybody send me foundation level ISTQB Certification material and paper. Thnaks in advance