WBCS.LIVE practice question

What is the role of an interpreter in programming?

Solve this multiple-choice question and check the correct answer with its explanation below.

Answer options

  1. Converts machine code back to source code
  2. Converts entire source code into machine code at once
  3. Converts source code into machine code line by line
  4. Converts assembly code to binary

Correct answer and explanation

Correct answer: Converts source code into machine code line by line