What is a Programming Language?
A programming language is a formal language used by a Programmer to provide a set of instructions to a computer to perform specific operations. The language is written in high-level languages that are easily understandable by the user. They are very close to human language. For Example- C++, Python, Java, etc. But the computer only understands the language of 0’s and 1’s. They also called machine-understandable language or low-level language or Binary Language. But the programs we are going to write are in a high-level language which is almost similar to human language. Code written in high-level language needs to be converted into lower-level language or machine-understandable language to create an executable program that is understandable by the Computer. And this task is performed by a Computer Program known as the Compiler.
Between the high-level language and the machine language, there is assembly language. It is a type of low-level programming language. It may be produced by compiling source code from a high-level programming language but can also be written by the user from scratch.
Now after the code has been converted to assemble level code. The utility program known as the Assembler is used to convert assembly code into executable machine code.
The top ten programming languages are: Python, C++, Java Script, Java, R, C#, PHP, Swift, Go, Kotlin.
Advantages of a High-Level Programming Language are :
- Ease of learning the language
- Shorter code
- Ease of Debugging
- Ease of Modifications
- Easy to Maintain
Disadvantages of High-Level Programming Language are :
- Less Control Over Hardware than Assembly Language
- Less Efficient Memory Usage