Aug 28, 2019

PROGRAMMING LANGUAGE


PROGRAMMING LANGUAGE:
programming language,low level language,high level language
programming language
  Program is the set of instruction and programming language is the language which we used to write this instruction which means the set instruction that make a program. To write program we used either python or C++ Compiler. Both Compilers used High level language to write programs.
According to the syntax and using of language programming language is divided into two mean parts
        1.       Low level language
        2.       High language

LOW LEVEL LANGUAGE:
  The type of language which nearly close to machine understand and hard to human understand, structurally it is also divided into two types.
        a.       Machine language
        b.      Assembly language

(a) MACHINE LANGUAGE:
  Machine language the actually language in which all program last converted and this language is directly understand by computer processor without need of any translator or interpreters and very difficult for human to understand.  It is the binary language consists of only 0s and 1s, 0s can be taken as absence of current and 1s as present of light.

(b) ASSEMBLY LANGUAGE:
   Another type of low level language in this type we used binary number as well as some character and symbol this language is neither directly understands by machine/computer and not by human but it is easy to human than machine language. It needs to convert into machine language or object language for this purpose assembler is used. It is also known as mid-level language.

HIGH LEVEL LANGUAGE (HILLs):
  High level language is the language which is used in all advances programming platform/compiler like C, C++ Python etc. in this language we used English like word to write so that it directly and easily understand by human and for the understanding of computer it need to convert. Compiler is used to convert High Level Language into Machine language.

SOURCE CODE AND OBJECT CODE:
You know about code a written instruction is called code where the source code is the language which we used to write the codes or instructions and the object code is the target code in which source code have to convert.
For example in C++ the source code is high level language which is used to write program and the object code is machine language in which HILLs to be converted.

TRANSLATOR:
 In programming language translator is used to convert source code to object code or target code. There are three translators in programming language.
         1.       Assembler
         2.       Compiler
         3.       Interpreter

ASSEMBLER:
  Type of translator which is used to convert  assembly language or mid-level language into machine language.

COMPILER OR INTERPRETER:
 Compiler or Interpreter also translators which are used to convert High Level Language into Machine language. The term compiler is also used for the application which is used to write programs such as C++ Compiler.




0 comments:

Post a Comment

Please do not enter any spam link in the comment box