Cause and Discovery of the Bugs

This lesson explores the causes of bugs and then explains how to discover the bugs.

We'll cover the following...

As commonly known, any device that runs some piece of computer program contains software bugs. Software bugs plague computer devices from the simplest to the most complex. Debugging and fixing software bugs is among the less favorable daily activities of a programmer.

Causes of bugs #

There are many reasons why software bugs occur. The following is an incomplete list, roughly from the design stage of a program through the actual coding of it:

  • The requirements and specifications of the program may not be clear. What the program should actually do may not be known at the design stage. ...