Why are errors in software codes called Bugs?

                                 


A "Computer Bug" or 'Software Bug' is generally defined as:-

In IT, a bug refers to an error, fault, or flaw in any computer program or a hardware system. A bug produces unexpected results or causes a system to behave unexpectedly. In short, it is any behavior or result that a program or system gets but it was not designed to do.

The term "bug" was used in an account by computer pioneer Grace Hopper, who publicized the cause of a malfunction in an early electromechanical computer. Operators traced an error in the Mark II to a moth trapped in a relay, coining the term bug. This bug was carefully removed and taped to the logbook.

A page from the Harvard Mark II electromechanical computer’s log, featuring a dead moth that was removed from the device. The first-ever Computer Bug!
The operators who found it kept the insect with the notation “First actual case of bug being found.”

This logbook, complete with attached moth, is part of the collection of the Smithsonian National Museum of American History


Grace Hopper(who worked on the Harvard Mark II, and invented the first compiler for a computer programming language) noted “From then on, when anything went wrong with the computer, we said it had bugs in it”.

Stemming from the first bug, today we call errors or glitches in a program a bug.

So there you go, the reason why it is called a bug, or now a software bug is that the very first bug was an actual living bug, which caused the problems in the functioning of the computer.

That first bug was an actual bug, which made the computer to not work as it should. The process of removing bugs is called debugging, which Hopper and her team had to do quite literally.

Please like and share the Blog www.curiousknowledges.blogspot.com




Comments

Popular Posts