Software Testing - Model Question Paper 4 Answers
SECTION - A (2 Marks × 4 = 8 Marks)
1. 1. What is Code Based Testing? Give an example.
Code Based Testing (White-box testing) focuses on testing internal logic. Example: Unit
testing a function like calculateInterest().
2. 2. What is Data Flow Testing?
A white-box testing technique that analyzes variables and their usage paths to detect
anomalies.
3. 3. What is Pair wise Integration Testing?
A testing method that covers all possible pairs of input combinations at least once.
4. 4. What is a Thread in System Testing?
A sequence of user actions across modules representing real-use scenarios.
SECTION - B (5 Marks × 4 = 20 Marks)
5. 7. Explain the Levels of Testing in V-Model.
Includes: Unit Testing, Integration Testing, System Testing, Acceptance Testing. Each dev
stage maps to a test stage.
6. 8. What is Decision Table? Explain the Characteristics of Decision Tables.
A tabular representation of input combinations and expected outputs. Characteristics:
complete, consistent, concise, useful for complex rules.
7. 9. Discuss the Commission Problem using Define-Use Testing.
A commission fault occurs when an unnecessary variable is defined or misused. Define-Use
testing highlights such paths.
8. 10. Explain the Features or Characteristics of System Testing.
System Testing is black-box, complete-system based, functional and non-functional, and
typically independent.
SECTION - C (8 Marks × 4 = 32 Marks)
9. 13(a) Explain Generalizing Boundary Value Analysis (BVA).
Tests values at and near boundaries. For range 1–10: test 0,1,2 and 8,9,10,11.
10. 13(b) Explain Robust Boundary Value Testing (RBVT) with an example.
Includes invalid inputs just outside boundaries. Example: 0 and 101 for range 1–100.
11. 14. Explain the Forms or Variations of Equivalence Class Testing with examples.
Valid/Invalid, Strong/Weak Normal & Robust classes. Example: Login form valid & invalid
input sets.
12. 15(a) Explain the Test Cases for the Triangle Problem in Decision Table Based Testing.
Covers rules for Equilateral, Isosceles, Scalene, and Invalid triangles using logic tables.
13. 15(b) How Sandwich Integration Testing Works? Explain with an example.
Combines top-down and bottom-up. Middle tested with stubs and drivers. E.g., logic tested
with UI and DB simulators.
14. 18. Explain Test-Then-Code Cycles With Detailed Example.
From TDD: Write test → Write code → Refactor. Example: write test for add(2,3)=5 →
implement add → test passes.