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 |
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.
I am planning to write ISTQB Foundation level certification. If you have materials/Q&Q, kindly send to me. My mail id:sumathijai@gmail.com
Hai friends......I want to do ISTQB certification.Am in Navi Mumbai and i want to know abt the study centre and the course details for ISTQB in Navi Mumbai.Pls mail me as soon as possible
hi,I m preparing for istqb this month.I am getting difficulty to understand questions regarding statement coverage and branch coverage .can anybody help me to how to calculate statement coverage and branch coverage. Could anyone provide me questions on statement coverage and branch coverage and there solutions and also how to solve it?please do reply ASAP. Also could you provide me some dumb papers related to exam?
Could anybody send me foundation level ISTQB Certification material and paper. Thnaks in advance
Hi, I'm planning to write the ISTQB certification exam on November 2008.Please send me sample question papers for ISTQB certification. My email ID is joseph_mathew13@yahoo.com Thanks in advance.
Hi, I am planning to take ISTQB foundation level examination.Can anyone please forward the materials which cover the foundation level syllabus.My email: latha2smart@gmail.com Thanks, Latha.
1 Answers Fast Track, NetLink,
Given the Following program IF X < Y THEN Statement 1; ELSE IF Y >= Z THEN Statement 2; END McCabe’s Cyclomatic Complexity is :
Hi...am also planning to write ISTQB..it will be grate if somebosy shares the material...thank you....
Can anybody send me the dumps of ISQTB Exam. My Emal ID is kashive.kapil@gmail.com
if any one is having istqb sample questions plz kindly post it to my mail id joldapke@gmail.com
Are You Interested To learn ISTQB Course?