A public transportation authority is developing a new mobile app for journey planning. During a requirements review, a Test Analyst models the ticket purchasing process using a state transition diagram to identify potential defects in the specification. The analyst discovers that after a payment failure, there is no defined transition back to the 'Payment Method Selection' state, leaving the user in a 'Payment Failed' dead-end state.
Which defect prevention activity does this discovery best represent?
Answer and explanation
Correct answer: C
By creating a state transition model from the textual requirements, the Test Analyst is performing an activity to support phase containment. This modeling effort helps to formalize and visualize the system's behavior, which reveals ambiguities, incompleteness (like the missing transition), and inconsistencies in the specification before they are built into the code. This prevents defects from escaping the requirements phase into later development phases.
Question 2
A Test Analyst is applying domain testing to a feature that calculates shipping costs. The cost calculation depends on two interacting variables: package weight (W) in kg and destination zone (Z) as an integer. The rule for a specific shipping class is: (W > 2 AND W <= 10) AND (Z = 3 OR Z = 5).
To achieve reliable domain coverage for this equivalence partition, which set of points represents the minimum required test values?
Answer and explanation
Correct answer: B
Reliable domain coverage requires testing IN, OUT, ON, and OFF points for each border of the equivalence partition. The expression defines a partition with four borders: W > 2 (open), W <= 10 (closed), Z = 3 (equality), and Z = 5 (equality). While optimization is possible, the fundamental requirement is to test the four types of points (IN, OUT, ON, OFF) relative to each border to robustly check for implementation errors like incorrect relational operators or boundary values.
Question 3
You are testing a system for a video streaming service. The system must be configured for different user subscription plans, and you need to ensure all key feature combinations work correctly. The parameters are:
What is the minimum number of test cases required to achieve 100% pairwise (2-wise) coverage?
Answer and explanation
Correct answer: C
Pairwise (or all-pairs) testing aims to cover every possible pair of parameter values at least once. For a system with three parameters having 3 values each and one parameter with 2 values, the total number of combinations is 3 * 3 * 3 * 2 = 54. However, using a pairwise algorithm, the number of required tests is significantly smaller. The number of tests is typically dominated by the product of the two largest sets of values, which is 3 * 3 = 9. A covering array can be constructed to show that all pairs can be covered in 9 test cases.
Question 4
A Test Analyst is creating a test charter for a session-based exploratory test session on a new 'Guest Checkout' feature for an e-commerce website. The primary product risk identified is that the guest checkout process may fail to handle address validation and tax calculation correctly for international customers.
Which of the following is the most effective and well-formed mission for the test charter?
Answer and explanation
Correct answer: B
A well-formed test charter mission follows the 'Explore [target] With [resources] To discover [information]' format. This option clearly defines the target (Guest Checkout), the resources (international addresses), and the information to be discovered (defects in validation and tax calculation), directly addressing the identified product risk.
Question 5
During regression testing of a financial application, a Test Analyst notices that a set of automated test cases for loan calculation consistently fails. Upon manual re-execution, the analyst confirms the calculations are incorrect. The automated tests were correctly implemented based on the specification.
What is the Test Analyst's most appropriate next action during the test execution phase?
Answer and explanation
Correct answer: B
According to the ISTQB syllabus, key tasks during test execution include executing tests, comparing actual versus expected results, analyzing anomalies, and reporting defects. Since the analyst has confirmed a genuine failure (an anomaly caused by a defect), the correct procedure is to log the results and submit a detailed defect report.
Question 6
A Test Analyst is reviewing a use case for an online appointment booking system. The main success scenario describes a user successfully booking an appointment. An alternative scenario describes the user changing the appointment time before confirming. An exception scenario describes what happens if the selected time slot becomes unavailable just before confirmation.
Which test technique is most directly applicable for deriving test cases from this work product?
Answer and explanation
Correct answer: C
Use cases are a primary input for scenario-based testing. This technique involves creating test cases that follow the paths (scenarios) through the use case, including the main success scenario, alternative paths, and exception paths. The goal is to verify the system's behavior in realistic, end-to-end user workflows.
Question 7
Case Study: AeroLogistics Freight Management System
AeroLogistics Inc. is upgrading its legacy freight management system to a modern, web-based platform. The new system handles international air freight shipments and involves complex business rules for pricing, customs declarations, and regulatory compliance. You are the lead Test Analyst responsible for ensuring the quality of the 'Shipment Pricing Engine' module.
The pricing engine calculates shipping costs based on a combination of factors: shipment weight, volume, origin, destination, freight type (e.g., general, perishable, hazardous), and customer priority level (e.g., standard, express). The business requirements document contains over 50 pages of complex, interdependent business rules. For example, 'If the freight type is hazardous AND the destination is in the EU, then a surcharge of 15% applies, unless the customer priority is express, in which case the surcharge is 20%.' Many such rules exist, and the risk of misinterpreting or incorrectly implementing this logic is identified as the highest product risk.
Early prototypes of the system have shown that the user interface for entering shipment details is stable, but the underlying calculations are prone to error. The development team is working in an iterative model, with new sets of pricing rules being delivered in each two-week sprint. The test team needs a systematic way to verify the complex logic and ensure full coverage of the business rules for each iteration.
Given the high-risk nature of the complex, interdependent business rules in the Shipment Pricing Engine, which test technique should be your primary choice to systematically design tests and achieve the highest level of rule coverage?
Answer and explanation
Correct answer: C
The scenario explicitly describes a system governed by complex, interdependent business rules with multiple conditions leading to specific actions. This is the ideal situation for applying Decision Table Testing. This rule-based technique allows the Test Analyst to model all combinations of conditions in a structured table, identify any gaps or inconsistencies in the requirements, and derive a minimal set of test cases to cover every rule, thereby directly mitigating the highest identified product risk.
Question 8
Multiple answers
A Test Analyst is tasked with specifying the test environment requirements for a new point-of-sale (POS) system that will be deployed in retail stores. The system must integrate with a variety of hardware devices.
Which of the following would be considered essential test environment requirements that the Test Analyst should specify? (Select TWO)
Answer and explanation
Correct answers: A, D
Specifying the hardware components is a critical test environment requirement, as the POS system's functionality depends on correct integration with these devices.
The availability of external systems is a key aspect of the test environment. Specifying the need for a test double ensures that testing can proceed even if the live payment gateway is down or inaccessible, preventing blockages.
Question 9
True or False: When applying keyword-driven testing, the Test Analyst is typically responsible for implementing the low-level code that executes the action associated with a keyword like 'Login'.
Answer and explanation
Correct answer: B
This statement is false. In keyword-driven testing, the Test Analyst's role is to identify and specify the business-facing keywords and use them to construct test scripts. The implementation of the underlying code for these keywords is typically the responsibility of a more technical role, such as a Technical Test Analyst (TTA) or a Test Automation Engineer (TAE).
Question 10
A Test Analyst is testing an AI-based image recognition service that identifies species of birds from photographs. The underlying model is a complex neural network, and for a given input image, it is practically impossible to manually predict the exact confidence score for each of the thousands of possible bird species. This presents a significant test oracle problem.
Which test technique is specifically designed to address this type of test oracle problem by verifying properties of the output in relation to changes in the input?
Answer and explanation
Correct answer: B
Metamorphic testing is ideal for situations with a test oracle problem. Instead of verifying a specific output, it checks for expected relationships (metamorphic relations) between the outputs of a series of related test cases. For example, if an image of a robin is slightly rotated (a change in input), the output should still identify it as a robin, perhaps with a slightly different confidence score (an expected property of the output). This verifies the system's behavior without needing to know the exact expected output for any single test.