ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
an error in a code
|
|
a scratch on the screen
|
|
something is wrong with the computer
|
|
none of the above
|
Detailed explanation-1: -In computer technology, a bug is a coding error in a computer program. (We consider a program to also include the microcode that is manufactured into a microprocessor.) The process of finding bugs–before users do–is called debugging.
Detailed explanation-2: -“In IT, a bug refers to an error, fault, or flaw in any computer program or a hardware system. A bug produces unexpected results or causes a system to behave unexpectedly. In short, it is any behavior or result that a program or system gets but it was not designed to do.”
Detailed explanation-3: -The word has been used in engineering since the nineteenth century. The word ‘bug’ actually is short for Bugbear. (sometimes found as Bugaboo). It’s meaning is much closer to ‘Gremlin’, where the people who worked on engineering prototypes often grew to suspect that the problems were due to malicious spooks.
Detailed explanation-4: -A software bug is an error in the programming of software or an app. Bugs cause problems ranging from stability issues to operability problems and are usually due to human errors during the programming process. They may be the result of a mistake or an error, or they could stem from a fault or defect.
Detailed explanation-5: -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.