The first computer bug was a real bug! In 1947, a moth became lodged in a relay of the Harvard Mark II computer, causing it to malfunction.Â
The engineers jokingly referred to the incident as a "bug" and hence the term was born.