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 / guest
Answer is a
| Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
Can you do system testing at any stage of sdlc?
what is the common in all s.o.p (standaed operating procedure)?
what type of testing techniques are using after accept the build?
Presently working in software company as a software test engineer with 1.5 yrs of experience but i am 2002 passout.Gap is 6 yrs.Is there any problem getting job in MNC? Which criteria HR follows for recruiting test engineer?
How does quality control differ from quality assurance?
What is mean by Schedule report who is the responsible for generated that one ?
can you show me the test cases on registration form
What is a code walk through?
What are the bussiness scenories?
How could you present test strategy for the product testing?
What is test closure?
what is functional testing terminologies
What will be the QA roles and responsibilities in Health care stream like BCBS,can someone please explain me any example project regarding health care services in web-based application?
what is the difference between Test-bed and test topology?
what is a data guidelines?