English, asked by AnshumamAggarwal216, 6 months ago

Differentiate between a compiler and an interpreter.​

Answers

Answered by Anonymous
13

 \huge\pink{\boxed{\blue{\mathfrak{\overbrace{\underbrace{\fcolorbox{pink}{black}{\underline{\pink{☆Question ☆}}}}}}}}}

Differentiate between a compiler and an interpreter.

\huge\red{\boxed{\orange{\mathbb{\underbrace{\overbrace{\fcolorbox{red}{black}{\underline{\red{《 ANSWER 》}}}}}}}}}

Interpreter translates just one statement of the program at a time into machine code. Compiler scans the entire program and translates the whole of it into machine code at once. An interpreter takes very less time to analyze the source code. A compiler always generates an intermediary object code.

\huge\purple{\boxed{\blue{\bold{\fcolorbox{blue}{blue}{\red{Hope\:It\:Helps}}}}}}

\huge\orange{\underline\blue{\underline\green{\underline{ \mathtt\blue{Please}\:\mathtt\green{Mark}\:\mathtt\orange{As}}}}}\:

\huge\orange{\underline\blue{\underline\green{\underline{ \mathtt\red{Brilliant}\:\mathtt\purple{Answers}}}}}

\huge\orange{\underline\blue{\underline\green{\underline{ \mathcal\orange{Thank}\:\mathcal\green{You}}}}}♡

Answered by taehyung21
2

Answer:

Interpreter Compiler

Translates program one statement at a time. Scans the entire program and translates it as a whole into machine code.

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.

No intermediate object code is generated, hence are memory efficient. Generates intermediate object code which further requires linking, hence requires more memory.

Programming languages like JavaScript, Python, Ruby use interpreters. Programming languages like C, C++, Java use compilers

Similar questions