Comp chap 8

An error in a program which causes wrong result is called a ............ .

Verified Answer
A. bug
B. byte
C. attributes
D. init problem
E. none of these

Explanation:

The question defines a specific term in computer science: an error in a program that leads to incorrect outcomes. Let's evaluate the given options: (A) A 'bug' in computer science refers to an error, flaw, failure, or fault in a computer program or system that causes it to produce an incorrect or unexpected result, or to behave in unintended ways. This term is universally accepted and accurately describes the scenario presented in the question. Debugging is the process of finding and resolving these errors. (B) A 'byte' is a unit of digital information that most commonly consists of eight bits. It is a measure of data storage or transmission, not an error in a program. For example, a character like 'A' might be represented by one byte. (C) 'Attributes' are characteristics or properties associated with an object, file, or entity. For instance, a file might have attributes like 'read-only' or 'hidden'. This term describes properties, not errors. (D) An 'init problem' refers to an issue related to the 'init' process, which is the first process started during the booting of a Unix-like operating system. While it is a type of problem, it is highly specific to system startup and not a general term for any error in any program causing a wrong result. \nGiven these definitions, 'bug' is the precise and correct term for an error in a program that causes wrong results.