answersLogoWhite

0

What is the difference between bugs and error?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

Usually an "error" refers to some bit of illegal code in your program. It may not conform to the language grammar, or it might be a runtime error (ex: division by zero). A "bug" is a mistake made by the programmer which causes the program to act in a manner for which it was not designed to act.

Note that sometimes a bug is considered to be a type of error, usually called a logic error.
Errors may be due to the variation of the input data, not conforming to the specification. The program may be fine.

Bugs on the other hand, are mistakes in the programs. It could be found out by the occurrence of the errors described prior, but also just "wrong" logic within the code (e.g., if (x > 3000) exit program should have coded as if (x < 3000) exit program.)

Sometimes, you can blame others for causing errors to your software, but you can only blame yourself for the bugs! That's the difference.
A bug is a flaw or small problem in computer software. It may make it difficult or impossible to use the computer software. A bug is the result of an error made by the developers of software. Error is a more general term for improper, inappropriate or incorrect actions or responses.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

Typically a bug is when something works incorrectly. An error is when something doesn't work at all.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between bugs and error?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between a mistake and an error?

There is no difference.


What is the difference between a error and a mistake?

There is no difference.


What is the difference between low percent error and high percent error?

The difference between low percent error and high percent error is one is low and the other is high


What is difference between exception and a bug?

Exceptions can be errors that have been caught or where expected. They can then be managed. The may look like bugs to the user if the error message is outputted to the screen but this is a handled procedure. A bug something not been anticipated and so causes an error and this error is not handled. So bugs can be more serious as they can cause the program to stop running.


What was the difference between the gold bugs and the silverities?

The Color.


What is the difference between a bias and a random error?

Bias is systematic error. Random error is not.


What is the relationship of the standard error of the mean to the standard error of the difference?

It would help to know the standard error of the difference between what elements.


What was the difference between the gold bugs and the silver rites?

The Color.


What is difference between the accepted value and the experimental value?

the answer is error or experimental error.


Difference between an error and a mistake?

they are the same thing.


What is the index error in theodolite?

Half of the difference between the two positions is called the "index error".


What is an parallax error?

The difference between an actual correct view and a displaced visual parallax error