Bug
A computer "bug" is a flaw or error in a software or hardware design that causes a program to produce an incorrect or unexpected result. The term's most famous origin comes from a 1947 incident where a literal moth caused a malfunction in the Harvard Mark II computer, which was documented by engineer Grace Hopper and helped popularize the term.
Definition and Cause
Flaw in Design: A bug is essentially a mistake in the programming or design of a computer system or application.
Incorrect Behavior: This flaw leads to the program deviating from its intended function, producing wrong results, or failing entirely.
Types of Bugs:
Functional bugs: The program doesn't work as intended (e.g., a Save button doesn't save).
Visual bugs: Something appears wrong with the application's design or responsiveness.
Security bugs: Flaws or vulnerabilities that can be exploited to compromise system integrity or data.
Performance bugs: The software doesn't perform as expected under certain loads or conditions.