COMPUTER SCIENCE AND ENGINEERING
COMPUTER ORGANIZATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Assembler
|
|
Compiler
|
|
Interpreter
|
|
Executable
|
Detailed explanation-1: -There are generally three types of language-translator-Compiler, Assembler, Interpreter. Linker is not language-translator.
Detailed explanation-2: -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.
Detailed explanation-3: -Compiler is a translator which is used to convert programs in high-level language to low-level language and then save the executable object code to memory.
Detailed explanation-4: -Interpreters do not produce an executable file that can be distributed. As a result, the source code program has to be supplied and this could be modified without permission. Interpreters do not optimise code-the translated code is executed as it is.