Computer Science, asked by Anonymous, 8 months ago

Answer the attachment in atleast 6 points :P​

Attachments:

Answers

Answered by Anonymous
4

Explanation:

PLEASE MAKE BRAINLIST MATE IF YOU LIKE MY WRITING HEARTILY

HOPE IT HELPS YOU MATE

Attachments:
Answered by Anonymous
34

\huge\mathbb{ANSWER}

\bold{COMPILER}

  • INPUT : A compiler takes an entire program as its input.
  • OUTPUT : It generates intermediate object code from the whole program.
  • MEMORY: Required more memory during compilation.
  • ERRORS: Display lists of errors of entire program with line numbers and the error(s) in that line.
  • ALWAYS REQUIRED : No. Once the role of compiler is over, a compiler is no longer required to run the executable file.
  • WORKLOAD : Compilation once done,stays always. Recompilation not required if the code (without any change) needs to run again. The same executable can be rerun without the compiler.

\bold{INTERPRETER}

  • INPUT: An interpreter takes a single line of code or single instruction(such as loop) as its input.
  • OUTPUT: It does not generate any intermediate object code.
  • MEMORY: Requires less memory during interpretation as interprets single instruction/unit-of-code at a time.
  • ERRORS: Interpreter displays all the error of single instruction in its interpreting. Thus errors also appears one line at a time.
  • ALWAYS REQUIRED: Always required. Interpreter translates and fund one instruction every time,so it is always required in memory to run the code.
  • WORKLOAD: Interpretation is required each time you have to run the code. The interpreter does not create an executable and hence it is required every time,the code is to run.

\huge\bold\red{THANK YOU !}

Similar questions