Mettl Test Design & Development 2 — Questions and Answers
Question 1: Which test design technique is most effective for identifying defects at the boundaries of input ranges?
- Equivalence Partitioning
- Boundary Value Analysis (Correct answer)
- Decision Table Testing
- State Transition Testing
Correct answer: Boundary Value Analysis
Boundary Value Analysis focuses on the edges of input ranges where defects are statistically most likely to occur.
Question 2: In a decision table, what does a 'don't care' condition (often marked as '-') signify?
- The condition must always be true
- The condition's value does not affect the outcome for that rule (Correct answer)
- The condition has not been analyzed yet
- The condition should be ignored during testing
Correct answer: The condition's value does not affect the outcome for that rule
A 'don't care' condition means the outcome is the same regardless of whether that condition is true or false.
Question 3: Which technique is most appropriate when testing a login system that locks an account after 3 failed attempts?
- Equivalence Partitioning
- Cause-Effect Graphing
- State Transition Testing (Correct answer)
- Boundary Value Analysis
Correct answer: State Transition Testing
State Transition Testing models systems that change behavior based on history or state, like account lockout scenarios.
Question 4: What is the primary purpose of a traceability matrix in test design?
- Track the number of bugs found per tester
- Link test cases to their corresponding requirements (Correct answer)
- Schedule test execution order
- Measure test coverage by line of code
Correct answer: Link test cases to their corresponding requirements
A traceability matrix maps each requirement to test cases, ensuring all requirements are covered and changes are tracked.
Question 5: A software module has 5 conditions, each independently true or false. How many rows would a full decision table have?
- 10
- 25
- 32 (Correct answer)
- 64
Correct answer: 32
With 5 binary conditions, the full decision table has 2^5 = 32 possible combinations of inputs.
Question 6: Which of the following best describes the 'use case testing' technique?
- Tests individual functions in isolation
- Validates system behavior through actor-system interaction scenarios (Correct answer)
- Checks code paths by analyzing source code structure
- Tests boundary values across all input partitions
Correct answer: Validates system behavior through actor-system interaction scenarios
Use case testing derives test cases from use cases that describe how actors interact with the system to achieve goals.
Question 7: When applying Equivalence Partitioning to a field that accepts ages 18–65, which set of test values provides the best partition coverage?
- 17, 18, 65, 66
- 10, 30, 50, 70
- 18, 41, 65
- 17, 41, 66 (Correct answer)
Correct answer: 17, 41, 66
Testing one invalid value below (17), one valid middle value (41), and one invalid value above (66) covers all three equivalence partitions.
Which test design technique is most effective for identifying defects at the boundaries of input ranges?