Given the following User Story: "As an online customer, I would like to be able to cancel the purchase of an individual item from a shopping list so that it only displays the relevant items, in less than 1 second", which of the following can be considered as applicable acceptance test cases?
I Click on my online shopping list, select the unwanted Item, delete the unwanted item, the unwanted Item is deleted from the shopping list in less than 1 second.
ii. Click on my online shopping list, select all the items, delete all the items, the unwanted items are deleted from the shopping list in less than 1 second.
iii. Tab to the online shopping list and press enter, select the unwanted item, delete the unwanted item, the unwanted item is deleted from the shopping list In less than 1 second.
Iv. Click on the checkout button, select the payment method, make payment, confirmation received of payment and shipping date.
v. Click on my shopping list, select the unwanted Item, delete the unwanted item, the unwanted item is deleted from the shopping list.
Select the correct answer:
Answer : C
Applicable acceptance test cases for the given user story should focus on the specific requirement of deleting an individual item from the shopping list and ensuring that it is removed in less than 1 second. Therefore, the valid test cases are: i. Click on my online shopping list, select the unwanted item, delete the unwanted item, the unwanted item is deleted from the shopping list in less than 1 second. iii. Tab to the online shopping list and press enter, select the unwanted item, delete the unwanted item, the unwanted item is deleted from the shopping list in less than 1 second. Reference: ISTQB CTFL Syllabus V4.0, Section 5.2.2
Which of the following best describes the way in which statement coverage is measured?
Answer : C
Statement coverage is a metric used in white-box testing that measures the percentage of executable statements in the code that have been executed by the test cases. It is calculated as the number of statements executed by the tests divided by the total number of executable statements in the code, providing an indication of how much of the code has been tested.
You are an experienced tester on a project with incomplete requirements and under pressure to deploy.
What type of testing should you do?
Answer : D
When working on a project with incomplete requirements and under pressure to deploy, exploratory testing is particularly suitable. This type of testing allows testers to use their expertise and intuition to explore the system's functionality and identify defects without needing detailed specifications. Exploratory testing is flexible and can quickly adapt to changes and gaps in the requirements.
Which two of the following statements describe the advantages provided by good traceability between the test basis and test work products?
I Analyzing the impact of changes.
ii. A measure of code quality.
iii. Accurate test estimation.
iv. Making testing auditable.
Select the correct answer:
Answer : B
Good traceability between the test basis and test work products provides several advantages: i. Analyzing the impact of changes: Traceability allows for easy identification of which parts of the test work products will be affected by changes in the requirements or design, facilitating impact analysis. iv. Making testing auditable: Traceability ensures that there is a clear connection between the requirements and the test cases, which makes the testing process auditable and provides evidence that all requirements have been tested.
Select the roles required in a formal review:
Answer : A
In a formal review, the roles involved typically include the author, management, facilitator (also known as moderator), review leader, reviewers, and scribe. Each role has specific responsibilities to ensure the effectiveness and efficiency of the review process:
The author creates and refines the work product being reviewed.
Management allocates resources and supports the review process.
The facilitator manages the review meeting, ensuring it proceeds smoothly.
The review leader plans the review and ensures it meets its objectives.
Reviewers examine the work product to identify defects.
The scribe records issues raised during the review meeting.
Which of the following characterizations applies to a test tool used for the analysis of a developer's code prior to its execution?
Answer : B
A test tool used for the analysis of a developer's code prior to its execution falls under the category of static testing tools. Static testing involves examining the code and documentation without executing the code. These tools are used to perform static analysis, which helps in identifying potential defects and code quality issues early in the development process. The ISTQB CTFL syllabus specifies that static analysis tools are essential for finding defects that do not manifest themselves during the execution of the program.
Which of the following statements is incorrect regarding the involvement of testers in the software development lifecycle (SDLC)?
Answer : C
Involving testers only during the testing phase is incorrect as per the ISTQB CTFL syllabus. Effective involvement of testers is crucial throughout the entire software development lifecycle (SDLC). This includes early stages such as requirement analysis and design, which allows testers to understand the design decisions and detect defects early. Early involvement helps in better understanding the project and ensures that quality is built into the product from the beginning. Furthermore, the ISTQB syllabus emphasizes the importance of testers contributing to all activities in the SDLC, including design discussions, to enhance defect detection and prevention.