What are Errors, Faults, Bugs, Defects, and Failures.

11:30

What are Errors, Faults, Bugs, Defects, and Failures


Error :-  
Error can be defined as the difference between the actual value of the output given by the software and the specified correct value of the output, for the given input. So, the Error is the cause of that difference.
or we can say, Error is the human actions
that result in software containing a defect or fault.

Error can be classified into two categories:-
1. Syntax Error : A Syntax Error is a program statement that break the rules of the language in which that program is written.
2. Logic Error :  A Logic Error is what in which incorrect data fields are used and an error comes at Runtime of program.

Fault :-
Fault is the condition, that causes a system to fail in performing its required function or work. Fault is the basic reason behind the software malfunction.
We can say, a Fault occur when , even a correct input is given to software, and that software needs repair.
Faults may introduce in a software during, original design of software, during addition of new features, during the design changes, or during repairing of faults that have been identified.

Bug :-
A Bug is a coding error in a computer program. The process of finding bug in the program is called debugging. Debugging starts after the code is first written and continues in successive stages, like combining the programs to form a software product.
A bug is not only a problem in program, in fact a software can run bug free and still fail in giving some major objectives.

Defects :-

A software defect can occur in :-
the code,
the manuals of the software,and
the documentation.

Defects in software product can occur due to :-
1. more variance in software product specifications.
2. more variance in customer/user requirements.
Defects can belong to three categories:-
1. Wrong :- This means defects comes from wrong/incorrect implementation of software specifications, this is also called Error due to Omission.
2. Extra :- This means defects comes by adding some features in software product, that are not in software specifications, this is also called Error due to Commission.
3. Missing :- This means absence of feature that was expected by the customer/user in the development phase, this is also called Error due to Ignorance.

Failure :-

Failure can be defined as the software inability to full fill the required specification of software product. In fact, the software goes ahead in processing without showing any error or fault.
Failure comes only when there is fault in the system, but, it is not necessary condition.  
    

You Might Also Like

0 comments

If you have any questions or suggestions, you are free to ask, i will appreciate that and, i will try my best...

Google Ads