COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

PARALLEL AND DISTRIBUTED COMPILERS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Using a compiler requires more memory space than using an interpreter
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -A compiler is comparatively faster than Interpreter as the compiler take the whole program at one go whereas interpreters compile each line of code after the other. The compiler requires more memory than interpreter because of the generation of object code.

Detailed explanation-2: -Ans: If the process is considered, the Interpreter is faster than the compiler. However, once a program is compiled, Runtime or execution is faster for a compiled program over-interpreted ones.

There is 1 question to complete.