Railways PYQCBT 2 2017

RRB NTPC · Question 62

What is the program that translates source code into object code called?

  1. Executor

  2. Compiler

  3. Translator

  4. Interpreter

Show answer & explanation

Answer: (B) Compiler

Explanation

A compiler translates the whole source program into object (machine) code before it is run. An interpreter translates and executes line by line.