COMPILER DESIGN

CODE GENERATION

ROLE OF CODE GENERATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is NOT a translator?
A
Assembler
B
Compiler
C
Interpreter
D
Executable
Explanation: 

Detailed explanation-1: -There are generally three types of language-translator-Compiler, Assembler, Interpreter. Linker is not language-translator.

Detailed explanation-2: -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-3: -Answer. Answer: Machine languages are the only languages understood by computers.

Detailed explanation-4: -The correct answer is Interpreter. A computer program that translates one program’s instructions at a time into machine language is called an Interpreter.

There is 1 question to complete.