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

Operating system, Difference between the symmetric and assymetric multiproc...

Difference between the symmetric and assymetric multiprocessing

Future of hyper threading, Current Pentium 4 based MPUs use Hyper-threading...

Current Pentium 4 based MPUs use Hyper-threading, but the next-generation cores, Woodcrest and Merom, Conroe will not. While some have alleged that this is because Hyper-threading

Combinatorial and scheduling problems, Combinatorial and Scheduling Proble...

Combinatorial and Scheduling Problems: One class of problems is concerned with specifying optimal scheduled. A classical example is the Travelling Salesperson Problem where

Define internet infrastructure, As we know how packets travel from one comp...

As we know how packets travel from one computer to another over the Internet. However what's in-between? Actually what makes up the Internet infrastructure or backbone? Fi

Answer, Write a program to find the area under the curve y = f(x) between x...

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

Explain logical shifts with example, Q. Explain Logical shifts with example...

Q. Explain Logical shifts with example? Logical shifts LOGICAL SHIFT LEFT and LOGICAL SHIFT RIGHT insert zeros to end bit position and other bits of a word are shifted left or

Explain the action-object matrix, Explain the Action-object matrix A...

Explain the Action-object matrix A matrix showing how update actions influence objects.  It may be considered to be part of user object model as it summarizes user object ac

Luminous Jewels - The Polishing Game, Byteland county is very famous for lu...

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

:P, My name is mrs flo and i apporve dubstep, do you apporve it?

My name is mrs flo and i apporve dubstep, do you apporve it?

What is the difference between dpi and ppi, Question : (a) "Resolution ...

Question : (a) "Resolution refers to the sharpness and clarity of an image" (i) Explain what you understand by the above statement. (ii) What is the difference between D

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