An error in a program which causes wrong result is called a .........
Explanation:
The question asks for the general term for an error in a program that leads to an incorrect outcome. This is a fundamental concept in computer science and programming. Option (a) bug: In computer science, a 'bug' is a widely recognized and standard term for 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. These errors can range from minor glitches to critical failures that crash the system. Programmers spend a significant amount of time identifying and fixing these bugs, a process known as debugging. Therefore, 'bug' is the precise and most appropriate term for an error in a program causing a wrong result. Option (b) byte: A 'byte' is a fundamental unit of digital information that most commonly consists of eight bits. It is used to measure data storage capacity or data transfer rates. For example, a character like 'A' is typically stored as one byte. A byte has no relation to an error or fault in a program; it is purely a unit of data measurement. Therefore, this option is factually incorrect in the context of the question. Option (c) attributes: 'Attributes' refer to properties or characteristics of an object, file, or entity. In programming, an object might have attributes like 'color' or 'size'. In file systems, a file might have attributes like 'read-only' or 'hidden'. While attributes describe aspects of a program or data, they do not represent an error that causes a wrong result. An attribute is a descriptive property, not a malfunction. Therefore, this option is incorrect. Option (d) init problem: 'Init' is short for initialization, which refers to the process of setting up a program, system, or variable with an initial value or state. An 'init problem' would specifically refer to an error that occurs during this initialization phase. While an initialization problem is indeed a *type* of error or bug, 'bug' is the overarching, general term for *any* error in a program that causes a wrong result, regardless of where or when it occurs. The question asks for the general term, and 'bug' is more comprehensive than a specific type of problem like an 'init problem'. Thus, 'bug' is the better answer. Option (e) none of these: This option would be correct only if none of the other choices accurately described an error in a program causing a wrong result. However, 'bug' is a universally accepted and precise term for such an error. Since a correct and fitting option is provided, 'none of these' is incorrect.