The First Computer Bug Was an Actual Insect - Apparently.
In 1947, a team of engineers working on the Harvard Mark II computer discovered a moth lodged in one of the relays, causing the system to malfunction. The team taped the moth to the computer log with the note "First actual case of bug being found" and dated it June 1947. This incident marked the origin of the term "bug" in computer science, which was later coined to describe software errors or glitches.