We use language for communication. When humans want to communicate they need to use languages like English, Hindi, Telugu, Tamil etc., with which they can express their feeling. Similarly, when a user wants to communicate with computer, computer has to understand the instruction and respond back so we need a special language known as a computer language.
The languages through which the user can communicate with the computer by giving instructions known as computer languages
Every computer programming language contains a set of rules known as syntax that are used to communicate properly. The syntax can be compare with grammar in normal language like English etc.,
Computer languages are classified into 3 types
Computer is a machine and since its memory can store only 1’s and 0’s, instructions must be given to the computer in streams of 1’s and 0’s i.e. binary code.
These are easily understandable by the machine
Programs written in binary code can be directly fed to computer for execution and it is known as machine language.
It is also called as assembly language
An assembly program contains “Mnemonics”
“Mnemonic” means information can be memorized easily and is generally in the form of abbreviations.
A set of languages which are very close to our native languages are called “ high-level languages”.
High level languages have control structures, I/o facilities, hardware independence
eg: FORTRAN, COBOL, PASCAL, C, C++ etc..