The first computer bug was a real bug, a moth found inside a computer in 1947.
Engineers found the moth taped into a logbook with the note 'first actual case of bug being found'. That is where the word computer bug comes from.
From: Unbelievable inventions.
No source was recorded for this fact on the old site.