Physics, asked by Vikesh4488, 10 months ago

What is difference between compiler and interpreter?

Answers

Answered by arsh9757
1

Explanation:

A compiler is a computer program that translates computer code written in one programming language (the source language) into another programming language (the target language). The name compiler is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language, object code, or machine code) to create an executable program.

In computer science, an interpreter is a computer program that directly executes, i.e. performs, instructions written in a programming or scripting language, without requiring them previously to have been compiled into a machine language program.

hope it helps.

PLZ MARK BRAINLIST...

Answered by Diksha12341
3

Explanation:

An interpreter converts an HLL program into machine language line by line and simultaneously executes the converted line . Also , an interpreter must always be present in the memory along with the program for its execution . If an error occurs in a line , the line is displayed and interpreter doesn't process unless the error is rectified .

A compiler converts an HLL program in machining language in one go . If there are erors in the program , it give give the error list along with the line numbers . Once the error remove , error - free object code is made available and after this compiler is no more needed in the memory .

I think this is helpful..

Please mark me as brainliest answer..❣️

Similar questions