START

Clearly formulate the problem

Choose the appropriate programming language

Develop the solution

Translate the solution into

the required programming language

Test program with a judiciously chosen

set of special values of input data

STOP

Do all

the bugs seem to

be removed

Do you

still think this

the best method

of solution

          ?

Remove all

known bugs

Document your program

     You now have a

satisfactory program

YES

YES

NO

NO

The following restrictions apply:

(1)

speed of execution is to be maximized,

(2)

accuracy of solution must be sufficient,

(3)

storage requirements are to be minimized,

(4)

programming time is to be minimized,

(5)

degree of generality and expandability required must be decided on.

Also, the method of solution should:

(1)

take account of special cases,

(2)

provide error exits,

(3)

be developed in modular form.

The program should include the following:

(1)

adequate documentation,

(2)

clean, easy-to-follow code,

(3)

avoidance of machine or compiler dependant features where possible,

(4)

provision for de-bugging output,

(5)

the code should be concise, effective, and modular.

 

Supplement this with hand calculations which can be compared with de-bugging output.

Complete the documentation of your program.