ECS&E
ECS&E
ECS&E
Once the design process is complete, the actual computer program is written, i.e. the instructions arewritten in
a computer language.
Coding is generally a very small part of the entire program development process and also a less
timeconsuming activity in reality.
Coding
In this process all the syntax errors i.e. errors related to spelling, missing commas, undefined labels etc. are
eliminated.
For effective coding some of the guide lines which are applied are:
1. Use of meaningful names and labels of variables,
2. Simple and clear expressions,Modularity with emphasis on making modules generalized,
3. Making use of comments and indenting the code properly,
4. Avoiding jumps in the program to transfer control.
Debugging Testing
At this stage the errors in the programs are detected and
corrected. The program is tested on a number of
This stage of program development is an important process. suitable test cases.A test plan of the program
has to be done at the stage of the program
Debugging is also known as programvalidation. design itself.
Some common errors which might occur in the programs This ensures a thorough understanding of
include: the specifications.
1. Un initialization of variables. The most trivial and the most special cases
2. Reversing of order of operands. should be identified and tested.
It is always useful to include the maximum
3. Confusion of numbers and characters
and minimum values of all variables as test
4. Inverting of conditions eg jumping on zero instead of on not data
zero.
Documentation Maintenance