What is a programming language?
Types of programming languages : Low level and high level programming languages with examples
Differences between low level and high level programming languages
What is a Programming Language?
A set of words, symbols and codes used to write programs is called programming language. Different programming languages are available for writing different types of programs.
|Explain different types of programming languages|
With the help of computer language, a programmer tells a computer what to do. Some popular computer programming languages are C++, Java, Visual Basic etc. These are examples of high level programming languages. Whereas machine language and assembly language are called low level programming language.
Another Definition of a Programming Language
A programming language is a language that is designed to be used (read and written) by humans to create programs that can be executed by computers. In other words we can say that programming languages provides the way so that the users may interact with the computer to give it commands and instructions to perform certain tasks.
Types of Programming Languages
• low-level languages
• high-level languages.
Low Level Programming Languages
Following are two low-level languages:
• Machine Language
• Assembly Language
A computer language in which instructions are written in binary form (0 and 1) is called machine language. It is the only language that is directly understood by the computer. Machine language is the native language of computer.
Advantages of Machine Languages
Disadvantages of Machine Languages:
b) Machine Language is difficult to learn
c) Programs of Machine Language are difficult to modify
d) Machine Language requires deep knowledge of hardware
e) Programs of Machine Language are difficult to remove errors
f) Programs of Machine Language are Machine dependent
Machine language is also known as first generation language.
|Assembly Language Example Code|
Assembly language is a low-level language. In assembly language, symbols are used instead of binary code. These symbols are easy to remember. For example Add instruction is used to add two numbers.
Assembly language is also known as second generation language
Advantages of Assembly Langauge:
a) Assembly language programs are executed with fast speed
b) Assembly language programming is easier to learn, understand and modify than machine language
a) Assembly language programs are machine dependent
b) Assembly language programming requires deep knowledge of hardware
High Level Programming Languages
Examples of High Level Programming Languages
Advantages of High Level Programming Languages:
b) Programs written in High Level Programming Languages are Easy to modify
c) It is Easy to remove errors in the Programs written in High Level Programming Languages
d) Programs written in High Level Programming Languages are Machine independent
e) High Level Programming Languages have Better documentation
Disadvantages of High Level Programming Languages
b) High Level Programming Languages provide programming facilities for performing Certain operations.
An Introduction To High Level Programming Languages
FORTRAN stands for FORmula TRANslation. It is mainly used for writing applications related to science and engineering fields.
BASIC stands for Beginners All-purpose Symbolic Instruction Code. It was invented in late 1960’s to teach programming skills to students.
COBOL stands for Common Business Oriented Language. It was especially designed for business applications.
Difference between Low-level and High-level Programming Language
1. High-level languages are easy to learn
1. Low-level languages are difficult to learn.
2. near to human languages.
2, far from human languages.
3. Programs in high-level languages are slow in execution.
3. Programs in low-level languages are fast in execution.
4. Programs in high-level languages are easy to modify.
4. Programs in low-level languages are difficult to modify.
5. Deep knowledge of hardware is not required to write programs.
5. Deep knowledge of hardware is required to write programs.
Topic: Explain Different Types of Programming Languages and Differences What is a programming language? Types of programming languages : Low level and high level programming languages with examples Differences between low level and high level programming languages