Pseudocode is an English like way of representing the
solution to a problem. It is considered a “first draft” because the Pseudocode
eventually has to be translated into a programming language. Although Pseudocode
is like English and has some precision to it, it does not have the very
definite precision of a programming language. A computer cannot execute Pseudocode.
When using Pseudocode to plan a program, concentrate on the logic and do not
worry about the rules of a specific language. It is also very easy to change Pseudocode
when a flaw is discovered in logic: once it is coded in programming language,
most people find that it is more difficult to change logic. Pseudocode can be
translated into a variety of programming languages, such as Pascal or COBOL. It
is helpful to introduce Pseudocode in relation to flowcharting.
No comments:
Post a Comment