Programming tools Interpreter Question #20051
MCQ Single Best Answer Easy

QWhat is the primary function of an interpreter in computer programming?

ID: #20051 Interpreter 120 views
Question Info
#20051Q ID
EasyDifficulty
InterpreterTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Translating code into machine language
  • B Executing code line by line
  • C Generating optimized machine code
  • D Debugging code in real-time
Correct Answer: Option B

Explanation

An interpreter processes code sequentially, executing each line one at a time, making it suitable for scripting languages. This approach aids in quick development and debugging but may result in slower execution compared to compiled languages.

No Previous Next Question

Share This Question

Challenge a friend or share with your study group.