Errors can occur at all stages of software development. In most cases the earlier error occurred in the development cycle the more difficult it will be to correct. In this section we examine errors that occur when implementing or coding software in programming languages. There are essentially three types of errors that can occur at the coding stage: syntax errors, runtime errors and logic errors.
In this section we concentrate on detecting and correcting errors during coding. In reality, the actual correction of the error is often a straightforward process. The more difficult task is to isolate the source of the error. In the Preliminary course, we examine three commonly used techniques: stubs, flags and debugging output statements. There are many other techniques available, some of which we shall consider in the HSC course. Techniques employed in order to debug computer software solutions |
