arrow
arrow
arrow
A computer program that converts an entire program into machine language is called an:
Question

A computer program that converts an entire program into machine language is called an:

A.

Interpreter

B.

Simulator

C.

Compiler

D.

Converter

Correct option is C

Correct Answer: (c) Compiler
Explanation:
· A compiler is a computer program that converts an entire high-level programming language code into machine language (binary code) in one go, before execution. This allows the program to run faster since the translation happens before execution. Examples include GCC for C/C++ and the Java Compiler for Java programs.
Other Options:
· Interpreter: An interpreter translates high-level code into machine language line by line during execution, making it slower than a compiler.
· Simulator: A simulator mimics the behavior of a system but does not perform code translation.
· Converter: This is a generic term and does not specifically refer to the translation of code into machine language.

Free Tests

Free
Must Attempt

CBT-1 Full Mock Test 1

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

RRB NTPC Graduate Level PYP (Held on 5 Jun 2025 S1)

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

RRB NTPC UG Level PYP (Held on 7 Aug 2025 S1)

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
test-prime-package

Access ‘RRB NTPC’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
368k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow