Difference between error and bug?
Difference between error and bug?
2350
16-Oct-2019
Updated on 06-Jul-2023
Aryan Kumar
06-Jul-2023The terms "error" and "bug" are often used interchangeably, but there is a subtle difference between the two.
An error is a mistake that is made during the development or execution of a program. Errors can be caused by a variety of factors, such as typos, incorrect syntax, or logical errors. Errors can cause the program to crash, produce incorrect output, or behave in unexpected ways.
A bug is a specific instance of an error that causes the program to malfunction. Bugs are usually found during testing, but they can also be found during development. Bugs can be fixed by finding and correcting the underlying error.
Here is a table that summarizes the differences between errors and bugs:
Jyotirmay
17-Oct-2019Web application development is always followed by testing. Testing is the process of identifying defects, where a defect is any variance between actual and expected results.
ERROR: An error is a mistake, misconception, or misunderstanding on the part of a software developer. In the category of developer we include software engineers, programmers, analysts, and testers. For example, a developer may misunderstand a de-sign notation, or a programmer might type a variable name incorrectly – leads to an Error. It is the one which is generated because of wrong login, loop or due to syntax. Error normally arises in software; it leads to change the functionality of the program.
BUG: A bug is the result of a coding error. An Error found in the development environment before the product is shipped to the customer. A programming error that causes a program to work poorly, produce incorrect results or crash. An error in software or hardware that causes a program to malfunction. Bug is terminology of Tester.
Om ji mishra
16-Oct-2019An error is a mistake, misconception, or misunderstanding on the part of a software developer. Where a bug is the result of a coding error. An Error found in the development environment before the product is shipped to the customer. A programming error that causes a program to work poorly, produce incorrect results or crash.