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

Discussion

Which of the statement is TRUE with respect to Interpreter?

  • A.It translates one instruction at a time.
  • B.It translates whole program at a time.
  • C.Repeated Interpretation is not necessary.
  • D.None of the above.

Answer: A

The true statement is that an interpreter translates one instruction at a time.

An interpreter reads a program statement by statement, translating each into machine actions and executing it before moving to the next. If it meets an error it stops there. Python and BASIC are commonly interpreted.

Translating the whole program at once is what a compiler does, producing an object file that can be run again without translation. Because an interpreter keeps no translated copy, the program must be interpreted again every time it runs, so 'Repeated Interpretation is not necessary' is false. 'None of the above' is wrong because the first statement is true.

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

Post your comment

Please log in or register to post a comment.