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 / vaishali
it wud be 2 testcasese for statement coverage and 2 for
branch coverage
2 for statement coverage bcaz two seperate questions being
asked
p+q>100 and p>50
and its two branches with NO hasnt been covered....
so, answer is 2 testcasese for statement coverage and 2 for
branch coverage
Is This Answer Correct ? | 3 Yes | 13 No |
Post New Answer View All Answers
What are the queries mostly asked in testing ? give me some examples.
what is a horizontal and vertical matrix explain with examples
What is defect validity ratio?
what is test case management?explain in brief.
Beyond the customary advantages of having a testing group, what are the benefits does a company receive from a well run, automated testing group?
How did you do unit testing in your project?
What ishigh severity, low priority bug?
What is neutral test case?
Can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
What is the difference between Sleep and wait in winrunner what is integration testing and types of testing present what is system testing what is data driven testing what is functionality testing if requirements are given to you then how do you write the test cases for it Account number = Ok cancel For above given form the valid account number starts from 1 to 1000 so is it necessary to input the 1,2,3 ….998,999,1000 test cases to check the conditions of valid account numbers I,e is it compulsory to write 1000 test cases for the above form
In what situation would you want to parameterize a text verification check?
what is the difference between section & test feature in test case documention?
KINDLY FORWARD ME THE INTERVIEW QUESTIONS & ANSWERS FROM REAL TIME POINT OF VIEW FOR 1.5 YEARS EXPERIENCED CANDIDATE. MY EMAIL ID IS sky_bird433@yahoo.com
Hi friends I am kranti completed my IT diploma in 2005 & after that complete my software testing course. Now I am working in small software form as software tester. I have 2 + year experience in manual testing. Now I wan to change company. Plz told me is there any effect that I can not have any degree although I have 2 + experience ?
What criteria would you use to select Web transactions for load testing?