Binary language :
Every machine or any computer works on the basis of electric current if the current passes to the machine then its value becomes one and when the current will stops its value become zero so on the basis of these phenomenon every machine generate their own language
these 0 and 1 which determine the state of current passes through machine or not these are called as bits and the language generated by these bits is called as binary language or we can say machine language that means the language of the machine
the representation of the binary code or language is depend upon the architecture of the machine
For example :
Programming Language :
Now we understand that each and every machine works on the basis of binary language but on each condition we are not able to provide the instruction to our machine by binary language because these language are not easy to understand by human and hence we created on new language that is programming language which is a mediator language in which instruction are written by programmer and then these are converted into the binary language using compilers and interpreters
Types of programming languages :
- High level programming language (HLL)
- Low level programming languages (LLL)
High level programming language (HLL) :
high level programming language are those language that are used English and Mathematical symbols while writing their instructions or program that means these is the language between the programmer and the machine
These high level languages are translated into machine level languages using compilers and interpreters
for example :
C++ , Java, Python, swift
Low level programming language (LLL) :
Low level programming language are those language that are used by computer or machine to communicate with the hardware that means these is the language between machine to machine
for example :
binary language, assembly language
These low level language has two types
- Binary language
- Assembly languages
Binary language :
Language formed by using bits (i.e. 0,1) is the binary language we can also able to called binary language as machine language these language is directly used by machines for communication there is no need to translate these language
Assembly language :
Assembly language is the machine language which is understandable by human and it is converted into binary language by using assembler
Summery
- High level languages converted into binary language using compiler or interpreter
- Low languages are in two types binary language and assembly language
- Binary language is also called as machine language
- There is no need to translate binary language it is directly understandable by machines
- Assembly language is converted into binary language using assembler
0 Comments