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

Discussion

A compiler is best described as a program that

  • A.translates a source language program into an equivalent target program
  • B.executes the statements of a source program one line at a time
  • C.detects and repairs every logical error present in the source code
  • D.converts a program written in machine code back into readable source

Answer: A

A compiler performs translation. It reads the whole source program, reports the errors it can detect, and emits an equivalent program in the target language. Execution of that target program is a separate step entirely.

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

Post your comment

Please log in or register to post a comment.