0% found this document useful (0 votes)
8 views3 pages

CS6404 End

The document outlines the structure and content of the End-Semester Examination for the Software Testing course at the National Institute of Technology Rourkela. It includes various questions related to software testing concepts, methodologies, and practical applications, requiring students to demonstrate their understanding through problem-solving and test case development. The exam covers topics such as integration testing, regression testing, and test design techniques, with a total of 100 marks allocated over a duration of 3 hours.

Uploaded by

Rahul Das
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views3 pages

CS6404 End

The document outlines the structure and content of the End-Semester Examination for the Software Testing course at the National Institute of Technology Rourkela. It includes various questions related to software testing concepts, methodologies, and practical applications, requiring students to demonstrate their understanding through problem-solving and test case development. The exam covers topics such as integration testing, regression testing, and test design techniques, with a total of 100 marks allocated over a duration of 3 hours.

Uploaded by

Rahul Das
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

NATIONAL INSTITUTE OF TECHNOLOGY ROURKELA-769008

END-SEMESTER EXAMINATION, 2023


SESSION: 2022 – 2023 (Spring)
B. Tech. 8th / MTech. 2nd Semester

Subject code: CS6404 Subject Name: Software Testing Dept. Code: CS


No. of pages: 3 Full Marks: 100 Duration: 3 Hours

Figures at the right-hand margin indicate marks.


All parts of a question should be answered at one place.
Answer any FIVE questions including Q1.

Q. No. Particulars Marks


1 2x10=20
(a) What will be the total number of test sessions required using neighborhood
integration testing, if a call graph has total 15 nodes, out of which 5 nodes are sink
nodes?
If a test suite T contains 100 tests of which 20 are non-modification-revealing for
(b)
program P and modified program P’, and the technique M omits 10 of these 20
tests, what is the precision of M relative to P, P’ and T?
(c) Which UML diagrams are most suitable for unit testing of object-oriented
(d) software?
Calculate the fault exposing potential of a test case, if a program has 5 mutants
and 3 gets killed by the test case.
(e) What do you mean by smoke testing? Briefly explain it in the context of Banking
Information System.
(f)
What do you mean by test incident report? Why it is used?
(g) What is the implication of multiple inheritance in testing of object-oriented
(h) software?
For integration testing, which test design pattern will be most suitable?
(i) Mention two types of faults that are encountered in fault-based testing, along with
suitable examples.
(j) Mention the name of a tool that is used for regression testing.
Discuss how you would perform system testing of a software that implements a 10+10=20
2(a)
bounded queue of positive integral elements. Assume that the queue supports only
the functions insert an element, delete an element, and find an element.

(b) Perform top-down integration procedure for the following system hierarchy.

1
Design a black-box test suite for the following function named predict-longevity 10+10=20
3(a)
using equivalent class partitioning technique. The function predict-longevity takes
three arguments – age: an integer between 30 and 80, degree: either 0, 1 or 2
indicating the highest education level either school, undergraduate, or
postgraduate, and wealth: a number in the range 1-10 to indicate the degree of
wealthiness. It returns an integer indicating the predicted years to live.

(b) Consider the following program for matrix multiplication. Find out 5 possible
mutants in the program and check how many of them are killed by creating a set of
test data. Compute the mutation score. Add new test data, if required, to improve
the mutation score.

void main() {
int a[5][5], b[5][5],c[5][5], i, j, k, row1, colm1, row2, colm2;
scanf("%d%d",&row1,&colm1);
scanf("%d%d",&row2,&colm2);
if (colm1 == row2) {
printf("Enter first matrix:\n");
for (i = 0; i < row1; i++) {
for (j = 0; j < colm1; j++) {
scanf("%d", &a[i][j]);
}
}
printf("Enter second matrix:\n");
for (i = 0; i < row2; i++) {
for (j = 0; j < colm2; j++) {
scanf("%d", &b[i][j]);
}
}
printf("Multiplication of the two matrices is:\n");
for (i = 0; i < row1; i++) {
for (j = 0; j < colm2; j++) {
c[i][j] = 0;
for (k = 0; k < colm1; k++) {
c[i][j] += a[i][k] * b[k][j];
}
printf("%6d", c[i][j]);
}
printf("\n");
}
}
}

12+8=20
4(a)
Mention the characteristics of the selective regression technique. Briefly explain
the selective test technique along with a suitable diagram and all the necessary
steps.
(b) Why risk based prioritization is used? For an application, the risk analysis table is
presented in the next page.

2
Problem Potential Problems Uncertainty Risk
ID Factor Impact
P1 Requirement Specification 2 3
ambiguity
P2 Database Interface problems 5 6
P3 File corruption 6 4
P4 Databases not synchronized 8 7
P5 Unavailability of modules for 9 10
integration
P6 Graphical User Interface problems 4 5
P7 Test cases not ready 7 9

Prioritize the potential problems of the application using risk-based prioritization


technique.

5(a) 10+10=20
Consider a Library Information System with the following functionalities.
Serial Functionality Function ID Test
Number in SRS Cases
1 Login the system F 3.4 T1
2 Check availability of books F 3.5 T2
3 Reserve book F 3.6 T3
4 Issue book F 3.7 T4
5 Return book F 3.8 T5
6 Renew book F 3.9 T6
7 Exit F 3.10 T7
Develop the test specifications and test log for Return book functionality.

(b) Suppose you are given the task of developing a web application for student
admission in NIT Rourkela. Briefly explain the following types of web testing that
you need to perform for the above web application.
(i) Content testing
(ii) Navigation testing
(iii) Compatibility testing

6(a) What are the different types of errors that integration testing targets to detect? 10+10=20
Give two examples of such errors. Explain the different integration testing
strategies for object-oriented software.
(b) What do you understand by test coverage analysis? Why the traditional coverages
like statement coverage cannot be used for object-oriented software? Define any
four test coverage criteria that can be used explicitly during testing of object-
oriented software, using UML diagrams.

10+10=20
7(a) Briefly explain the test procedure using Extended Use Case test pattern. Apply the
above test procedure to the Cash Withdrawal use case of ATM system, and
develop the test cases in a tabular manner.

(b) Consider the Book class in a Library Information System. Perform random class
testing on the Book class and generate at least 5 test sequences.

You might also like