Roll No.
JSS MAHAVIDYAPEETHA
JSS ACADEMY OF TECHNICAL EDUCATION, NOIDA
DEPARTMENT OF INFORMATION TECHNOLOGY
CIA-2 AY 2023-24 (Odd Semester)
Course : B.Tech Date : 06/12/2023
Semester : VII Subject Code : KCS 076
Subject : Software Testing Max. Marks : 30
Time : 1 hrs=60 min
COURSE OUTCOMES
CO1 Describe software testing objectives, process, criteria, strategies and methods used in software engineering.
CO2 Apply functional and structural testing techniques to generate test suit.
CO3 Identify and apply various testing techniques for regression testing to generate test cases.
CO4 Apply various software testing activities, debugging approaches and testing tools along with
CO5 Identify the issues and challenges in object oriented testing and web testing.
Section-A
Attempt all the questions of this section ( 1X5=5)
Q. No. Question Marks CO BL/ KC*
a What insights does the mutation score offer in the context of mutation testing? How
is this metric computed, and what does a high or low mutation score signify about the
1 CO2 2
robustness of the test suite in detecting altered or faulty code?
b What is the relationship between cyclomatic complexity and the number of test cases CO2
needed to achieve full branch coverage? 1 2
1.
c Draw a sample Risk analysis Table. CO3
1 1
d Why is it important to reduce the number of test cases for regression testing? CO3
1 2
e How does Risk Analysis play a role in reducing the number of test cases and CO3
determining priority categories during Regression Testing 1 2
Section-B
Attempt all the questions of this Section (5X3=15)
What are non-functional requirements? How can we use software tools to test these
requirements? Discuss some popular tools along with their areas of applications.
2 OR 5 CO4 2
What is debugging? Discuss two debugging techniques. Write features of these
techniques and compare the important features.
Describe mutation testing and its objectives. Explore the relevance of mutation scores
and examine the reasons for the reluctance to utilize higher order mutants within this
testing technique
3 5 CO2 4
OR
How is data flow testing performed? Is it possible to design data flow test
cases manually? Justify your answer.
Discuss techniques for selection of test cases during regression testing. Why do we
4 5 CO3 2
rely on the selection of test cases based on modification traversing?
CO -Course Outcome generally refer to traits, knowledge, skill set that a student attains after completing the course
successfully.
Bloom’s Level (BL) - Bloom’s taxonomy framework is planning and designing of assessment of student’s learning.
*Knowledge Categories (KCs): F-Factual, C-Conceptual, P-Procedural, M-Metacognitive
Roll No.
JSS MAHAVIDYAPEETHA
JSS ACADEMY OF TECHNICAL EDUCATION, NOIDA
DEPARTMENT OF INFORMATION TECHNOLOGY
OR
Explain the process of conducting regression testing, illustrating its fundamental
principles through a step-by-step approach accompanied by a detailed block diagram,
outlining the encountered challenges.
Section-C
Attempt all the questions of this Section (10X1=10)
Write a program to determine whether a number is even or odd. Draw the program
graph and DD path graph. Find the independent paths.
OR
Consider the following program segment:
/* sort takes an integer array and sorts it in ascending order*/
1. void sort (int a [ ], int n) {
2. int i, j;
3. for(i=0;i<n-1;i++)
4. for(i=i+1;j<n;j++)
5. if(a[i]>a[j])
5 10 CO2 4
6. {
7. temp=a[i];
8. a[i]=a[j];
9. a[j]=temp;
10. }
11. }
(a) Draw the program graph for this program segment.
(b) Determine the cyclomatic complexity for this program (show the intermediate
steps of your computation).
(c) How is the cyclomatic complexity metric useful?
CO -Course Outcome generally refer to traits, knowledge, skill set that a student attains after completing the course
successfully.
Bloom’s Level (BL) - Bloom’s taxonomy framework is planning and designing of assessment of student’s learning.
*Knowledge Categories (KCs): F-Factual, C-Conceptual, P-Procedural, M-Metacognitive