COMPUTER SOFTWARE
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Interpreter
|
|
Converter
|
|
Assembler
|
|
Compiler
|
Detailed explanation-1: -A compiler is a language translator that translates high-level languages program to machine language program. While translating, it checks the syntax (grammar of the source code) and translates it into object code at a single attempt.
Detailed explanation-2: -A program that converts a high-level language source file into a machine-language file is called a compiler.
Detailed explanation-3: -Compiler, interpreter, and assembler are different in that the compiler converts entire high-level language programs to machine language at once. In contrast, an interpreter converts high-level language to machine language line by line. The assembler translates assembly language programs to machine language.
Detailed explanation-4: -Compiler. Compilers are used to translate a program written in a high-level language into machine code (object code). Once compiled (all in one go), the translated program file can then be directly used by the computer and is independently executable.