Can u any 1 please explain the below question and answer?
Given the following code, which statement is true about the
minimum number of test cases required for full statement and
branch coverage?
Read p
Read q
IF p q > 100 THEN
Print "Large"
ENDIF
IF p > 50 THEN
Print "p Large"
ENDIF
a) 1 test for statement coverage, 3 for branch coverage
b) 1 test for statement coverage, 2 for branch coverage
c) 1 test for statement coverage, 1 for branch coverage
d) 2 tests for statement coverage, 2 for branch coverage
Answer Posted / jyoti
Yeah , answer in D , since two question have been asked ,
and 2 branches we are covering , since statement coverage is
class, and Branch coverage that we are covering all if
statement and there are two if's
Please let me know if anybody finds this is wrong
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What is early testing?
what could be the (realtime)bugs you come across in job portal and health care projects in terms of 1. high severity n low priority 2. high severity n high priority 3. low severity n low priority 4. low severity n low priority? pls its very urgent thanks n in advance n lukin forward for reply
Please explain me v-model clearly i want to know how it works and want to know how it use in real time on a project please tell me its urgent and important for me understand .Please tell me my mail id is Chiku_69@yahoo.in Thank u
What is unit level testing?
Tell some examples of bug severity and bug priority?
How can I use bugzilla in my company to track a bug and to allow the client to see the bug report online throughbugzilla. Please explain in detail. I am really need this.
How do test documents in a project span across the software development lifecycle?
About Hierarchy level in your company.
What is a test severity and test priority? difference between them with suitable examples?
what is the technical challange you faced in your module.please ans me the question i just want example can me any example please very important
How can software qa processes be implemented without stifling productivity?
hi every one can you send me ISTQB Course material on my Email id deeptimundra997@gmail.com
In which all places, testing is done?One is from the server by calling server name.Can u suggest others?
What is alpha testing?
I have an UI issue "please fill out this field" pop up in firefox browser keeps scrolling with the page is it valid???