nerdexam
iSQI

CTFL_SYLL_4.0 · Question #112

An application is subjected to a constant load for an extended period of time as part of a performance test While running this test, the response time of the application steadily slows down, which…

The correct answer is A. The slowdown is a failure while the memory leak is a defect. In software testing terminology, a failure is an observable deviation of the software from its expected behavior. A defect (or bug) is the cause of the failure in the software's code. In this case, the observed slowdown is the failure, while the underlying memory leak in the…

Fundamentals of Testing

Question

An application is subjected to a constant load for an extended period of time as part of a performance test While running this test, the response time of the application steadily slows down, which results in a requirement not being met This slowdown is caused by a memory leak where the application code does not properly release some of the dynamically allocated memory when it is no longer needed. Which of the following statements is TRUE?

Options

  • AThe slowdown is a failure while the memory leak is a defect
  • BThe slowdown is a defect while the memory leak is an error.
  • CThe slowdown is an error; the memory leak is a defect.
  • DThe slowdown is a defect; the memory leak is a failure.

How the community answered

(40 responses)
  • A
    65% (26)
  • B
    20% (8)
  • C
    5% (2)
  • D
    10% (4)

Explanation

In software testing terminology, a failure is an observable deviation of the software from its expected behavior. A defect (or bug) is the cause of the failure in the software's code. In this case, the observed slowdown is the failure, while the underlying memory leak in the application code is the defect causing this failure. This distinction is clearly outlined in the ISTQB CTFL Syllabus v4.0, which differentiates between failures (observable issues) and defects (underlying issues in the code).

Topics

#failure#defect#error#root cause analysis

Community Discussion

No community discussion yet for this question.

Full CTFL_SYLL_4.0 Practice