Stqa CT-QP
Stqa CT-QP
Nirma University
Institute of Technology
Class Test, September 2021
B.Tech CSE, Semester: VII (Department Elective)
2CSDE80: Software Testing and Quality Assurance
D. Explain the principles of statistical quality control. What are the tools [05]
CO4, used for this purpose?
BL2
Q. 2 Do as directed. [15]
A test engineer generates 70 mutants of a program P and 150 test
A
CO2, cases to test the program P. After the first iteration of mutation
BL4 testing, the tester finds 58 dead mutants and 4 equivalent mutants. [05]
Calculate the mutation score for this test suite. Is the test suite
adequate for program P? Should the test engineer develop additional
test cases? Justify your answer.
Page 1 of 2
2CSDE80-STQA
B For the given binary search routine, answer the following [10]
CO3, questions.
BL5
int binsearch (int X, int V[ ], int n) {
int low, high, mid;
low = 0;
high = n - 1;
while (low <= high) {
mid = (low + high)/2;
if (X < V[mid])
high = mid - 1;
else if (X > V[mid]) low = mid + 1;
else
return mid;
}
return -1;
}
***********************
Page 2 of 2