CAST Software Testing Fundamentals 2 — Questions and Answers
Question 1: What is the primary goal of regression testing?
- To verify new code added features
- To ensure existing functionality still works after changes (Correct answer)
- To measure system performance under load
- To check the user interface design
Correct answer: To ensure existing functionality still works after changes
Regression testing confirms that recent code changes have not broken previously working functionality.
Question 2: Which testing technique uses knowledge of the internal code structure?
- Black-box testing
- White-box testing (Correct answer)
- Acceptance testing
- Smoke testing
Correct answer: White-box testing
White-box testing examines internal logic, paths, and code structure to design test cases.
Question 3: A test case that checks system behavior with an input just below the valid range boundary uses which technique?
- Equivalence partitioning
- Boundary value analysis (Correct answer)
- Error guessing
- Exploratory testing
Correct answer: Boundary value analysis
Boundary value analysis targets values at and near the edges of valid input ranges where defects often occur.
Question 4: What does a 'defect severity' rating describe?
- How quickly a bug must be fixed
- The impact of the defect on system functionality (Correct answer)
- Who reported the defect
- The number of times the defect occurred
Correct answer: The impact of the defect on system functionality
Severity measures the technical impact of a defect on the system, independent of business urgency.
Question 5: Which document defines the scope, approach, resources, and schedule of testing activities?
- Test case
- Test plan (Correct answer)
- Bug report
- Requirements specification
Correct answer: Test plan
A test plan outlines the overall strategy, scope, resources, and schedule for a testing effort.
Question 6: What is the purpose of a smoke test?
- To exhaustively test every function
- To verify the build is stable enough for further testing (Correct answer)
- To measure response time under heavy load
- To validate the final release with end users
Correct answer: To verify the build is stable enough for further testing
A smoke test is a quick check that core functions work, confirming the build is testable.
Question 7: In equivalence partitioning, why test only one value per partition?
- Because values in a partition are expected to behave the same way (Correct answer)
- Because testing more values is impossible
- Because partitions always contain only one value
- Because boundaries are never important
Correct answer: Because values in a partition are expected to behave the same way
Equivalence partitioning assumes all values within a class are processed identically, so one representative suffices.
What is the primary goal of regression testing?