Introduction to Language
In this article, I am going to give a brief introduction to the language, computer language, programming language and why we need a programming language, and what is the job of a programmer.
What is language?
A language is nothing but a set of instructions. So generally, if you take English language or Hindi language, the languages we are using to communicate. If we want to communicate with another person, we are passing instructions using a particular language. But while using a language, we need to follow some of the instructions. For example, if I want to speak in English, I just want to form a sentence, to form a sentence, first, we should be grammatically good or else we cannot form a sentence.
What is computer language?
A computer language is also a set of instructions or in other words, you can say a set of programs, we give an application to understand.
What is the need for computer language?
If one person wants to communicate with another person, generally, they have to share information nothing but passing instructions for general communication. They are using general languages like English, Telugu, Hindi, etc.
Communicating with the machine is a simple task. Just consider if I am asking the question, what is the five factorials? Everyone can answer easily it’s a 120, all right, it is a simple calculation. Suppose if my next question is what is the factorial of 120 factorial? No one can answer because it’s a bit complex operation. This complex operation is performed by Computer/PC using programs. The computer understands the binary language. That’s why there is a need for a programming language.
If the person wants to communicate with the computer, the person needs to pass instructions in a machine code only i.e. a computer can understand only machine code. So that’s why first we have to learn one programming language properly. There are many programming languages like C, C++, Java, C#. And all these are programming languages like high-level languages.
For communicating with Computers, we write programs in any programming language. If you want to communicate with the computer using the C language, first you should learn the C language perfectly. After learning the language, we are writing programs, program means a set of instructions. For example, A equals 10 and b equals 20 and c equals a plus b. We are taking two variables nothing but two values and we are adding and printing the result.
Programs get converted by Compiler and the output result gets generated on the screen. Compiler converts all these instructions into binary language or machine code. Now machine code is ready. So, once the machine code is ready you can pass it as an input to the computer.
The computer will produce the output. This is actually the process of communication with the computer. Directly we cannot communicate with the computer. We are communicating to perform complex operations in an easy way.
Imagine ATM facility is not available and I just want to withdraw some amount of money from my account. How difficult it is right. So, it is a long process, first I have to visit the bank, and then so much process I have to complete. finally, I will get the money. Suppose if machine availability is there, within one minute or two minutes you will get the money.
So, machines always make our tasks very easy and this is the only reason we are communicating with the machines. Direct communication with the computer is not allowed because we cannot pass instructions in a binary language. So first we have to learn one programming language and after learning the programming language, we will write programs and then converting into binary instructions using the compiler.
What is an Interface?
It is not always necessary to be a programmer to communicate with the machines. An end-user also can communicate with the machine using an interface. The interface means without having the background details we can perform our tasks.
Just consider end user and user, the end-user wants to perform one ATM transaction, the end-user can communicate using interfaces. For example, the end-user understands the English language, then the end-user clicks on English, then all the instructions will come in English language and operations will be performed.
What is happening in the background is not required for the end-user. For example, if you are driving a car, you just want to increase the speed of the car, you will accelerate generally. So, whenever we accelerate, the speed will increase or automatically but, what is happening in the background we don’t know.
Now we will learn, how this interface will communicate with different machines to complete the operations. The End user whenever enters how much amount they want to withdraw, it is communicating with the server machine, how it is communicating with a server machine, by a database machine that is not required to the end-user.
End-user leave the ATM center with the money. For any reason, if the transaction has failed, then the end-user directly contacts the bank management and the bank management contact programmer because the programmer is providing the interface.
So, here, as a programmer, we are not communicating with the machines, we are just developing applications nothing but we are providing interfaces by which every end-user can easily interact with the machine and that is our motto.
In the next article, I am going to give an overview of different types of programming languages. Here, in this article, I try to give an overview of the language, computer language, programming language and why we need a programming language, and what is the job of a programmer and I hope you enjoy this article.