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
Low level language (machine level language)
Assembly level language
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 :-
Fast execution
No translation required
High efficiency
Disadvantages :-
It is machine dependent
It is difficult to modify
Knowledge of hardware is also required
Difficult to debug (locate errors)
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 :-
It is quite easy to understand
Good efficiency
No need of addresses
Easy to locate errors
Disadvantages :-
It is machine dependent
Knowledge of hardware is required
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
Procedural (c, fortran, algol)
Non-procedural (sql,oracle)
Oop (c++,java,python)
Functional (LISP)
Advantages :-
It is machine independent
It is easy to understand
It is easy to modify
Easy to locate errors
No need of hardware knowledge requires
Supportive library functions
Disadvantages :-
Execution is slow due to the translation process (from high level language to low level language)
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