FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is a bug?
A
An error in a program
B
An error in an algorithm
C
A way of halting a program that is running
D
None of the above
Explanation: 

Detailed explanation-1: -A software bug is an error, flaw or fault in the design, development, or operation of computer software that causes it to produce an incorrect or unexpected result, or to behave in unintended ways.

Detailed explanation-2: -Generally speaking, an error occurs when there is an incorrect input and is temporary in nature, whereas a bug is an unexpected flaw or imperfection that could be permanent.

Detailed explanation-3: -A bug is an unexpected problem with software or hardware. Typical problems are often the result of external interference with the program’s performance that was not anticipated by the developer.

Detailed explanation-4: -We can say that a mistake made by a programmer during coding is called an error, an error found during the unit testing in the development phase is called a defect, an error found during the testing phase is called a bug and when an error is found at an end user’s end is called as the failure.

Detailed explanation-5: -A program may be syntactically correct and no warning reported but still give a wrong answer, is a program that contain a bug. A bug is either a programming error (i.e. + instead of-) or a logical error where you cannot perform an operation sequence in a logical manner.

There is 1 question to complete.