🐛 Bug

3rd Grade 💻 Coding

A bug is a mistake in software that makes it do something wrong, stop, or not work at all.

Free · US Letter · no sign-up
Google Classroom Save to Pinterest Email me

Engineers were already using the word “bug” for problems in machines back in the 1800s. In 1947, a team working on a computer at Harvard found a moth stuck inside the machine, taped it into their logbook and joked that it was the “first actual case of bug being found.” The story became famous, mostly thanks to the programmer Grace Hopper, who loved to tell it.

Some bugs are small, like a misspelled word on the screen, and some are serious, making the software crash or calculate a wrong answer. Every programmer writes bugs — it’s part of the job. That’s why software gets tested a lot, and bugs keep getting fixed even after the software is released.

For example

  • In Ethan’s game, the character walked right through walls — a bug in the collision check.
  • An app that says “You have 1 messages” — a small wording bug.
  • A calculator that shows 2 + 2 = 5 is a serious bug — the answer is just wrong.

📌 Remember: Bug = a “critter” in the code. Everyone writes bugs; good programmers find them.

Quick quiz

  1. What is a bug?

  2. What was found inside a Harvard computer in 1947?

  3. Do professional programmers write bugs?

🔎 Ask Thinkapedia another question