Thursday, May 8, 2014

Software Testing and Quality Assurance (STQA) Semester 7 (Revised Course) (3 Hours) December 2010

New Page 1 Software Testing and Quality Ass

Software Testing and Quality Assurance (STQA)
Semester 7
(Revised Course)
(3 Hours) May 2012

 

GT-8949
[Total Marks : 100]
 

N.B: (1) Question No. 1 is compulsory.  
  (2) Answer any four questions out of remaining six questions.  
       
Q1. (5 Marks Each) 05
  (A) Who should define the acceptance quality attribute criteria of a test project? Justify your answer and give some Acceptance criteria.  
  (B) Compare McCall's quality model with ISO 9126 quality model.  
  (C) How many level of test execution will you follow and describe them?  
  (D) Explain test Design Preparedness Metrics  
       
Q2.     10
  (A) Generate Decision Table based Test Cases for a payroll system of a person
(i)  if the salary of a person is less than equal to Rs. 70,000 and expenses do not exceed Rs. 30,000 then 100% tax is charged by IT department.
(ii)  if the salary is grater than Rs. 60,000 and less than equal to Rs 2lakhs and expenses don't exceed Rs. 40,000 than 20% tax is charged by IT department.
(iii)  For salary greater than Rs 2lakhs, 5% additional charges is also charged.
(iv)  If expenses are greater than Rs. 40,000 surcharge is 9%.
 
  (b) Explain with example scalability testing? 5
  (c) Explain test Case Design effectiveness 5
       
Q3.      
  (a) Acceptance test cases executed in two phases, justify? 5
  (b) Draw data Flow Graph and write du-path for variable x and y
*/ pow(x,y) this program computes x to the power of y, where x and y are integars */
  1. void paw (int x,y)
  2. {
  3. froat a;
  4. int p;
  5. if(y<0)
  6. p=0-y;
  7. else p=y;
  8. z=1.0;
  9. while(p!=0)
  10. {
  11. z=z*x;
  12. p=p-1;
  13. .}
  14. if (y<0)
  15. z=1.0/z;
  16. printf(z);
  17. }
10
  (c) A software engineering group is developing a mission-critical software system that will launch laser-guided missiles to its destinations. This is a new kind of * product that was never built by the company. As a quality assurance manager, which code review methodology--walkthrough or inspection--would you recommend? Justify your answer. 5
       
Q4.      
  (a) Perform Mutation testing with four mutants on given code and find Mutation Score.
  1. int max(int x, int y)
  2. {
  3. int mx=x;
  4. if (x>y)
  5. me = x;
  6. else
  7. my = y;
  8. return mx;
  9. }
10
  (b) Explain different metrics used in System Testing 10
     
Q5.      
  (a) Draw control flow graph for given code and show that branch coverage includes statement coverage

File*fptr1, *fptr2, *fptr3;/*These are global variables. */
int openfiles(){
/* This function tries to open files "file1", "file2", and "file3" for read access, and returns the number of file successfully opened. The file pointers of the opened files are put in the global variables.
*/
inti=0;
if(
((( fptr1 = fopen("file1","r")) !=NULL) &&(i++)&&(0))||
((( fptr2 = fopen("file2", "r")) !=NULL) &&(i++)&&(0))||
((( fptr3 = fopen("file3", "r")) !=NULL) &&(i++)) );
return(i);
}

 
  (b) Explain Test Execution Strategy in detail. 10
       
Q6.      
  (a) Explain with example load testing and stress testing? 05
  (b) Suppose that you plan to purchase commercial off-the-shelf(COTS) components and integrated them with your communication software project. What kind of acceptance criteria will you develop to conduct acceptance testing of the COTS components 05
  (c) Generate Boundary Value Analysis Test Cases for the Triangle Problem and write how many test cases can be generated?
The triangle program accepts three integers, p, q and r as input. These are taken to be the sides of a triangle.
The integars p,q and r must satisfy the following conditions
C1: 1 < p < 300
C2: 1 < q < 300
C2: 1 < r < 300
C4: p <q+r
C5: q <p+r
C6: r <p+q
The input of the program may be either of: Equilateral Triangle, Isosceles Triangle, Scalene or "Not a Triangle".
05
       
Q7.    
  (a) Differentiate structural and functional testing 5
  (b) Explain the five different views of software quality 5
  (c) Discuss the advantages and disadvantages of integration testing 5
  (d) What are the strengths and weakness of automated testing and manual testing? 5

Also see Software testing and quality assurance question papers for December 2013

1 comment:

  1. These are most important questions and thanks for providing best answers.
    code review methodology

    ReplyDelete