MCQ1 mark
Match the following:
(P) Condition coverage — (i) Black-box testing
(Q) Equivalence class partitioning — (ii) System testing
(R) Volume testing — (iii) White-box testing
(S) Alpha testing — (iv) Performance testing
Single correct
GATE CSE previous year questions · Programming & Data Structures
Single correct
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;
The cyclomatic complexity of the program segment is _____.Numerical answer
begin
q := 0
r := x
while r >= y do
begin
r := r - y
q := q + 1
end
end
The post condition that needs to be satisfied after the program terminates isSingle correct
Single correct