Hello friends, in this post we will discuss about computer language.
Do you know what is computer programming ? It is a procedure by which instruction is provided to the computer to perform a task.
Human beings need language to communicate with each other. Language is a means of communication. Similarly, in order to interact with the computer an understandable programming language of the computer was created which is called computer language.
we must know the languages of the computer. There are many types of computer languages, which have their own signs, characters and rules of use, which help humans to communicate with the computer.
Definition of Programming Language:
A set of logically related instructions which are arranged in sequence so as to guide the computer in solving a problem is called a program. The languages in which programs are written are called programming. It needs to be programmed correctly to get the right results.
A computer language refers to the interaction between the computer and the user. With the help of a computer language, a programmer gives commands to the computer, which he wants to do. All computers have a vocabulary, which has a certain meaning. Therefore, each symbol of the computer language is used to perform a specific function of the computer.
The symbols of a particular computer language must be used as a set of rules, known as syntax rules of that language. Computers become a machine only by adopting proper vocabulary according to the syntax rules used by the language. Thus, in case of a computer language, if the user wants the computer to understand that language, then the correct rules of the user's language should be followed. Unless a programmer uses the syntax rules of the programming language and the correct symbols or marks, the computer will not understand its commands.
Do you know how many types of computer language are there?
Broadly computer language can be classification into two categories:
- Low level language
- High level language
(1). Machine Language
Machine Language: - Machine language is the language in which only 0 and 1 two digits are used, it is the basic language of the computer, which the computer understands directly, the machine language is written in binary code. Which has only two digits 0 and 1 since the computer understands only binary signals. IN this, 0 means Low or Off and 1 means High or On.
What is Machine Language?
It is also called low-level language. A computer program is prepared to understand different computer languages, but a language that the computer can understand without translation, that language is called machine language. Machine language is the basic language of the computer. Normally it is written as strings of 0 and 1. The computer immediately understands the machine language and immediately converts it into electrical signals. Computer runs through this electrical signals.
Machine language is very difficult to learn, because it is executed on the binary number system. The computer understands binary codes very easily but it becomes very difficult for the user to understand it.
(2). Assembly Language
It is very difficult to write a program in machine language. To solve this problem, an easily understandable language was developed for the convenience of the programmer. Assembly language is one of them. The program can be easily written in alphanumeric symbols instead of 0 and 1. For this work, meaningful and easily readable symbols are selected. For example, ADD for adding, SUB for subtracting, CMP for comparison, etc. Such symbols are known as mnemonics.
Programs written with the help of mnemonics are called Assembly Language programs. It is easy and quick to write programs in machine language.
High-level Language
The difficulties in the Low level languages were removed by the high level language. This can be easily readable and understood by the programmer. Programmers can easily create programs in this language. Instructions written in high level programming languages are called statements. It is a combination of English and Mathematical language. To write programs in this language, it is not necessary to have knowledge of the internal structure of the computer. Programs written on any one computer can be easily executed on another computer. That is, programs written in this language can be operated on almost all computers.
High level programming language is used to create software and programs. It is a class of languages designed with the aim of simplifying computer programming.
The biggest feature of High Level Programming Language is that it does not depend on the hardware or Central Processing Unit (CPU) of the computer in any way, so we can run the program created in one computer on any other computer. High level language is considered to be a very high class programming language and it is very easy to learn and write the source code of a software with its help, because when a software engineer writes the source code with the help of a high level language, that class And with the help of Function, one can divide the code into small blocks, which makes the structure of the code very simple and it becomes very easy to understand them. Along with this, it provides the convenience of reusing the code so that the same type of code does not have to be written again and again.
Some of the major high-level languages are C, C++, C#, Java, Python, PHP, JavaScript, FORTRAN, Ruby, Visual Basic .