arrow
arrow
arrow
A computer program that converts a high-level language program into an equivalent machine language program is called
Question

A computer program that converts a high-level language program into an equivalent machine language program is called

A.

assembler

B.

compiler

C.

loader

D.

More than one of the above

E.

None of the above

Correct option is B

A Compiler is a software program that translates code written in a high-level programming language (like C, C++, Java) into machine language (binary code) that a computer's CPU can understand and execute. The compiler performs this task in a single batch or multiple phases and often includes syntax checking, optimization, and error reporting.
Important Key Points:
1. Compiler: It translates entire programs from high-level languages into machine code before execution. Examples include GCC (for C/C++) and the Java Compiler (javac).
2. Compilers are used for compiled languages, ensuring the program can run independently of the source code once compiled.
3. The output of the compiler is an object file or executable file, depending on the process.
Knowledge Booster:
• Assembler: Converts assembly language (a low-level language) into machine code, not high-level languages.
• Loader: Loads executable programs into memory for execution but does not translate any language.

Free Tests

Free
Must Attempt

UPTET Paper 1: PYP Held on 23rd Jan 2022 (Shift 1)

languageIcon English
  • pdpQsnIcon150 Questions
  • pdpsheetsIcon150 Marks
  • timerIcon150 Mins
languageIcon English
Free
Must Attempt

UPTET Paper 2 Social Science : PYP Held on 23rd Jan 2022 (Shift 2)

languageIcon English
  • pdpQsnIcon150 Questions
  • pdpsheetsIcon150 Marks
  • timerIcon150 Mins
languageIcon English
Free
Must Attempt

UPTET Paper 2 Maths & Science : PYP Held on 23rd Jan 2022 (Shift 2)

languageIcon English
  • pdpQsnIcon150 Questions
  • pdpsheetsIcon150 Marks
  • timerIcon150 Mins
languageIcon English
test-prime-package

Access ‘BPSC TRE (11-12)’ Mock Tests with

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