What is Programming language ?
What is Programming language ?
“Programming language is a computer language, which is used by the programmer to develop software programs(Applications), to execute scripts or other sets of instructions in the computer.” If in simple words, programming language is such a language. It is using which the application is create many type of app. Examples of programming languages are C, C++, Java, Python, Visual Basic, PHP, etc.
Programming Language Types
(1) Low Level Language
(2) Middle Level Language
(3) High level language
(1) Low Level Language
The language that does not include any translator to convert its signals into machine signals is called 'Low Level Language', that is, the code of low level language does not require any kind of translator Machine language.
Examples are-
Machine language - The computer understands only the language of 1 and 0, so instructions to the computer can be given only in binary code, 1 and 0, the instructions which are given in binary code are called machine language. machine can
Assembly Language - The instructions given in the assembly language are given in the form of English words such as NOV, ADD, SUB, etc. They are also called "mnemonic code", it is easier to understand assembly language than machine language. But as we know that computer is an electronic device and it understands binary code only so there is a need to translate program written in assembly language into machine language. The translator who translates assembly language into machine language is called an assembler.
Also read - What is the programming language Java, how can we learn it.
(2) Middle Level Language
Languages which have the characteristics of both low level language and high level language are called middle level language. A medium-level language is primarily an output of programming code written in a high-level language, known as source code. Code written in a middle-level language is designed to improve the translated code before it is executed by the CPU. Programs written in it cannot be executed directly by the computer, for this it needs to be converted into binary code.
(3) High level language
High level language is similar to the language code of English so it is easy to coding or understanding it. High level language requires a language translator who can translate high level language programs into machine language.
Examples of high level language
(1) Python
(2) JAVA
(3) C#
Which programming languages are used for what?
- C++ : This language is actually successor of C that mainly adds Object Orientation and Template feature to C. C++ being so fast (as C is) is mainly used for the following.
- Game Development
- GUIs
- Web Browsers
- Advanced computation and graphics
- Database software
- Operating Systems
- Enterprise Softwares
- Medical and Engineering softwares
- Compilers
- Java: Most of jobs mentioned above can be done using Java but it adds more flavor to your project by adding more features like Portability, Robustness ( Unlike programs written in C++ and some other languages, Java objects contain no references to data external to themselves or other known objects), Applets add flexibility, Developers can learn Java quickly.
- Python: This language is extremely easy to learn and is jack of all trades. You can literally get anything done in python from embedded system to GUIs, from basic servers to scientific programming.
- JavaScript: All the Websites/WebApps are incomplete without JavaScript. It runs in your browser. You can actually do a lot more using JS like creating a native looking mobile application and its presence is felt across the internet.