92.9k views
2 votes
Which of the following is the correct statement?

A. An error causes a failure which results in a defect
B. A defect causes a failure which results in an error
C. A failure is observed as an error and the root cause is the defect
D. An error causes a defect which is observed as a failure

User Chrystie
by
8.5k points

1 Answer

4 votes

Final answer:

Option C is the correct statement. A failure is observed as an error and the root cause is the defect.

Step-by-step explanation:

The correct statement is option C. A failure is observed as an error and the root cause is the defect. In the context of software development or testing, an error refers to a mistake in the code or logic that may lead to unexpected behavior. When this error manifests and is detected during testing or usage, it is referred to as a failure. The defect is the underlying issue or bug in the software that causes the error or failure to occur.

User Furas
by
7.8k points