In software testing, how are error, fault and failure related to each other?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. Fault leads to error and error leads to failure
Explanation
In the dependability taxonomy used by IEEE and by Avizienis et al., a fault is the defect lying dormant in the code, an error is the incorrect internal state that arises when that fault is activated during execution, and a failure is the externally visible deviation from the required service. The causal chain is therefore fault → error → failure, which is option 4. Options 1 and 2 are wrong because they break the chain and claim the third term is unrelated. Option 3 states the alternative textbook chain (human mistake → fault → failure), which uses "error" in the sense of a developer's mistake rather than an erroneous program state.More Software Engineering questions
- Verification: (A) refers to the set of activities that ensure that software correctly implements a specific function (B) gives answer to th…
- In which testing strategy are the requirements established during requirements analysis validated against the developed software?
- Software reliability is described with respect to (A) Execution Time (B) Calendar Time (C) Clock Time Choose the correct answer from the op…
- Statement I: "Quality control involves the series of inspections, reviews and tests used throughout the software process, to ensure each wo…
- According to the ISO-9126 Standard Quality Model, match List-I with List-II: List-I (Attributes) (a) Functionality (b) Reliability (c) Effi…
- Software products need adaptive maintenance for which of the following reasons?