As the generation in programming increased, the structure of the then written programs need to be easily understood, and at the same time easy to develop, write, debug, and efficient. So, a concept of high level programming language was introduced where programs were written in English like structure. Instructions written in high level language are called commands and statements. Those instructions are taken from English words and have a grammatical order of writing called syntax. In high level language, instructions are made in English like structure to make user-specific and have to be converted into machine readable codes. Such conversion is done by another set of programs called compiler or interpreter.
Program written by programmer in general editor is given a name of source code and the codes that are converted into machine compatible or intermediate code by compiler or interpreter is called object code. Examples of High level language are PASCAL, C, C++, JAVA, Q-Basic, etc.
Advantages of High level language:
- Easy to write, debug (removing errors in programs), and test the program.
- Commands and statements in English words discouraged the habit of remembering lots of mnemonics codes or other unusual codes as in machine/assembly language.
- Each and every statement is built with some pre-defined syntax, which guides the programmer about the way how the program should be written.
- Developing a source code does not require the internal structure of the computer.
- As the language gives the English interface the source code itself provides the form of technical documentation.
- High level programming language is machine independent.
Disadvantages of high level language:
- Since it is written in human language, it becomes heavy weight and execution of the program becomes slower.
- Every programming language in high level and each system must have its own translator because high level language can’t directly generate executable codes.