This question has spawned a number of urban myths.
The term 'bug' was first used by Grace Hopper on September 9th, 1945 when a real bug, a moth, short-circuited an early computer on relay number 70 Panel F, of the MARK II Aiken Relay Calculator, in the Harvard University. The operators of the computer said they had "debugged" the computer, and ever since then the terms has not changed. (They actually finished building the computer in 1947, which was the year of the actual event.)
The most widely known is that Captain (later Admiral) Grace Hopper was busy debugging a program that she had written. Finding a moth squashed in her card deck, she quipped "this is the first real computer bug !"
This story gives the lie to the claim that this is where the name came from. If this was the first computer bug, why did she refer to it as the first real one ?
Come to that, why was she debugging her program before the moth was found?
The simple truth is that difficult to find troubles in machinery were already being called bugs by engineers prior to 1900. Tomas Edison may have been the first one to use the term in this sense, writing it in a notebook entry in 1876 regarding problems developing a system of multiplexing signals over a wire for telegraph.
The Bug
In 1947, Grace Murray Hopper was working on the Harvard University Mark II Aiken Relay Calculator (a primitive computer).
On the 9th of September, 1947, when the machine was experiencing problems, an investigation showed that there was a moth trapped between the points of Relay #70, in Panel F.
The operators removed the moth and affixed it to the log. (See the picture above.) The entry reads: "First actual case of bug being found."
(See the link at the bottom of this page for a much larger version of this picture.)
The word went out that they had "debugged" the machine and the term "debugging a computer program" was born.
Although Grace Hopper was always careful to admit that she was not there when it actually happened, it was one of her favorite stories.
it's actually in display in the smithsonian if i remember correctly
The computer bug came from back when computers used to be extremely large and do very little. You see there were large tubes on the computers and they would get clogged with bugs so now little problems on computers now days are referred to as bugs.
The term "bug" had been in use for any malfunction or error of a machine long before electronic digital computers existed.
Its first use referring to a computer problem was on the Harvard Mark II electromechanical computer, when a moth got smashed inside the contacts of a relay causing a failure. When the failure was located and the moth removed from the relay, the operator on that shift taped it to the logbook below the entry on the failure and labeled it First Computer Bug. That morning Grace Murray Hopper came on duty and read the logbook and thought it was a great story to tell every time she spoke somewhere. The first computer bug wasn't even in an electronic computer, the Harvard Mark II was electromechanical.
The term "bug" had been in use for any malfunction or error of a machine long before electronic digital computers existed.
Its first use referring to a computer problem was on the Harvard Mark II electromechanical computer, when a moth got smashed inside the contacts of a relay causing a failure. When the failure was located and the moth removed from the relay, the operator on that shift taped it to the logbook below the entry on the failure and labeled it First Computer Bug. That morning Grace Murray Hopper came on duty and read the logbook and thought it was a great story to tell every time she spoke somewhere. The first computer bug wasn't even in an electronic computer, the Harvard Mark II was electromechanical.
There a have been a few references to bugs in the computing field over the years. One of which came via Grace Hopper - who discovered a trapped (dead) moth within the workings of an early electro-mechanical computer. There is a detailed explanation in the Wikipedia article on the subject - See related link.
The story goes that Grace Hopper coined the term after she found a scorched moth in her computer.
Virus
a computer bug is what she found in the computer
It's an old term that has just stuck around. The story is told of people who were working on one of the early computers. The computer suddenly stopped working and everyone started going over every component individually. That computer used mechanical relays to make many of the circuits function, and the story is that a moth became trapped in one of the closed relays. Since the moth wing did not allow the relay to function properly it had to be removed before the computer would work. From that experience came the term "bug". It was said that the computer stopped working because it had a "bug" in it. Of course it follows that once the "bug" was removed, the computer continued to work. From that came the term "debugging". The term is used in all aspects of computer hardware and software. Many programmers and computer professionalsstill use the term "bug" to describe any problem with computer hardware or code.
Virus
There will be some more ... impact is difficult to imagine ...
For information on GIGO in computers, see the related question "What does GIGO mean?". For information on computer bugs, see the related question "What are computer bugs?".
There is a google article about her 107th birthday (Dec. 9, 2013) where it describes the "bug" that she found while they were testing the computer (Mark I Electromechanical Computing Machine). The anecdotal story is that the moth they found was a bug and that they debugged the machine.
Virus, slow computer aka lag, bug, or it just takes awhile to get it started.
This phrase is contemporary and a simply internal rhyme with a literal meaning. It is more often heard as "snug as a bug in a rug."
The phrase "to catch the reading bug" is an allegory, which is an example of a rhetorical device. The phrase means to suddenly become enthusiastic about reading.
Stink bug (a type of bug that has a really bad smell) in Indonesian is called 'Walang sangit'.
any problem in the computer's hardware or software..
The word "bug" in computer terminology refers to an unexpected glitch that a program may execute by accident. The first computer bug was an actual bug! I forget how the story goes, but one day someone was opening up their computer to fix it because something was wrong with it, and they found a dead moth inside!
Bug, as in insect, is die Wanze or das Insekt. Bug, as in computer bug, could be said a number of ways, like: Programmfehler.
bug zappers
bug - a computer bug
a computer bug is what she found in the computer
Well your computer might have a bug