Which of the following statements correctly identifies what has happened?

An iPhone application identifies and counts all purchases of a particular product from a shopping website. The application incorrectly counts purchase attempts by including both failed attempts, and also those where the purchase was terminated by the user before completion. Testing has identified that the problem was located in the ‘purchase identification’ module, where the first stage in the purchasing process was counted, rather than a successful confirmed purchase.

Which of the following statements correctly identifies what has happened? [K2]
A . The application failed because of a defect in the purchase identification module caused by a programmer mistake or an error in the specification.
B . An error by the programmer led to a mistake in the purchase identification module and this caused a defect in the application
C . A defect in the purchase identification module caused by a mistake in the module specification led to a defect in the overall application
D . A bug in the purchase identification module caused a fault in the application

Answer: A

Explanation:

The application failed because of a defect in the purchase identification module caused by a programmer mistake or an error in the specification. A defect is a flaw or imperfection in a software product that causes it to fail to meet its requirements or expectations. A failure is an event or behavior of a software product that deviates from its requirements or expectations. An error is a human action or decision that produces a defect. A mistake is an incorrect action or decision that leads to an error. In this case, the application failed because it incorrectly counted purchase attempts, which was a defect in the purchase identification module. The defect was caused by either a programmer mistake (such as writing wrong code) or an error in the specification (such as defining wrong requirements). A detailed explanation of defects, failures, errors, and mistakes can be found in [A Study Guide to the ISTQB® Foundation Level 2018 Syllabus], pages 5-6.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments