Comp chap 8

A Software which converts a high level language program into machine language is called-

Verified Answer
A. Compiler
B. Assemble
C. Loader
D. Interpreter
E. None of these

Explanation:

A compiler is a program that translates an entire high-level language program (source code) into machine language (object code or executable code) before the program is executed. This process involves several phases, including lexical analysis, parsing, semantic analysis, and code generation. Option (d) "Interpreter" also translates high-level language into machine code, but it does so line by line during execution, without producing a separate, standalone machine language file. Option (b) "Assembler" translates assembly language (a low-level language) into machine code, not high-level language. Option (c) "Loader" is responsible for loading the compiled or assembled machine code into the computer's main memory for execution, not for the translation process itself.