My Profile
Active Members
TodayLast 7 Days
more...
Awards & Gifts
Online Exams
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian
cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
|
Download Model question papers & previous years question papers
|
Posted By: Saral Mariyaprakasam Member Level: Silver Posted Date: 02 May 2008
|
2007 Birla Institute of Technology-Mesra MS Software Engineering Software Testing Methodologies University Question paper
|
|
|
Birla Institute of Technology and Science, Pilani Distance Learning Programmes Division MS Software Engineering in Collaboration with Wipro Technologies Mid semester Examination Regular Course No. : SEWP ZG552 Course Name : Software Testing Methodologies Nature of Exam : Closed Book Exam Bangalore Weightage : 40 % Duration : 2 Hours No of pages : 9 Date :11th March 2007 (AN) No. of questions : 5
Important Notes: 1. Answers must be precise, and to the point. 2. Assume suitable data when necessary. State the assumptions made clearly. 3. Please write the answers only in the space provided after the question in the question paper itself. 4. You can use the regular answer books provided for rough work. The rough shall not be graded and will not have any weightage. 5. Illustrate with diagrams and tables for clarity. 6. In the event of multiple cancellations of answers and running out of space, you can use the answer books provided. Mark the answers with the question numbers. 7. Show the calculations clearly with all steps for the problems. 8. Use of scientific calculator is allowed.
Good Luck! -------------------------------------------------------------------------------------------------------
Name : __________________________________________
Student ID : __________________________________________
Question # Marks Obtained Max Marks 1 8 2 8 3 8 4 8 5 8 Total 40
Q1: (8): A salesman sells locks, stocks and barrels on a monthly basis; the salesperson reports how many of each he or she has sold. The parts sell for the following: Locks $45 each Stocks $30 each Barrels $25 each Commission is computed on sales: 10% on sales up to $1000; 15% on the next $800; and 20% on the amount over $1800
Source code for the problem: Private Sub buggyCommission(locks As Integer, stocks As Integer, barrels As Integer, commission As Currency) 'PROGRAM Commission Faulty Version Const lock_price As Currency = 45 Const stock_price As Currency = 30 Const barrel_price As Currency = 25 Dim sales As Currency sales = lock_price * locks + stock_price * stocks + barrel_price * barrels Node (0) If (sales > 1800) Then Node (1) commission = 0.1 * 1000 commission = commission + 0.15 * 800 commission = commission + 0.2 * (sales - 1200) ElseIf (sales > 1100) Then Node (2) commission = 0.1 * 1000 commission = commission + 0.15 * (sales - 1000) Else: Node (3) commission = 0.1 * sales End If Node (4) End Sub For the above problem derive the following, (3 marks) Derive equivalence classes for each of input/output, tabulate them, and clearly state the sub-domains. Use traditional input domain equivalence class(strong robust equivalence class) (3 marks) Justify your choice of sub-domains. (2 marks) Identify the logical error in the source code. ----------------------------------------------------------------------------------------------------------------- (This page is intentionally left Blank) Q2: (8) design a decision table or cause effect graph for following requirement (If you think that the requirements conflict; make suitable assumptions and state them clearly) (Note: Ensure that the assumptions do not change the problem definition itself) The word-processor may present portions of text in three different formats: plain text (p), boldface (b), italics (i). The following commands may be applied to each portion of text: make text plain (P), make boldface (B), make italics (I), emphasize (E), super emphasize (SE). Commands are available to dynamically set E to mean either B or I (we denote such commands as E=B and E=I, respectively.) Similarly, SE can be dynamically set to mean either B (command SE=B) or I (command SE=I), or B and I (command SE=B+I.) Please ensure following points are covered in the decision table or cause effect graphing. (3 marks)Finding all the cause and marking them (3 marks)Finding all the effect and marking them to appropriate cause (2 marks)Reducing the test combinations ----------------------------------------------------------------------------------------------------------------- (This page is intentionally left Blank)
Q3: (8) Explain at least 4 types of code coverage metrics that are practices in white box testing. (explanation should cover following points, Aim of testing, advantages, disadvantages) (each metrics carry 2 marks) (This page is intentionally left Blank) Q4: (8) please provide the formula and results for following calculations. (3 marks)What is the formula to find the number of general boundary value test cases. There are 2 numeric variables x and y how may test cases you will generate based on the formula. Answer: Formula: _____________ Value : _____________
(2 marks)What is the formula to find the number of combinations that will be covered in decision tree? And how many combinations, we can cover if we have 2 causes with 3 value and 3 cause with 2 values. Answer: Formula: _____________ Value : _____________
(3 marks)What is the formula to find the cyclomatic complexity of a program? What will be the cyclomatic complexity of a program which has 21 edges and 16 nodes. Answer: Formula: _____________ Value : _____________
Q5: (8) Explain 4 basic Violations of Structured Programming that affects the Cyclomatic complexity as per McCabe’s essential complexity theory. (each violation carries 2 marks) -----------------------------------------------------------------------------------------------------------------
(This page is intentionally left Blank)
Return to question paper search
|
|
|
Submit Previous Years University Question Papers and make money from adsense revenue sharing program
Are you preparing for a university examination? Download model question papers
and practise before you write the exam.
|
Watch TV Channels
|