Saturday, October 22, 2011

Topic 2: Programming Languages. Part 3

The procedural programming language
    Most high-level programming language relates to procedural languages. Basically it is a programming language for solving computational problems, such as Basic, Pascal and C.
    Programming languages in which the opportunity is realized step by step detail of the algorithm, the descending and ascending programming, called procedural languages.
    In procedural languages is the main method of breaking tasks into individual steps and their consistent description. Here are the details of the algorithm is for the moment until we get the basic steps for solving problems of fragments that can be written in the form of commands allowed in this language.
    Another feature of procedural programming languages is that the commands in programs written procedural languages, are performed sequentially. This means that the results of all previous operations have been received and retroactive effect they have. Since the contents of memory where information is stored all intermediate operations performed, constantly updated and preliminary information is not stored, then cancel the previously executed commands can not be. Programming languages such type is called algorithmic.
    The basis of procedural programming languages, the principle of structured programming. The key idea of the structural construction of the algorithm is mapping the structure of the algorithm in the structure of the program text. Indeed, it is impossible to understand the program, if its structure disappears, as it happens when the compiler issues a machine code. The program is useless if people can not understand it and verify its correctness.
 

No comments:

Post a Comment