![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Given the following code, which is true about the minimum number of test casesrequired for full statement and branch coverageRead PRead QIF P+Q > 100 THENPrint "Large"ENDIFIF P > 50 THENPrint "P Large"ENDIFa) 1 test for statement coverage, 3 for branch coverageb) 1 test for statement coverage, 2 for branch coveragec) 1 test for statement coverage, 1 for branch coveraged) 2 tests for statement coverage, 3 for branch coveragee) 2 tests for statement coverage, 2 for branch coverage Latest Answer : It is a method of LOGIC COVERAGEAnd to calculate cyclometric complexitythere are three methods1)E-N+2here E - Edges N - Nodes2)P+1here P means Predicate Node i.e Node from which branches are coming out3)C+1here ... Latest Answer : In Equaliance class portion we perform the data entered in the text boxes that is valid characters and Nummers and combination of both it depends on the funcationality of the text box In Boundary value anyalasis we calculate Maximum and minum values accpted ... What are Coverage Techniques? type of coverage? Please explain me with example.Thanks in advance. Latest Answer : the main coverage tecniques used in the software industry are white box testing and black box testing. in the black box testing we don't need to bother about code just we have to know about the specifications. EX: in calculator we don't need to ... How many test cases are needed to have 100% path coverage and decision coverage in the following code.
if (conditionA){ c=c+1}if(conditionB)d=d-1elsee++consider condition A and condition B are independent. Latest Answer : Path Coverage is all path coveredSo for Condition 1 , as there is no else part so 1 TCfor condition 2, 2 T.C .Decision Coverage requires 4 T.C ... Switch PC onStart “outlook”IF outlook appears THENSend an emailClose outlooka) 1 test for statement coverage, 1 for branch coverageb) 1 test for statement coverage, 2 for branch coveragec) Latest Answer : For the 1st ex-1 Statement Coverage, 1 for Branch CoverageFor the 2nd-2 Statement Coverage, 3for Branch Coverageis this correct? ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||