The computers software is to be written in a certain languages that they understand. The earlier computers were programmed in machine language or in numeric form but it were a bit harder to write in this language. After this many languages were developed for the smooth and easy working. There are mainly two types of languages:
a. High level language
b. Low level language
It has two types:
Machine language
Assembly language
High level language:
A programming language such as C, FORTRAN, PASCAL etc that enables programmer to write programs that are more or less independent particular type of computer. Such languages are considered as high level language. The main advantage of high level language over low level language is that they are easier to read, write and maintain. Ultimately programs written in high level language must be translated into machine language by a compiler.
Low level language:
Machine language:
It is a collection of binary digits or bits that computer reads and interprets. Machine language is the only language a computer is capable of understanding. Elemental language of computers, consisting of strings 0’s and 1’s. because machine language is the lowest level computer language and the only language that computer directly understands, a program written in more sophisticated language (c, PASCAL) or any other language must be converted to machine language prior to execution.
Assembly language:
It is a low level programming language using the human readable instruction on the CPU. It runs slower machine language entirely consist of numbers and are almost impossible for human to read and write. Assembly languages have the same structure to that at machine language but they enable a programmer to use names instead of numbers.
Each types of CPU have its own type of assembly language, programs written for one type of CPU does not run on other type. In early days all programs were written in assembly language but today its written in high level language.
Example:
Start
Mov sa #10
Mov s #3
Add = sa s, a; a = sa + s
` Stop
But assembly language understands the above language as:
Open
Stop
a. High level language
b. Low level language
It has two types:
Machine language
Assembly language
High level language:
A programming language such as C, FORTRAN, PASCAL etc that enables programmer to write programs that are more or less independent particular type of computer. Such languages are considered as high level language. The main advantage of high level language over low level language is that they are easier to read, write and maintain. Ultimately programs written in high level language must be translated into machine language by a compiler.
Low level language:
Machine language:
It is a collection of binary digits or bits that computer reads and interprets. Machine language is the only language a computer is capable of understanding. Elemental language of computers, consisting of strings 0’s and 1’s. because machine language is the lowest level computer language and the only language that computer directly understands, a program written in more sophisticated language (c, PASCAL) or any other language must be converted to machine language prior to execution.
Assembly language:
It is a low level programming language using the human readable instruction on the CPU. It runs slower machine language entirely consist of numbers and are almost impossible for human to read and write. Assembly languages have the same structure to that at machine language but they enable a programmer to use names instead of numbers.
Each types of CPU have its own type of assembly language, programs written for one type of CPU does not run on other type. In early days all programs were written in assembly language but today its written in high level language.
Example:
Start
Mov sa #10
Mov s #3
Add = sa s, a; a = sa + s
` Stop
But assembly language understands the above language as:
Open
Stop
Programming language is very important for business career. It is best for develop your web site and business.
ReplyDeleteremote desktop connection