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 System Software and Operating System 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?
- Arrange the following levels of interrupt protection within the Linux Kernel in order of increasing priority: (A) user mode programs (B) bo…
- Given below are two statements: Statement (I): A thread is a dispatchable unit of work that does not execute sequentially and is not interr…
- Given below are an Assertion (A) and a Reason (R): Assertion (A): I/O protection is ensured by a hardware trap. Reason (R): I/O interrupts…
- Given below are two statements: Assertion A: A process involves a library function to create a thread. Reason R: The threads make system ca…