1. In integration testing, a stub is used to:
A. Replace a called module temporarily
B. Replace a calling module
C. Execute system-level testing
D. Simulate user input
✅ Answer: A. Replace a called module temporarily
2. In integration testing, a driver is used to:
A. Simulate low-level modules
B. Simulate high-level modules
C. Replace missing test cases
D. Debug performance issues
✅ Answer: B. Simulate high-level modules
3. Boundary value analysis is used to:
A. Test functional workflows
B. Test internal logic
C. Focus on input limits and edges
D. Validate non-functional attributes
✅ Answer: C. Focus on input limits and edge
4. Decision table testing is most useful for:
A. User interface testing
B. Exploratory testing
C. Business rule validation
D. Regression testing
✅ Answer: C. Business rule validation
5. State transition testing is based on:
A. Logical decisions
B. System states and events
C. User stories
D. Code syntax
✅ Answer: B. System states and events
6. Pairwise testing reduces:
A. Number of users
B. Number of possible test combinations
C. Test team workload
D. Documentation effort
✅ Answer: B. Number of possible test combinations
7. Root cause analysis is used to:
A. Assign severity levels
B. Find who caused the defect
C. Identify underlying cause of defects
D. Close the project
✅ Answer: C. Identify underlying cause of defects
8. Test automation is best suited for:
A. Usability tests
B. Security assessments
C. Regression and repetitive tests
D. Ad-hoc testing
✅ Answer: C. Regression and repetitive tests
9. A test execution tool is used to:
A. Track defects
B. Measure code coverage and automate execution
C. Manage configuration items
D. Collect customer feedback
✅ Answer: B. Measure code coverage and automate execution
10. A test oracle is:
A. The tester’s intuition
B. A document specifying expected results
C. A test automation tool
D. A database schema
✅ Answer: B. A document specifying expected results
11. Entry and exit criteria act as:
A. Test execution guidelines
B. Quality control checkpoints
C. Automation standards
D. Debugging policies
✅ Answer: B. Quality control checkpoints
12. The biggest challenge in automation testing is:
A. Script execution
B. Script maintenance after product updates
C. Test data management
D. Scheduling tests
✅ Answer: B. Script maintenance after product updates
13. Load testing primarily measures:
A. Security vulnerabilities
B. Application usability
C. System performance under expected load
D. User satisfaction
✅ Answer: C. System performance under expected load
14. Ad-hoc testing relies on:
A. Structured planning
B. Tester’s experience and intuition
C. Automated scripts
D. Test design tools
✅ Answer: B. Tester’s experience and intuition
15. Test logs are maintained to:
A. Track test execution results and environment details
B. Record coding standards
C. Store test data only
D. Maintain configuration items
✅ Answer: A. Track test execution results and environment details
16. The first step in defect management is:
A. Assigning the defect
B. Logging or reporting the defect
C. Fixing the defect
D. Closing the defect
✅ Answer: B. Logging or reporting the defect
17. The pesticide paradox suggests:
A. Developers reuse the same code
B. Testers must repeat same test cases
C. Repeated tests lose effectiveness unless updated
D. Bugs appear randomly
✅ Answer: C. Repeated tests lose effectiveness unless updated
18. Defect clustering means:
A. Defects are equally distributed
B. Most defects are found in few modules
C. Each test reveals equal defects
D. Defects occur randomly
✅ Answer: B. Most defects are found in few modules
19. Absence-of-errors fallacy implies:
A. If software has no bugs, it’s perfect
B. Even bug-free software can fail user expectations
C. Errors can’t be removed
D. Testing never ends
✅ Answer: B. Even bug-free software can fail user expectations
20. Test independence is important because:
A. It ensures automation coverage
B. It avoids conflict between teams
C. It prevents bias and increases objectivity
D. It reduces cost
✅ Answer: C. It prevents bias and increases objectivity



















