Basics of programming languages
- kiranmalape

- Oct 7, 2021
- 2 min read
Updated: Oct 8, 2021
Welcome to the basics of programming languages!
So the first question is, what is the use of programming languages?
Every day we use various websites, mobile apps, games or software like Photoshop, video editor. All of these applications are built using programming languages like java, Python, C# or JavaScript.
So the next question is. How it works?
How these applications work on our computers Or smartphones?
Let's understand the whole process in short, In three layers.
Top layer.
All of the websites Or applications or games we see on computers or smartphones are the part of Top layer. All of these applications are built using languages like Java, Python or JavaScript. We humans can understand these languages Because they are similar to the English language. So These languages are also known as high level programming languages.
But computers Or microprocessors In computers. Can't understand these languages. The only language Micro processors or controllers can understand Is machine language. That is Binary language Like 10101.
So here comes the Middle layer.
Middle layer.
Middle layer uses compilers Or interpreters To convert the Code written in High level programming languages like Java or Python to the machine language that is binary language. These compilers Work as a translator Between software code And microprocessors. Compilers are integrated with operating systems Like windows, Mac or Android. These compilers Are built using C Or C++. These languages Are known as low level programming language. For humans, these languages are hard to understand as compared to the high level programming languages like Java or Python.
Bottom layer.
Microprocessors or controllers are the important parts of bottom layer. Microprocessors can understand Only machine language that is binary language. All machine code generated by compilers in the middle layer is finally processed by microprocessors and return The output as Binary code. Then again, compilers convert these binary code To the high level programming languages like Java or Python and display it on the screen Or run the software.
This is a simple Overview of working of Any programming language. I hope this will help you understand The working of programming languages. Thank you for watching.


Comments