EXAMRADAR

Question: A computer program that translates one program instructions at a time into machine language

Answer:

A computer program that translates one program instruction at a time into machine language is called an "interpreter."

An interpreter is a software program that reads and executes source code line by line. It analyzes each instruction, translates it into machine code or intermediate code, and immediately executes it. Unlike a compiler, which translates the entire program before execution, an interpreter performs the translation and execution process in a sequential manner.

When an interpreter encounters a specific line of code, it interprets and executes it on-the-fly. This allows for immediate feedback and dynamic execution. If an error occurs in a particular line, the interpreter stops the execution and reports the error at that moment.

Interpreted languages, such as Python, JavaScript, and Ruby, rely on interpreters to execute their code. The interpreter parses and executes the code one statement at a time, providing flexibility and interactivity during the development and execution process. Interpreters are also commonly used in scripting languages, where quick execution and ease of debugging are important.

It's important to note that interpreters generally have a slower execution speed compared to compiled programs, as they perform the translation process during runtime. However, they offer advantages such as easier debugging, portability across different platforms, and dynamic runtime behavior.

MCQ: A computer program that translates one program instructions at a time into machine language

Correct Answer: A. Interpreter

Explanation:

A computer program that translates one program instruction at a time into machine language is called an "interpreter."

An interpreter is a software program that reads and executes source code line by line. It analyzes each instruction, translates it into machine code or intermediate code, and immediately executes it. Unlike a compiler, which translates the entire program before execution, an interpreter performs the translation and execution process in a sequential manner.

When an interpreter encounters a specific line of code, it interprets and executes it on-the-fly. This allows for immediate feedback and dynamic execution. If an error occurs in a particular line, the interpreter stops the execution and reports the error at that moment.

Interpreted languages, such as Python, JavaScript, and Ruby, rely on interpreters to execute their code. The interpreter parses and executes the code one statement at a time, providing flexibility and interactivity during the development and execution process. Interpreters are also commonly used in scripting languages, where quick execution and ease of debugging are important.

It's important to note that interpreters generally have a slower execution speed compared to compiled programs, as they perform the translation process during runtime. However, they offer advantages such as easier debugging, portability across different platforms, and dynamic runtime behavior.

Discuss a Question

Related Questions

You may be interested in:

Computer Basics MCQs

Recently Added Articles

AI vs Machine Learning: Key Differences Every Professional Should Know

Last updated on: February 13, 2026Posted by: ExamRadar

Office Cleaning Services That Elevate Sydney Offices

Last updated on: February 11, 2026Posted by: ExamRadar

Mental Health Support That’s Closer Than You Think

Mental Health Support That’s Closer Than You Think

Last updated on: January 7, 2026Posted by: ExamRadar

Columbus roofing company

Transform Your Home’s Exterior with Columbus roofing company

Last updated on: November 27, 2025Posted by: ExamRadar

What to Ask Before Booking TMS Therapy Near Me

Last updated on: November 7, 2025Posted by: ExamRadar

5 Trading Strategies to Minimize Risk

Last updated on: October 18, 2025Posted by: ExamRadar