Types of Programming Languages
Types of Programming Languages
In this tutorial, we will learn about the different types of programming languages. Computers understand only binary language, or the language of 0s and 1s. In the initial years of computer programming, all instructions were given in binary form, which is difficult for humans to understand and remember.
Types of Programming Languages
Programming languages can be divided into three types. There are as follows:
Machine Language
Machine Language is the native language of computers. It is also called as low-level language. Machine language is directly executable by a computer’s CPU, consisting of binary code (0s and 1s). It uses only 0s and 1s to represent data and instructions.
Assembly Language
Assembly language uses mnemonics to represent machine instructions, making it easier for humans to read and write than machine code. Symbolic instructions and executable machine codes were created using letters instead of 0s and 1s.
High-level Language
These languages are written using words and symbols following rules similar to those of a natural language such as English. Programs written in HLL are known as source programs, and they are converted into machine-readable form by using compilers or interpreters. These languages use commands that are English words like “if,” “while,” etc.