COMPUTER PROGRAMMING FUNDAMENTALS
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Compiler
|
|
Loader
|
|
Linker
|
|
Interpreter
|
Detailed explanation-1: -1)Compiler-A compiler translates a program written in high level language into machine language. The compiler takes the whole program at a time and produces the equivalent machine code.
Detailed explanation-2: -A compiler is a translator program that converts a high-level language source program into a machine language object program.
Detailed explanation-3: -A compiler is a computer program that translates a program written in a high-level language to the machine level language of a computer. Everything is translated and compiled once by the compiler, and then can be used many times afterwards.
Detailed explanation-4: -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.
Detailed explanation-5: -[i] Some examples of programming languages that use interpreters are Python, Ruby, Perl, and PHP. An assembler translates a program written in assembly language into machine language and is effectively a compiler for the assembly language, but can also be used interactively like an interpreter.