Software Testing Software Testing 3 — Questions and Answers
Question 1: Which testing approach tests the interaction between integrated components or systems?
- Unit testing
- System testing
- Integration testing (Correct answer)
- Exploratory testing
Correct answer: Integration testing
Integration testing verifies that different modules or services work correctly together when combined.
Question 2: What is the primary goal of regression testing?
- To find new features in the software
- To ensure that previously working functionality still works after changes (Correct answer)
- To test the software under extreme load conditions
- To verify security vulnerabilities are fixed
Correct answer: To ensure that previously working functionality still works after changes
Regression testing ensures that new code changes have not broken existing functionality that was previously working correctly.
Question 3: What does 'MTTR' stand for in the context of software reliability testing?
- Maximum Time To Release
- Mean Time To Repair (Correct answer)
- Minimum Test To Run
- Measured Test Throughput Rate
Correct answer: Mean Time To Repair
MTTR (Mean Time To Repair) measures the average time required to repair a system after a failure occurs.
Question 4: Which testing type checks whether the software performs well under expected and peak load conditions?
- Functional testing
- Usability testing
- Performance testing (Correct answer)
- Compatibility testing
Correct answer: Performance testing
Performance testing evaluates how a system behaves in terms of speed, stability, and scalability under various load conditions.
Question 5: In a test plan, what does 'test scope' define?
- The tools used for test execution
- What will and will not be tested (Correct answer)
- The schedule for test execution
- The number of testers required
Correct answer: What will and will not be tested
Test scope defines the boundaries of testing by specifying which features and functions will be included or excluded from the test effort.
Question 6: What is the difference between verification and validation in software testing?
- Verification checks code syntax; validation checks logic
- Verification checks if we built it right; validation checks if we built the right thing (Correct answer)
- Verification is automated; validation is manual
- Verification is done by developers; validation is done by customers only
Correct answer: Verification checks if we built it right; validation checks if we built the right thing
Verification ensures the product is built correctly per specifications, while validation ensures the right product is built to satisfy user needs.
Question 7: Which test design technique is most suitable for testing systems with multiple input conditions and their combinations?
- Boundary value analysis
- State transition testing
- Decision table testing (Correct answer)
- Use case testing
Correct answer: Decision table testing
Decision table testing is ideal for systems with complex combinations of conditions and actions, ensuring all combinations are considered.
Which testing approach tests the interaction between integrated components or systems?