What is an interpreter?

2023

What is an interpreter?

Answer: C. A program that converts program into machine code line by line as the program is runAn interpreter translates and executes code line by line, unlike a compiler which translates the entire program at once.

  1. A.

    A program that converts machine language to high-level language

  2. B.

    A program that converts whole of a program code into machine language in one step

  3. C.

    A program that converts program into machine code line by line as the program is run

  4. D.

    A program that writes instructions to perform tasks

Attempted by 3095 students.

Show answer & explanation

Correct answer: C

An interpreter translates and executes code line by line, unlike a compiler which translates the entire program at once.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Bpsc

Loading lesson…