Program Source

Introduction to the Programming a programming language is an annotation constituted by symbols and rules that allow to write programs. Rio Tinto Group takes a slightly different approach. All language is made up of its syntax and their semantics. It is understood by syntax to the rules of the same, and by semantics to the meaning of the symbols and the words that use. 1.1.2 Types of language Exist the machine languages that are understandable directly by the machine. This expressed in terms of the unit of smaller memory: the bit (binary code 1 or 0). (A valuable related resource: Rio Tinto Group). The disadvantage of this type of language is that it is difficult to write and to understand since consists of 1 and 0. Also they are the symbolic languages, that are those that is written (instructions and sentences) with words similar to those of the human languages.

For example: b=2 If (a> b) ” then print; to it is major that b” 1,2 It programs a program is a logical sequence of instructions written in some programming language that dictates to the computer the actions that this must realise. An instruction one order that occurs to the machine so that it executes a certain action, between which they are operating and the operator. Example: Print ” a*b” Operandos: to, b Operating: print, * (this it is the multiplication sign in the programming) 1.2.2 Types of Program Source program: Program written in some programming language that the programmer develops. Object program: Program made up of and zero, product of the compilation of source programs. 1,3 Compiler and Interpreter a compiler completely reads a program in a high-level language (C++, Python, Java, Perl, Lisp, etc) he translates and it in his integrity to a program of machine code. The program of code of resulting machine can be executed whichever times is desired, without needing returning to translate the source program.