06CS842 May - June 2010
06CS842 May - June 2010
06CS842 May - June 2010
USN 06CS842
10f2
06CS842
PART -B
5 a. What are the differences between functional and structural testing? (04Marks)
b. Show with an example, how statement adequacy criterion is not sufficient to identify faults
in the code. (08Marks)
c. What is multiple condition/decision coverage criteria? Illustrate how this reduces the no. of
test cases required to test a compound condition. (08Marks)
6 a. Define the following giving examples:
i) Definition of a variable ii) Use of a variable
iii) Definition of clear path iv) Direct data dependency. (08Marks)
b. Illustrate the generation of spurious execution paths while data flow analysis through
procedure calls. (08Marks)
c. Give an example when DU paths can be exponential and explain how. (04Marks)
7 a. Explain the following terms:
i) Test case ii) Test case specification iii) Test obligation iv) Test suite
v) Test or test execution vi) Adequacy criterion. (06 Marks)
b. Write a note on Scaffolding (07 Marks)
c. Explain with example:
i) Test oracle
ii) Comparison based oracle
iii) Partial oracle. (07 Marks)
*****
20f2