Computer languages :-
A language acceptable to the computer is known as Computer languages or programming languages and the process of writing instructions in such a language is called programming or coding. A computer language also means a set of rules and symbols use to operate a computer.
There are basically two types of computer languages, they are…
1) Low level languages
2) High level languages
1. Low level languages :
Low level languages are the language which is easily understood by the computer, they are the languages which is directly accessible by the computer without any need of translator or compile, the low level languages is hard to program or for finding errors in programs written in these languages.
Some of the examples of low level languages are:
1. Machine language
In machine languages the programs are written only in binary numbers (0,1) and instruction is also given in the form of 0,1 , but actually you should also know that since computer is a electronic device so it can only understand the instruction in “on” and “off” where 1 means on and 0 means off, machine language wouldn’t need any compiler, in machine language instructions have two parts OPCOD (operation code – it tells the computer what function to perform) and OPERAND (it tells where to find and store the data).
Example : 0001010
2. Assembly language
Assembly language allows computer to take instructions and storage location to be represented by the letters and symbols instead of numbers it is also called symbolic language, it uses alpha numeric, memoir codes instead of numeric codes for the instructions in the instruction cell, It uses assembler for functioning in computer.
Example : ADD -> for addition
SUB -> for subtraction
FRST -> for first
2. High level languages :
High level languages are the languages which are written in the compact form and are not directly accessible by the computer it require a compiler or interpreter through which it decodes from HLL to machine acceptable language, it is more easily understood by the programmer or user in comparison of low level languages.
Some of the examples of high level languages are: