Differentiate b/w program translation and interpretation, Computer Engineering

Assignment Help:

Differentiate between program translation and program interpretation.

The program translation model makes the execution gap through translating a program written in a programming language, termed as the source program (SP), in an equivalent program into the machine or assembly language of the computer system, termed as the target program (TP). Subsequent diagram depicts the program translation model.

 

1945_program translation model.png

 

In a program interpretation process, the interpreter reads the source program and stores this in its memory. This bridges an execution gap without making a machine language program therefore we can say that the interpreter is a language translator. Although, this takes one statement of higher-level language at a time, translates this in machine language and executes this immediately. Translation and execution are continued for each statement. The absence of a target program means the absence of an outer interface of the interpreter. Thus language-processing activity of an interpreter can't be separated by its program execution activities. Therefore we can say that interpreter executes a program written into a programming language. In essence, the execution gap vanishes. Subsequent figure depicts the program interpretation model.

1000_program interpretation process.png

The program translation model characteristics are:

  • A program should be translated before this can be executed.
  • The translated program may be saved into a file. The saved program may be executed repeatedly.
  • A program should be retranslated subsequent modifications.

The program interpretation model characteristics are:

  • The source program is retained into the source form itself that is no target program form exists.
  • A statement is analyzed throughout its interpretation.

Related Discussions:- Differentiate b/w program translation and interpretation

What are kinds of processors, Processors can broadly be seperated into the ...

Processors can broadly be seperated into the categories of: CISC, RISC, hybrid, and special purpose.

Ready to help students, What is the process to register as expert in comput...

What is the process to register as expert in computer science

How sensors uses in real time process control, How sensors uses in real tim...

How sensors uses in real time process control Sensors send data (through an analogue to digital converter - ADC) to a microprocessor or computer that decides whether or not to

Programming.., converting 10 ASCII characters to excess three using mplab i...

converting 10 ASCII characters to excess three using mplab ide

What is tri-state logic, What is Tri-state logic ? Ans. Tri-state Logi...

What is Tri-state logic ? Ans. Tri-state Logic: In common logic circuits, there are two states of the output, as LOW and HIGH. If the output is not in the LOW state, this

Determine the performance of a parallel algorithm, Q. Determine the perform...

Q. Determine the performance of a parallel algorithm? One more method of determining the performance of a parallel algorithm can be performed after calculating a parameter know

Introduction to parallel computing, Introduction  To Parallel Computing ...

Introduction  To Parallel Computing Parallel computing has been a subject of importance in the computing community over the last few years. Ever-growing volume of databases and

Critical capabilities for superior firm performance, What are the critical ...

What are the critical capabilities for superior firm performance in e-commerce? Three firm capabilities which are critical for superior firm performance within e-commerce are:

What is guard bits, What is guard bits? Guard bits are extra bits which...

What is guard bits? Guard bits are extra bits which are produced while the intermediate steps to yield maximum accuracy in the final results.

What are the elements of analysis model, What are the elements of Analysis ...

What are the elements of Analysis model? i. Data Dictionary ii. Entity Relationship Diagram iii. Data Flow Diagram iv. State Transition Diagram v. Control Specifica

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd