ISTQB Static Testing and Reviews 2 — Questions and Answers
Question 1: Which review type is characterized by the author leading the session and the primary goal being learning and defect detection?
- Inspection
- Walkthrough (Correct answer)
- Technical review
- Informal review
Correct answer: Walkthrough
In a walkthrough, the author guides participants through the work product to share understanding and find defects.
Question 2: What is the main purpose of a static analysis tool in the context of static testing?
- To execute the code and observe its runtime behavior
- To analyze source code or models without executing them (Correct answer)
- To generate test cases automatically from requirements
- To measure the performance of the software under load
Correct answer: To analyze source code or models without executing them
Static analysis tools examine code or models without execution, identifying potential defects like unreachable code or violations of coding standards.
Question 3: During a formal review, who is responsible for ensuring the review meeting runs smoothly and that all participants contribute effectively?
- Author
- Manager
- Moderator/Facilitator (Correct answer)
- Reviewer
Correct answer: Moderator/Facilitator
The moderator or facilitator is responsible for planning, running, and following up on the review meeting to ensure it is effective.
Question 4: Which of the following is a benefit of finding defects through static testing rather than dynamic testing?
- Defects are found in a live production environment
- Defects can be found before the code is executable (Correct answer)
- Dynamic testing tools can be reused for static testing
- Static testing eliminates the need for regression testing
Correct answer: Defects can be found before the code is executable
Static testing can detect defects early in the lifecycle, even before code is compiled or executed, reducing the cost of later fixes.
Question 5: In the ISTQB review process, what activity involves checking that the work product meets entry criteria before the review begins?
- Review planning
- Individual review
- Issue communication and analysis
- Review initiation (Correct answer)
Correct answer: Review initiation
Review initiation includes checking entry criteria and distributing the work product to ensure the review is ready to start.
Question 6: Which defect type is MOST commonly found by static analysis tools but NOT easily found by dynamic testing?
- Performance bottlenecks under heavy load
- Unreachable (dead) code segments (Correct answer)
- Race conditions during concurrent access
- User interface layout issues
Correct answer: Unreachable (dead) code segments
Static analysis tools excel at finding unreachable code because they analyze control flow without needing the code to be executed.
Question 7: A team is reviewing a requirements document and using a checklist to verify completeness, consistency, and testability. What review technique are they applying?
- Perspective-based reading
- Checklist-based reviewing (Correct answer)
- Scenario-based reviewing
- Ad hoc reviewing
Correct answer: Checklist-based reviewing
Checklist-based reviewing uses a predefined list of questions to systematically evaluate specific quality attributes of the work product.
Which review type is characterized by the author leading the session and the primary goal being learning and defect detection?