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

Discussion

Bytecode such as that produced for a virtual machine is

  • A.a form of source code that the programmer has written out directly
  • B.a representation that cannot be optimised in any way
  • C.an intermediate representation designed to be portable and executable
  • D.the target code of a compiler for a specific processor

Answer: C

Correct answer: an intermediate representation designed to be portable and executable

Bytecode occupies both roles: it is an intermediate representation in the compiler’s sense and a program the virtual machine can execute directly. That combination is what allows the same compiled file to run wherever the virtual machine exists, and it can be optimised both before and during execution.

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

Post your comment

Please log in or register to post a comment.