An error in a computer program is universally known as a bug. This term originated in the early days of computing, famously attributed to Grace Hopper, who discovered a moth (a literal 'bug') causing a malfunction in the Mark II computer. In software development, a bug refers to a flaw, error, or fault in a computer program or system that causes it to produce an incorrect or unexpected result, or to behave in unintended ways.
The correct answer is B: Bug. A bug is the precise technical term for a defect in code.
A: Crash is incorrect because a crash is often the *result* of a severe bug, where the program stops functioning unexpectedly, rather than the error itself. C: Virus is incorrect as a virus is a type of malicious software designed to infect and damage computer systems, not a general programming error. D: Glitch is incorrect; while colloquially used for minor malfunctions, 'glitch' is a more general term that can refer to temporary hardware or software issues, but 'bug' is the specific and formal term for an error within the program's code.
Is this answer helpful and correct?
0 agree0 disagree