Thursday, 10 September 2020

What is programing ?

 Programming Language 




What is a programming language ? why do we need programming languages 


Programming languages are one of the most important and direct tool for the construction of computer system 


In a modern computer different languages are routinely used for different level of abstraction 


Like natural language programming languages are fundamental means of expression to communicate with computer we need programming languages 


Programming languages are the set of some instructions written in some specific format to instruct the computer so that computer can perform some task 


Types of programming languages :- 


There are three types of programming languages 


  1. Low level language (machine level language)

  2. Assembly level language

  3. High level language 


  • Low level language :- 


Low level programing language is the programming language which is very close to the machine or in the form of ‘0’ and ‘1’ are called as low level language 


The instruction of this language can be in different format like operation code arithmetic or logical operations or instruction code 


Advantages :- 


  1. Fast execution 

  2. No translation required 

  3. High efficiency 


Disadvantages :-


  1. It is machine dependent 

  2. It is difficult to modify 

  3. Knowledge of hardware is also required 

  4. Difficult to debug (locate errors)

  5. It is difficult to understand the machine level language 


  • Assembly level language :- 


Assembly level language is another low level programming language because instruction given in this language are also close to the machine 


But some symbolic notations are used which are meaningful abbreviations such as ADD, SUB, MOV, etc.


Advantages :-


  1. It is quite easy to understand 

  2. Good efficiency

  3. No need of addresses 

  4. Easy to locate errors 


Disadvantages :-


  1. It is machine dependent 

  2. Knowledge of hardware is required 

  3. It is difficult to write code 


  • High level language :- 


High level programming language are the programming languages that are close to the human language and are similar to the english are known as high level programming language 


The programs which is written in high level language must be translated to the machine code before their execution


Each high level language has its own translator program 



Types of high level language :- 


Hear high level language is classified into four sub-groups


  1. Procedural (c, fortran, algol)

  2. Non-procedural (sql,oracle)

  3. Oop (c++,java,python)

  4. Functional (LISP)


Advantages :- 


  1. It is machine independent 

  2. It is easy to understand 

  3. It is easy to modify 

  4. Easy to locate errors 

  5. No need of hardware knowledge requires 

  6. Supportive library functions 


Disadvantages :- 


  1. Execution is slow due to the translation process (from high level language to low level language)

  2. Has low efficiency


Hopefully the above mentioned information helped you to get more knowledge about the programming languages and their uses 


Stay connected with us for further such useful information and if you like the content then please share further 


Thankyou 


BY :- ADARSH GUPTA 





No comments:

Post a Comment

Linking Words/ Conjunctions

  Linking Words/ Conjunctions Conjunctions are words that link other words, phrases, or clauses together. Kinds of conjunctions Conjunctions...