COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

PARALLEL AND DISTRIBUTED COMPILERS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Code runs faster when using an interpreter than when using a compiler
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Interpreted program runs slower. Since it consumes more time, it is much slower than an compiler. The compilation gives an output program that runs independently from the source file. The interpretation does not give any output program and is thus evaluated on every execution.

Detailed explanation-2: -An interpreter is a computer program, which converts each high-level program statement into the machine code. This includes source code, pre-compiled code, and scripts. Both compiler and interpreters do the same job which is converting higher level programming language to machine code.

There is 1 question to complete.