Which of the following is a program that translates other programming languages into machine language?

Which of the following is a computer program that translates one program instruction (one line by line)at a time into machine language?

  1. Simulator
  2. Compiler
  3. CPU
  4. Interpreter

Answer (Detailed Solution Below)

Option 4 : Interpreter

Free

JKSSB Junior Assistant Full Mock Test

80 Questions 80 Marks 80 Mins

The correct answer is Interpreter.

Important Points

  • A computer program that translates one program's instructions at a time into machine language is called an Interpreter.
  • An interpreter translates one instruction at a time and executes that instruction immediately.
  • Examples of interpreted languages are JavaScript, Python, Perl, etc.
  • A compiler is a program that translates computer code written in one high programming language into machine-language or code that can be understood by a digital computer's CPU.
  • An interpreter translates just one statement at a time from a program code into machine code, while a compiler scans the complete program and translates it into machine code at once.

Additional Information

  • A Central processing unit (CPU) is considered as the brain of the computer, all types of data processing operations are performed by the CPU.
  • It is generally composed of a control unit, main memory, and an arithmetic-logic unit.
  • The process of mathematical modeling, performed on a computer, to represent the dynamic responses of one system by the behavior of another system modeled after it is known as the computer simulation.

With hundreds of Questions based on Software, we help you gain expertise on Computer Awareness. All for free. Explore Testbook Learn to attain the subject expertise with us.

What is a program that translates other programming languages into machine language?

A compiler is a special program that translates a programming language's source code into machine code, bytecode or another programming language. The source code is typically written in a high-level, human-readable language such as Java or C++.

What is the program converted into machine language by the translator is called?

A computer program that converts an entire program into machine language at one time is called Compiler. A Compiler is a computer program that translates code written in a high level language to a lower level language, object/machine code.

Which is a program that translates one language to another?

A compiler is a translator program which translates a high level programming language into equivalent machine language programs.

What is assembler interpreter and compiler?

Definition. A compiler is a software that converts programs written in a high level language into machine language. An interpreter is a software that translates a high level language program into machine language while an assembler is a software that converts programs written in assembly language into machine language.

Toplist

Neuester Beitrag

Stichworte