Semester : SEMESTER 6
Year : 2019
Term : MAY
Branch : COMPUTER SCIENCE AND ENGINEERING
Scheme : 2015 Full Time
Course Code : CS 308
Page:2
10
11
12
13
14
a)
b)
0)
a)
b)
a)
F1077 Pages: 3
Distinguish between:
i.Structural testing and Functional testing
ii .Cohesion and Coupling
111. Alpha testing and Beta testing
Define cyclomatic complexity. Explain different properties of cyclomatic
complexity.
PART D
Answer any two full questions, each carries9 marks.
What is modularity? List out the important properties of a modular
system.
What do you understand by the term system testing? What are the
different kinds of system testing that are usually performed on large
software products?
Explain different code review techniques
Consider the program given below, construct the flow graph and calculate
the cyclomatic complexity .
i=0;
n=4; //N-Number of nodes present in the graph
while (i
while (j
end do;
i=i+1;
end do
Consider a program to classify a triangle .It’s input is a triangle of
positive integers(say x,y,z) and the data type for input parameters ensures
that these will be integers greater than 0 and less than or equal to 100.The
program output may be one of the following words: (Scalene, Isosceles,
Equilateral, Not a triangle).
Explain decision table for triangle problem and identify the test cases
using the decision table.
Consider a project to develop a full screen editor. The major components
identified are 1.Screen Edit 2.;Command Language Interpreter 3.File input
and output 4.Cursor movement 5.Screen movement. The sizes of these
are estimated to be 4K, 2K, 11%, 2K, and 3K delivered source code
lines..Use COCOMO model to determine overall cost and schedule
estimates (Assume that i) required software reliability is high ie
1.15,ii1)Product complexity is high ie 1.15,iii)Analyst capability is high ie
0.86,iv) Programming language experience is low ie 1.07,all other cost
drivers are assumed to be nominal .
Page 2 of 3
(3)
(3)
(3)
(3)
(3)
(3)
(6)
(5)