|
If you follow the traditional five-step approach to problem solving found outlined a few pages ago you should have a very logical series of steps that define your problem solution. Top down design would have you state high level program instructions, then break these down into smaller sets of instructions, and again into smaller sets until you get to what are termed modules, the lowest level that you need to program. Characteristics that make up a module are described here.
Each module will be different, depending on the specific problem being solved. Very simple problems may have a single module, complex problems many hundreds. The key is readability. Anyone should be able to pick up your program and figure out the basics of what you are doing with little effort. A side benefit of top down design is ease of debugging problems and ease of making changes to the solution. Program StructureA structured program will be organized in a manner like that described below. LISP and other newer languages have somewhat different structures.
|
|||||||||||||||||||
Please use the contact
form for questions or comments about this web site.
Copyright © 2001
Computer Knowledge, All Rights Reserved
Pray the Rosary for peace.