Professional Documents
Culture Documents
V & V Mid Exam
V & V Mid Exam
MID EXAM
SOFTWARE VERIFICATION & VALIDATION INSTRUCTOR:: ALI JAVED Date:: 26thApril, 2011 Maximum Marks:10 Time Allowed:: 20 minutes
Multiple Choice Questions Choose the best possible option among the following
1. A quality problem discovered by software engineers or others before the software is released to end user a) Error b) Defect c) Fault d) Bug 2. ---------- is a software testing technique that uses a combination of black box and white box testing technique. a) Red box b) Yellow box c) Gray box d) Green box 3. The process in which programmer reads his own program before testing a) Code inspection b) desk checking c) walkthrough d) peer review 4. The time for inspection session in a code inspection is usually a) 30 to 60 min b) 60 to 90 min c) 90 to 120 min d) 120 to 150 min 5. Each participant is given ---------- programs to review in Peer review a) 2 b) 4 c) 6 d) 8 6. The program is analyzed with respect to a check list in ---------a) Code inspection b) desk checking c) walkthrough d) peer review 7. The ability to evaluate ideas and make inferences is a part of ---- thinking a) Technical b) Creative c) Critical d) Practical 8. A -------- is a control point where a program can merge a) Decision b) Process Block c) Merger d) Junction 9. --------- testing exposes defects caused inputting cases developer forgot to handle or did not anticipate. a) Null case b) Missing case c) Omission d) Both b and c (scenarios) the
10. -------------- represents overhead, that is the software that must be written but that is not delivered with the final software product. a) Pilot b) Driver c) Captain d) None of the above MS-SE Software Verification & Validation 1
15.When testing a program to determine if a change has introduced errors in the unchanged code, you are performing ---------------a) Regression testing c) Progressive testing b) Re-testing d) Omission testing
16. When performing ---------- testing, there are no exact expected results; it is the tester that decides what will be verified, critically investigating the correctness of the result. a) Usability b) Exploratory c) Alpha d) Beta 17.-------------- inspection technique is mostly used When software is built using
incremental approach a) Two Person c) Meeting less b) N-Fold d) Fagan
18.The kill-kill anomaly in data flow testing represents ----------a) Warning b) Serious defect c) Allowed d) Potential bug 19. Each node that contains a condition is called a ------------- node
a) Pedigree c) Predicate b) Dedicate d) None of the above
MS-SE
MID EXAM
SOFTWARE VERIFICATION & VALIDATION INSTRUCTOR:: ALI JAVED Date:: 26th April, 2011 Maximum Marks: 30 Time Allowed:: 100 minutes
Subjective Part
NOTE: Attempt all questions. All Questions have 2 marks except question 12 & 13 which have 4 marks 1: Why the needs of stubs are eliminated during Bottom-up Integration testing? 2:Why it is not encouraged to throwaway the test cases? 3:List the Pros and Cons of Manual Testing and Automated Testing 4:How the Inspection Session is different from Walkthrough session? 5:How the GilbInspection is different from Fagan Inspection? 6:Differentiate between Walkthrough and Inspection session? 7:List any two drawbacks of Meeting less Inspection 8:Discuss E-mail pass around reviews briefly. 9:Define the following testing types briefly. a. Security testing b. Recovery Testing 10:Differentiate between Load and Stress testing. 11:Consider the specification for the software system of a book store which give discounts to buyers based on number of purchased books. The discount rates on the basis of purchased books are mentioned below in the table where 4 equivalence classes are defined Class ID 1 2 3 4 Number of Books 1-19 20-49 50-99 100-199 Discount Rate % 1 2 5 10
Now design the test cases for Class 2by drawing up a table showing the test case ID, the values about and on the boundary to be input for the test, the boundary it tests, and the expected output. MS-SE Software Verification & Validation 3
MS-SE