Check full java topics on this main page
What is a programming language?
In simple terms, It is the language used by humans to interact with hardware(Computer). As the requirements for surrounding increases, different updations and methods are done.
Let's see programming language evolution in detail
1. Machine Level Language:- Language that hardware can understand. Whatever program that your are writing will finally be converted to machine code to instruct the hardware.
For Ex: In a computer, they will interact in a machine level language. All data and instructions are transferred using this machine level language. When we click any key from a keyboard, an instruction is made to CPU using 0's and 1's
- Low-level language
- The machine can understand only 0's and 1's.
- As the form of this language itself is 0's and 1's there is no need for any translations. So, This language is faster than in other languages.
For Ex: When any key is pressed on a computer keyboard, A binary code will get generated and transferred to a microprocessor. In the microprocessor, it will convert the comment into machine code and execute the user-entered command
- Low-level language
- We can able to understand assembly language but need more time to write a program in it
There are many languages in the field to perform this. Below are some of the languages used to instruct tasks for the hardware.
Ex: C, C++, Java,etc.,
Small Recap on programming language
- Writes code in the high-level language
- After compilation, this high-level language is converted into binary form
- Machine code is converted to Assembly level language
- Then instruction or date gets stored in Machine level language
Hope this post clarifies you!!
If not feel free to post a comment
Comments
Post a Comment