Bansal Wiki is developed with the aim of supporting new generation for keeping them up-to date with this modern world either in Technology or in Education.
Pages
▼
January 20, 2013
Stages in C-program development
CREATING A PROGRAM
a. Specify a program. b. Write an algorithm to solve the given problem. c. Write the codes to implement the performed algorithm.
COMPILE THE PROGRAM
The compiler will first check for syntax errors if there is any syntax error it’ll display to the programmer. The programmer will remove that errors and again send it to compiler. If there are no errors the compiler will translate into corresponding machine language.
LINKING THE PROGRAM MODULES
The object program obtain at second stage may not execute directly as it may contain references to function that are defined in other modules. In order to execute codes these modules have to be linked up which is done by the Linker.
TESTING AND DEBUGGING
In this stage program is tested with all possible values of input data for which the result is known or result can be calculated manually. The program is declared correct if the output for all possible input values matches the output occupied manually.
DOCUMENTING THE PROGRAM
Documentation means recording the important information about the program. It enables other users and programmer to understand the logic and purpose of program and this helpful in maintenance and up gradation of the program.
No comments:
Post a Comment