Wednesday 17 August 2011

PROGRAMMING METHODOLOGY

The first step a programmer performs is Defining a Problem. This step is absolutely necessary for creating a workable solution. Before working on a project the programmer should understand carefully what the user wants to do.
Next you must learn to Outline the Solution. A program performs multiple tasks. A program is composed of many different modules. Thus you need to specify both the responsibilities of each task and how these individual tasks iterate and interact. So, it has to be ensured that the pieces being developed separately are integrated into the whole system.
Now we are over with the primitive work of problem solving. The third step involves representing the problem in algorithmic way which is designed by the programmer. As this step describes the details of the proposed problem and its solution, this is a major step towards fully functional programming.
After defining the algorithms we need to Code the process. Before coding the process, the programmer has to choose a computer language.
Maintaining your program is very important. Since the programs are not static in nature and they frequently become outdated as errors are discovered, new problems need to be solved, reviews are needed when new equipment becomes available. Thus one programmer may develop the program whereas other may modify it.
To ease the modification process a program must be well written, should be clear and systematic.
Next comes Debugging where programmer has to locate and correct all the errors in the given program.
Testing and Validation is the most important step because the whole program is useless until it produces a correct result. The programmer must check that the program provides correct output for all the inputs by the user.
Last in this post we will discuss about Modular Programming. It refers to a technique in which the logical parts of a problem are divided into a series of individual routines so that each may be programmed independently.


0 comments:

Post a Comment