Software Engineering

Answer & solution
Official answer: C
Condition coverage examines internal Boolean decisions, so it requires code structure. Equivalence partitioning selects representative inputs from behaviorally similar classes without inspecting code. Volume testing studies behavior under large data volumes. Alpha testing evaluates the integrated system in the developer's controlled environment. These distinctions give the paper's intended classification C.
Solution: Condition coverage is white-box, equivalence partitioning is black-box, volume testing concerns performance, and alpha testing is system testing. Hence P-iii, Q-i, R-iv, S-ii, C.
![Question 38, GATE 2015: Find cyclomatic complexity of: while(first<=last){if(array[middle]<search) first=middle+1; else if(array[middle]==search) found=TRUE; else last=middle-1; middle=(first+last)/2;} if(first>last) notPresent=TRUE;.](../../../assets/questions/CS-2015-S1-Q38-1.webp)




















