Results (
English) 1:
[Copy]Copied!
There are five stages in programming. First, the computations to be performed must be clearly and precisely defined. The over-all plan of the computations is diagrammed by means of a so called flow chart. The second stage is the actual coding. It is often best to write a code in terms of a symbolic language first, for then changes are easily made. Numbers are assigned to the symbols, and the final code is prepared. In the third stage some procedure is used to get the code into the memory of the computer. The fourth stage consists in debugging the code, i.e. detecting and correcting any errors. The fifth, and the final stage, involves running the code on the computer and tabulating the results. In fact, it is well known that a single error in one instruction invalidates the entire code. Hence, programming is a technique requiring attention to details without loosing sight of the over-all plan. Flow chart is a diagram, or picture, of a code that is often helpful for visualizing interrelationship between various parts of a code. Such a diagram is almost always made before the specific instructions are written. There are essentially three kinds of symbols used in a flow chart. The first represents function calculations, the second represents decisions and the various associated alternatives, the third, called a variable connector, is simply a way to eliminate too many crossing lines in the picture or to indicate which lines to follow when one has to continue the diagram on another page. Symbolic Coding Aids. It is another intermediate aid between the statement of the problem and the final code. Symbolic coding consists in writing a code not in terms of specific numerical addresses, but rather in terms of some name description or other symbolism to represent the addresses. Then at a later time, specific addresses can be assigned for these symbols, or names, to produce the actual code. The intermediate code in terms or symbols is called the symbolic code. This technique is extremely useful particularly in those cases where one must write instructions involving addresses of constants or of other instructions that have not yet been specially assigned.
Being translated, please wait..
