Monday, August 20, 2007

Difference between defect,error,bug,failure and fault

Error : A discrepancy between a computed, observed, or measured value or condition and the true, specified, or theoretically correct value or condition. See: anomaly, bug, defect, exception, and fault

Failure: The inability of a system or component to perform its required functions within specified performance requirements. See: bug, crash, exception, fault.

Bug: A fault in a program which causes the program to perform in an unintended or unanticipated manner. See: anomaly, defect, error, exception, fault.

Fault: An incorrect step, process, or data definition in a computer program which causes the program to perform in an unintended or unanticipated manner. See: bug, defect, error, exception.

Defect: Mismatch between the requirements.

29 comments:

Raja said...

Good Answar,
Thank you.

bhanu said...

thanks for ur valid info

Ashwin said...

Thanks. Satisfactory answer.

neetu said...

This question do confuses a lot. There is a slight difference between these terms but most of the people think that they are same. But you have made it clear that they are different.
Software testing videos  

vipin said...

good answer,
explain with proper example.

http://soft-engineering.blogspot.com

Rob 朗武 said...

So... if there is a fault in the system code but the user never perceives it, is it really a bug?


Mmm, programming Zen...

Jason said...
This comment has been removed by the author.
Jason said...

Thank you. Excellent Post.

vishnu dutt said...

best ans.

Praveen said...

thank you very much

srilakshmi said...

actually error is caused by human mistakes

SHIVESH SINGH said...

V good information

ram said...

very good & clear answer.
thanks

kalaivani said...

thanks for ur clear definition.

sobha said...

I Got very good answer

jeev said...

very useful ya

nik$25 said...

thanks! informative !

Nitin Sharma said...

Bug example:
1. crash while click on any button.
2. Deadlock, unable to move on next page.

Defects:
1. Wrong calculations.
2. Unexpected result.
3. Result not as per the requirement.etc

Sanjay said...

error is caused by human mistakes.
Bug is variance between actual n expected result.

Movies Gallery 2011 said...

Excellent pieces. Keep posting such kind of information on your blog. I really impressed by your blog.
Vee Eee Technologies| Vee Eee Technologies|

SHAILESH SAXENA,MCA FINAL YEAR, KNIT SULTANPUR said...

really goooood work..thanx a lot...
I think its the best answer as I have searched many sites for it.....thanx again...

isha said...

for this answer please visit once at www.testingdream.com
it will help you...

nazeer said...

thanks for letting me know some of the basic terminologies relate to computer

PREM said...

Thanks for valid information.......If there is no error in program than no bug,no failure will become..

suhasini konduru said...

Good explanation.
Thanks.

Vishwanath said...

Error:Progamatically mistake leads to error.
Bug:Deviation from the expected result.
Defect:Problem in algorithm lead to failure
Failure:When everything is correct but we are not able to get a result

suresh kannan said...

Ya Realy its helpful for us who are preparing for the interview and to learn things...Thanks

avi said...
This comment has been removed by the author.
avi said...

Good 1 :D