-
-
-
-
-
-
Code Compliance Testing
What to you mean by Code Compliance Testing? What are the areas to be check in SQL Server Code Compliance Testing?
-
-
-
-
What are Coverage Techniques?
What are Coverage Techniques? type of coverage? Please explain me with example.Thanks in advance.
-
-
-
-
-
Statement and Decision Coverage
Considering the following pseudo-code, calculate the MINIMUM number of test cases for statement coverage, and the MINIMUM number of test cases for decision coverage respectively.READ AREAD BREAD CIF C>A THENIF C>B THENPRINT "C must be smaller than at least one number"ELSEPRINT "Proceed to next stage"ENDIFELSEPRINT "B can be smaller than C"ENDIFA. 3, 3.B. 2, 3.C. 2, 4.D. 3, 2.
-
-
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, 3 for branch coverage
e) 2 tests for statement coverage, 2 for branch coverage
">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
-
-
100% Path and Decision Coverage
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. -
Whitebox Testing Interview Questions
Ans