Language Under Standing

Development of Computer Langugages

Computers cna utilized only when the communications  to them are very well defined. The computer languages were not         invented in the early years of computers.The computer can understand only the high and low voltage power supply which     are represented by 1 and 0.this was binary representation was known as machine language.
Basically languages have two types.

High level

Low Level

What are High Level Languages Today
In late 1950 the higher level languages were designed to have the portability from one hardware to another.
These were more english like languages that’s why program easily get to these and easy to learn for Developers
for example VC++,C,C#,VB.NEt C#.NET J#.net,Java,PHP,Fortran,Cobol,PL/I,Pascal etc. Each language has it’s own
Interpreter or compiler or both.

What are Low Level Languages Today
A low level languages is called as assembly language.these were designed in the begninning.it has just simple         instructions(set of commands) through which all the tasks are done.
these instruction were not in binary language like english words. like MOV,LOAD.But still computer was can understand     to Machine Language so that’s why that time programmer developed a translater or a converter which makes the Assembly     language to machine language

Note: Translater also known as Assembler.

But these language have a draw back that these were closely related to hardware configuration so that’s Why these         were importable not work on other hardware Means these were hardware dependent.

SO High level languages need was raise in this IT stream.

Now What are translators and Compilers,Interpreters In these languages and How There are different from each other.

Their working in these two standard languages
TRANSLOTRS
As already u known this that
Basically computers can understand only the machine language (binary code) whcih is made up of 0s and 1s.
Therefore the programs written in lower level and higher level should be converted machine code. Fo this, the     language translators are developed to convert the langaugtes into machine code and to get results.

There are three types of translators for the languages.
Assembler
Compiler
Interpreter

Assembler

This translator is used to convert the program written in low level language assembly into machine language.

Compiler
compilers are used to convert the high level language into machine language.This checks for errors in the entier
program,lists the errors and erroneous statements and converts the program into machine code. A Separate command is     used to execute the program

Interpreter
Interpreter are also used to convert high level language into machine language.This checks for errors     statement.converts the statement into machine statement is encountered or the end of the program is reached.

Difference Between
Compiler

Entire program is checked for errors and statement,lists all the erroneous statements and the rror details and         converts into machine code.

Does not stop when an erroneous statment is encountered.

Separate command is issued to execute statement.

Generally a separate editor is used ot enter the program.

Compiler resides in the main memory during the process of compilation only hence the storage is not wasted.

Only once the program is checked for errors and is converted to machine code.

Interpreter

Errors are checked statement by statement and converts into machine code and executes it.

Stops when an erroneous statment is encourtered.
Executes the statment after conveting a nonerroneous the program.

A builtin editoris available with interpreter

Interpreter should reside in main memory throughout the process of checking for errors,converting into machine code     and executing the program sturcture.

Whenever the program is executed the statement are checked for errors and are converted into machine code ,hence it         is time consuming.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s