MICROPROCESSOR AND MICROCONTROLLER

INTERRUPT PROGRAMMING

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Compiler is slower than interpreter
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Interpreters usually take less amount of time to analyze the source code. However, the overall execution time is comparatively slower than compilers. Compilers usually take a large amount of time to analyze the source code. However, the overall execution time is comparatively faster than interpreters.

Detailed explanation-2: -No, an interpreter is not a compiler, especially not “By definition". Essentially an interpreter executes while a compiler translates. An interpreter takes code, reads through it, and then mutates the interpreter’s state based on code.

Detailed explanation-3: -Language processor is a software that bridges the execution gap. Input is the source program and output is the target code. Types of language processor are : assembler, compiler and interpreter.

There is 1 question to complete.