Why Programming Language?
Because they are FAST And ACCURACY. But, they can't do operations automatically. We have to tell them what they have to do.And That's what we call Programming.We need to program the machine what they have to do. In order to program the machine you will need to communicate with them. We humans communicate using languages.The languages we are using to communicate is not understandable to machines. Machines can only understand 0's and 1's which are called binary digits.We can't talk binary. If we don't know the meaning of word in english language we look into dictionary or we use translator to translate the word to the language we know. Here comes the Programming language.
List of some programming languages
- C
- C++
- Python
- Java
- HTML
- JavaScript
We use these languages to communicate with the machine.There are more than 500 programming languages. You don't have to learn everything.Learn what you need.Every language has different purposes and structure. You might wonder how these languages are going to look like? These are just some english words.
Programming language examples
For Example,
The above is the python sample code to print "Hello World" in the screen.Here we are giving printing task to machine .Now you can ask,"still these are not understandable to machine then how the machines are going to execute the task?"Yeah .It makes sense. For now we have seen only the language code it's called source code.
Every language has compiler.The compiler converts the source code to binary code (0's and 1's).This binary code will be executed by machines.
First we write the source code and then the compiler converts the source code to binary code And Then Hurray!