Machine-translated by Google. Questions are authored in English.
Top

Discussion

Indicate which, of the following, in not true about an interpreter

  • A.Interpreter generates an object program from the source program
  • B.Interpreter is a kind of translator
  • C.Interpreter analyses each source statement every time it is to be executed
  • D.All of the above

Answer: A

Correct answer: Interpreter generates an object program from the source program

An interpreter produces no object program at all: it analyses and executes each statement as it reaches it, which is why a statement inside a loop is analysed afresh on every iteration. The other statements are true - it is a kind of translator, and it does re-analyse each statement every time.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.