ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Error report
|
|
Bug
|
|
Mistake
|
|
Algorithm
|
Detailed explanation-1: -A Software Bug is a failure, flaw, or error in a program that causes undesired or incorrect results or behaves in an unintended way. It is an anomaly (error/unexpected behavior) that prevents the application from functioning as it was expected to.
Detailed explanation-2: -bug. An error in a program that prevents the program from running as expected.
Detailed explanation-3: -Syntax Errors A syntax error will happen, and this will stop the program from running. As your proficiency with programming language increases, you will make syntax errors less frequently.
Detailed explanation-4: -Bugs arise from oversight or misunderstanding by a software team during specification, design, coding, configuration, data entry or documentation. For example, a relatively simple program to alphabetize a list of words, the design might fail to consider what should happen when a word contains a hyphen.
Detailed explanation-5: -These mistakes are called runtime errors because they do not appear until we run the program. The errors are also called exceptions because they usually indicate that something exceptional (and bad) has happened.