ISTQB Foundation 3 — Questions and Answers
Question 1: Which of the following is an example of a DYNAMIC testing technique?
- Reviewing a design document for ambiguities
- Executing a program with test inputs to observe behavior (Correct answer)
- Inspecting code line-by-line without running it
- Checking a requirements specification for completeness
Correct answer: Executing a program with test inputs to observe behavior
Dynamic testing involves executing the software, as opposed to static testing, which examines artifacts without execution.
Question 2: Which coverage criterion requires that every statement in the code is executed at least once?
- Branch coverage
- Condition coverage
- Statement coverage (Correct answer)
- Path coverage
Correct answer: Statement coverage
Statement coverage measures the percentage of executable statements that have been exercised by the test suite.
Question 3: Which of the following BEST describes 'error guessing' as a test technique?
- Systematically deriving tests from formal specifications
- Using experience and intuition to predict likely defects (Correct answer)
- Randomly selecting inputs from the input domain
- Generating tests from a decision table
Correct answer: Using experience and intuition to predict likely defects
Error guessing leverages a tester's experience to anticipate where defects are most likely to occur and design tests to find them.
Question 4: What is the relationship between verification and validation in software testing?
- Verification checks the product works; validation checks it was built correctly
- Verification checks the product is built correctly; validation checks it meets user needs (Correct answer)
- Both terms mean the same thing in the ISTQB context
- Verification is dynamic; validation is static
Correct answer: Verification checks the product is built correctly; validation checks it meets user needs
Verification asks 'Are we building the product right?' while validation asks 'Are we building the right product?'
Question 5: During which test level are interfaces between integrated components typically tested?
- Unit testing
- Integration testing (Correct answer)
- System testing
- Acceptance testing
Correct answer: Integration testing
Integration testing focuses on interactions and interfaces between components or systems that have been combined.
Question 6: Which of the following is a characteristic of a good test case?
- It is written after the defect is found
- It covers as many features as possible in a single execution
- It has a clearly defined expected result (Correct answer)
- It can only be executed by the person who wrote it
Correct answer: It has a clearly defined expected result
A good test case must have a precisely defined expected result so any tester can objectively determine a pass or fail outcome.
Question 7: Which of the following statements about exploratory testing is TRUE?
- It requires a complete test plan before execution begins
- Test design and execution happen simultaneously (Correct answer)
- It is only suitable for automated testing
- It always follows a predefined script
Correct answer: Test design and execution happen simultaneously
In exploratory testing, testers simultaneously design and execute tests, learning about the system as they go.
Which of the following is an example of a DYNAMIC testing technique?