MENU
Question -

Write the factors on which documentation depend.



Answer -

1. A program must have meaningful constant and variable names.
2. A program should include specification of the problem.
3. The initial lines of comment should contain programmer’s name, date, brief description of the problem, and the purpose of the program.
4. Other comments include the input by form and type, output by form and type, data structures used, main function and other functions used, and assumptions.
5. The purpose of every function and their inter-relationships must be described with comments.
6. Comments are to be inserted in the program wherever necessary for clarity. The purpose of such comments is not to tell how or why something is done, but what is being done.

Comment(S)

Show all Coment

Leave a Comment

Free - Previous Years Question Papers
Any questions? Ask us!
×