The first recorded computer bug was caused by an actual bug.
Why it is true
In nineteen forty-seven, a moth got stuck in a relay of the Harvard Mark II computer, causing a malfunction.
Source: Computing History
Would you rather be asked first?
This is the reading side of the site, so the answer is in the sentence above — that is the whole point of it. Test yourself works the other way round: the question comes on its own, and the fact and the explanation only appear once you have answered.
Related facts
The first documented computer bug was a real moth found in a relay.
The first recorded computer bug was an actual moth stuck in a relay.
The first computer bug in history was a real moth trapped in a computer in 1947.
The first recorded computer bug was an actual insect.