×
Study for the day when you don't have to worry about price tags.
--Your friends at LectureNotes
Close

Previous Year Exam Questions for Software Testing - ST of 2017 - bput by Verified Writer

  • Software Testing - ST
  • 2017
  • PYQ
  • Biju Patnaik University of Technology Rourkela Odisha - BPUT
  • Computer Science Engineering
  • B.Tech
  • 775 Views
  • 17 Offline Downloads
  • Uploaded 1 year ago
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

Registration No: Total Number of Pages: 03 B.Tech. PCS5J103 5th Semester Regular Examination 2017-18 Software Testing BRANCH: CSE Time: 3 Hours Max Marks: 100 Q.CODE: B315 Answer Question No.1 and 2 which are compulsory and any four from the rest. The figures in the right hand margin indicate marks. Q1 a) b) c) d) e) f) g) Answer the following questions: multiple type or dash fill up type What is the order in which the test levels are performed? a) Unit,Integration, System,Acceptance b) Unit ,System, Integration,Acceptance c) Unit, Integration, Acceptance, System d) It depends on nature of the project. System testing is a a) Black box testing b) White box testing c) Grey box testing d) Both a and b In the early stages of SDLC, testing comprises more ___________ activities and towards the later stages, the emphasis is on the ___________ activities. verification, validation validation, verification integration, coding coding, integration If there are k rules over n binary conditions, then there are at least __________ test cases and at most _____________ test cases. k + 2, 2n+2 k+3, 2n+3 k,2n k, nn In single character data anomalies, ~d is ____ Potential bug Normal situation Harmless bug None of the above “How much evaluation of an item, has been done by the team ” is called _____ rate of errors rate of inspection rate of failures none of the above Security requirements should be associated with each _______ requirement. functional design coding testing (2 x 10)

Text from page-2

h) i) j) Q2 Which statement best characterizes the regression test selection? Minimize the resources required to regression test a new version Typically achieved by minimizing the number of test cases applied to the new version Select a test case which has caused the problem None of the above _______ integration testing is preferred while planning integration test Top down Bottom up Sandwich None of the above Coverage is measured in terms of the _______that are imposed Requirements Design Test cases None of the above Answer the following questions: Short answer type What is defect bash? Describe any 2 testing axioms with proper explanation. What is defect prevention? Briefly describe the architecture for test automation. What is configuration testing? A program calculates the total salary of an employee with the conditions that if the working hours are less than or equal to 48, then give normal salary. The hours over 48 on normal working days are calculated at the rate of 1.25 of the salary. However on holidays or Sundays, the hours are calculated at the rate of 2.00 times of the salary. Design the test cases using decision table testing. How can bugs be classified based on criticality? What is gray box testing? What is unit verification? Mention any two commercial testing tools. (2 x 10) What is verification? How to verify high level designs? Also distinguish between verification and validation. What is integration testing? Reflect the differences between the different types of integration testing of object oriented programs. (10) What is static testing? State the types of static testing. How is it different from structural testing? Discuss the challenges in testing web based software. (10) (10) b) Discuss the testing tools based on testing activities or tasks in a particular phase of SDLC. A program has to be designed to determine the nature of roots of a quadratic equation. The quadratic equation takes three input values from the range [0,100]. Design the test cases using the cause-effect graphing technique. Q6 a) b) Describe the test management process. Describe the people involved in testing groups along with theirresponsibilities. (10) (5) Q7 a) What is acceptance testing? State its entry and exit criteria. Describe the different types of acceptance testing along with their entry and exit criteria. Consider the following program: main() (10) a) b) c) d) e) f) g) h) i) j) Q3 a) b) Q4 a) b) Q5 a) b) (5) (5) (5) (5)

Text from page-3

{ int a, b, c, sum,diff,mul; scanf(“%d %d %d”, &a, &b, &c); sum = calsum(a,b,c); diff= caldiff(a,b,c); mul = calmul(a,b,c); printf(“%d %d %d”, sum,diff,mul); } intcalsum(int x, int y, int z) { int d; d= x + y +z; return (d); } Suppose main() module is not ready for the testing of calsum() module. Design a driver module for main (). Modules caldiff() and calmul() are not ready when called in main(). Design stubs for these two modules. Q8 a) b) Q9 a) b) A program computes ab where a lies in the range [1, 10] and b within [1, 5]. Design test cases for this program using Boundary Value Checking, Robust Checking and Worst – Case testing methods. Draw the control flow graph for the following function named find_maximum. Form the control flow graph, determine its cyclomatic complexity. intfind_maximum ( inti, int j, int k) { int max; if (i>j) if (i>k) max= i; else max= k; else if (j>k) max= j; else max = k; return (max); } (10) Discuss the Software Testing Life Cycle (STLC) Explain the difference between failure, fault and error with a suitable example. (10) (5) (5)

Lecture Notes