Fundamental programming constructs

There are three basic programming concepts.

These are assignment (ie a=5, a=5+3, etc), test (ie if a=5) and jump.

The jump is necessary so that you can have loops, of which there are only three types.

Those are pre-test (while), post-test (repeat) and indexed (for).

This fully covers all af the elements that you need for writing any serial program. You need a few more for parallel programs, but then you would expect that.

link back to site index

last modified 15:59 2006/03/08