Testing and Debugging
Despite our best efforts, we seldom write a program that runs correctly the first time. In most cases,
there is at least one mistake (bug) in the program that will cause it
to crash or produce incorrect output. In these course notes, you will learn techniques that will help you:
- design tests that will detect most mistakes, and
- determine the cause of the errors that you have detected.
The notes are divided into the following sections: