The Gateway to Computer Science Excellence
+1 vote
966 views

In software testing, how the error, fault and failure are related to each other?

  1. Error leads to failure but fault is not related to error and failure
  2. Fault leads to failure but error is not related to fault and failure
  3. Error leads to fault and fault leads to failure
  4. Fault leads to error and error leads to failure
in IS&Software Engineering by Veteran (105k points)
retagged by | 966 views

1 Answer

+2 votes

ans is C error leads to fault and fault leads to error

Error is deviation from actual and expected value.

It represents mistake made by people.

Fault is incorrect step, process or data definition in a computer program which causes the program to behave in an unintended or unanticipated manner. 

It is the result of the error.

Bug is a fault in the program which causes the program to behave in an unintended or unanticipated manner.

It is an evidence of fault in the program.

Failure is the inability of a system or a component to perform its required functions within specified performance requirements.

Failure occurs when fault executes.

A defect is an error in coding or logic that causes a program to malfunction or to produce incorrect/unexpected results.

A defect is said to be detected when a failure is observed.

by Boss (48.8k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,645 questions
56,597 answers
195,837 comments
102,134 users