UNIT 1 - Basic concept of Programming

Posted on Friday, May 7, 2010 by B[H] | 0 comments
Labels:

Before we start writing our own programs let us examine some important characteristics of well-written computer programs. Basically these apply to any programming language that provide a useful set of guidelines.

a. Integrity. This refer to the accuracy of the calculations since it will be meaningless if calculations are not carried out correctly.

b. Clarity. This refer to the overall readability of the program, with particular emphasis on its underlying logic. If a program is clearly written, it should be possible for programmer to follow the program logic with ease.

c. Simplicity. The clarity and accuracy of a program are usually enhanced by keeping things as simple as possible, consistent with the overall program objectives.

d. Efficiency. This is concerned with execution speed and efficient memory utilization.

e. Modularity. Many programs can be broken down into a series of identifiable subtask that enhances accuracy and clarity of a program and facilitates future program alterations.

f. Generality. Usually we will want a program to be as general as possible, within reasonable limits. A considerable amount of generality can be obtained with very little additional programming effort.

No comments:

Post a Comment