What is Programming languages?

what is programming languages
Spread the love

Hello friends,

We usually heard about programming languages like C, C++, JAVA, PYTHON, etc. so, now we are going to learn about computer languages.

We can also define ‘Computer’ as the following

Computer’ is a machine that performs a set of arithmetic and logical operations on any kind of data. This process is automatically done via programming languages.

So, one question that can occur in your mind is that ‘What is the programming language?’

We can understand the concept of programming language by an example, if we want to communicate with people we are using our languages like English, French, German, etc.

we can called languages as the interface between ours and peoples.

Computer cannot understand our languages like English, Hindi, etc. The computer has its own machine level or binary language. We cannot able to directly understand computer languages.

So, for communicate with the computer developers develop a set of special-purpose languages called programming languages.

Basically, we can define programming languages as following:
The programming language is a set of rules for instructing the computer to perform specific tasks.

We can also define it as set of instructions for producing various kinds of outputs.

Basically, developers write the specific programming code for performing specific tasks.

This programming code is a source code.

First of this entire source code is compiling and after the process of compilation, it will run on the machine.

During the process of compilation, the logical and syntax related errors located in source code are detect. After the programmer removes the errors located in source code.

Source code runs on the machine and a specific task is performed on the machine.

Types of Programming language:

Machine level language:

Binary language consists of patterns of 0’s and 1’s means whatever instructions you want to send a computer is in the form of 0’s and 1’s.

So, a computer can directly understand this language that’s why it is called machine level language.

For example, 100011011.
Because of computer can directly understand machine level language any instruction written in machine level language executes very fastly.

Some problems regarding Machine Level programming languages as following:

1) It is difficult to learn and error debugging in it is also difficult.

2) You should have a lot of knowledge about computers for learning machine level language.

3) It is also dependent on computer’s architecture. Therefore you cannot run single program on two different architecture’s computers.

Assembly level programming languages

Assembly level language is nothing but the simplified version of machine level language. For example, if we want to write code for the addition of 2 and 6 so it is quite complex in machine level language but in assembly level language we can write like this add 2 6.

So, assembly level language consists of various types of symbols for performing various types of operations.

The problem regarding the assembly level language is that it is not directly understandable for computers.

To cure this problem a special program is use call assembler which converts assembly level language to machine level language.

Assembly level language is easier than machine level language, but not so much easy.

Higher-level programming languages

In assembly level language error debugging is not so easy, that’s why another type of language is found that is higher-level language.

As a human, we can easily understand these higher-level languages, but the computer cannot directly understand these types of languages, because the computer only understand machine level language

So, for converting a higher-level language to machine level language two special programs are used that is:

1) Compiler

2) Interpreter.

In higher-level language, some languages are use compiler and other languages are uses an interpreter.

Languages that are used compiler are call compiled language.

Languages which are uses interpreter are call interpreted language.

The process of converting a higher-level language to machine level language and it is execut by a computer is call compilation and for that compiler is use.

Compiler takes whole program source code as an input and converts-executes that into machine level language. Whereas interpreter converts and execute higher level languages source code to machine level language line by line.

So, we can say that compiler is faster than the interpreter, but the interpreter is easy in error debugging.

Java, Python, C# is higher-level languages.
So, this is all about Programming languages and their Types.

Thanks for visiting here..

About Technical Bro 14 Articles
Hi, friends welcome to THE TECH KNOWLEDGE. We are happy to help to gain Technical knowledge about technology. so please like share our post and subscribe.

Be the first to comment

Leave a Reply