🧩Bug
Also known as Software Bug, Defect
A mistake in a program that makes it do the wrong thing, or stop.
Think of it like
Think of it like a typo in a recipe that says salt where it meant sugar. The cook follows it, and the cake tastes wrong.
Example
A shop's code adds tax twice on one page. For a week, people buying a 10 pound book are charged 14.40 instead of 12.
Why it matters
Every program has bugs. Good teams find them early, when they are cheap to fix, not after customers do.
Definition
Common mistake
Key takeaways
- 1The code is wrong. The machine follows it exactly.
- 2Quiet ones hurt most. A wrong answer can go unseen for months.
- 3Cheaper early. A bug found today costs less than one found later.