Next: On-line Phone Book
Up: Exercises
Previous: Exercises
In the following pages are a number of suggested exercises to test your FORTRAN
programming skills. It is unlikely that any of these programs will last long
but you will get the most out of them if you analyse, design and code as if they
will be used for years to come. In particular, pay attention to:-
- Structure
- Divide up your program into logically independent subroutines and functions -
don't just lump everything into a main program!
- Code Layout
- Format the code neatly so as to make it as readable as possible.
- In-line Documentation
- Comment the code, paying particular attention to assumptions made in the
algorithms and how to maintain the program.
- Robustness
- Make sure that it can handle bad data, including silly input from the user (who
is usually only to happy to provide it).
- Ease of Use
- Imagine that the program is going to be used by somebody else - would they find
it ``User Friendly''?
Now look at the exercises and pick one that looks challenging.
n west (APC)
2000-03-08