Documentation

Statement or description of problem

This may be a set question or it may be the description of a problem you have chosen yourself.

Description of the algorithm (there may be more than one)

Use appropriate techniques such as plain English, pseudo-code or structure diagrams, dry runs, code blocks (procedures and functions) to describe the solution. Imagine you are explaining the algorithm to a group of people who know less than you.

Include analysis of error trapping, eg when user enters inappropriate data.

Program Code

Include full code.

Testing of the Program

Devise a strategy, don't just throw data at the window. What data is appropriate to test the program? Use ordinary data, exceptional data and false data (eg letters instead of numbers).

Future Development of the Program

Limitations of the current solutions. Comment on ways you might extend or improve the program in future.

Pascal Home