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 / kajal
answer is a.4
1 test case to check if system can read a and c
2 to check if a<10
3 to check if c is > 100 and < 100
to check if a and c are printed
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
test cases on bangles???
where do we work with Application, web and Database servers Means which type of applications.
aplitue questions will be based on wich type ?
how to test ecg machine?
what will be verification and validation test cases for yahoo login page (only functional test cases)? Please explain in details.
Can anyone please suggest me a online book on manual testing??
can u write some high level scenarios on ms outlook express
What are the basic forms of variations?
What do you mean by Cause Effect Graphing? in which standard its mentioned?
What are the different types of integration testing?
When we are recording in WinRunner and interact with the AUT, what does WinRunner do?
how to connect your project in database?
can anybody tell me what is release process of company? release note?
How does quality control differ from quality assurance?
What is mean by incident logging system ?