Computer instructions(know as program or code) is written in some specific languages called programming language. Computers do not understand natural languages that we speak, so programming languages are developed for it.
Types of Programming Languages
Programming Languages are divided into three types:
- Low-Level Languages
- High-Level Languages
Low-Level Languages are machine-oriented language. It means these languages are directly understood by computers.
These languages are generally machine-dependent, i.e they can not be easily used on another computer with a different configuration and processor.
These languages are difficult for anyone to learn.
Low-Level Languages are further divided into the following types:
- Machine Level Language
- Assembly Level Language
Machine Level Languages
As you know that a computer can not understand normal speaking languages it can only understand special signals, which are represented by 1s and 0s. These two digits are called binary digits.
The computer understands programs written in binary digits. The language, which used binary digits, is called the Machine Level Language.
Assembly Level Languages
Assembly languages use letters and symbols instead of binary digits. These symbols are called Mnemonics.
Programs written in assembly level languages are called assembly codes. Assembly codes are translated into machine level language instructions.
Assembly level languages are easier to understand than machine level languages.
High-level languages are easier for a human to understand. They are generally not dependent on any particular computer machine.
Programs written in these languages are easier to understand and read them in assembly and low-level languages.
Error in programs written in high-level languages is easier to find and remove.
Programs written for one machine can run on different machines with very minor changes or no changes at all.
Examples: Java, C/C++, Python, Ruby, etc.