Computer Science Ques 333

Question: A_______ converts all the statements in a program in a single batch and the. Resulting collection of instructions is placed in a new file.

Options:

A) Converter

B) compiler

C) Interpreter

D) Instruction

E) None of these

Show Answer

Answer:

Correct Answer: B

Solution:

  • A compiler is a piece of code that translates the high level language (source code) into machine language (object-code). The compiler scans the entire program first and then translates it into machine code which will be executed by the computer processor and the corresponding tasks will be performed.