+ 1

What is the difference in an error and a bug?

22nd Mar 2022, 12:26 PM
Namita Athya
Namita Athya - avatar
4 Antworten
+ 1
Thank you everyone for your explanation
22nd Mar 2022, 1:39 PM
Namita Athya
Namita Athya - avatar
0
hope these helos you... https://www.google.com/amp/s/artoftesting.com/difference-between-error-fault-failure-and-defect “A mistake in coding is called Error, error found by tester is called Defect, defect accepted by development team then it is called Bug" https://www.360logica.com/blog/difference-between-defect-error-bug-failure-and-fault/#iLightbox All bugs are error but all errors are not bugs..
22nd Mar 2022, 12:45 PM
Jayakrishna 🇮🇳
0
in short bugs produces errors, but error is error. The end result is either warning or error bugs are basically mistakes in code management and code design. It sometimes results in unusual behaviour of our code and also causes errors for example int a=0; if(a=1) // bugged cout<<1000; else cout<<9999; output = 1000 always, but value of a is 0, So it should of come 9999. It's a bug. The compiler will warn you most of the time error are basically mistakes made by the coder like reference error, syntax error, logical error, semicolon, carelessness of coder.
22nd Mar 2022, 12:49 PM
NonStop CODING
NonStop CODING - avatar
0
Errors and bugs are related concepts in the realm of software development, but they have distinct meanings and implications. An error is a broader term that refers to any unintended deviation from the expected behavior of a program. This can encompass a wide range of issues, including mistakes made by developers during coding, design flaws, or even misunderstandings in the requirements specification. Errors can manifest at various stages of the software development life cycle, from the initial conception to the deployment phase. On the other hand, a bug is a specific type of error that occurs in the source code of a program and results in incorrect or unexpected behavior. Bugs are coding errors that may lead to software malfunctions, crashes, or undesired outputs. The term "bug" is often attributed to Grace Hopper, who in the 1940s found an actual moth causing a malfunction in a computer, coining the phrase "debugging" to describe the process of fixing such issues.
23rd Jan 2024, 10:18 AM
Precise Testing
Precise Testing - avatar