OS General Concepts Question:

Differentiate between Complier and Interpreter?

Tweet Share WhatsApp

Answer:

when ever a program is to be compiled the syntax is
necessary and we wont receive the output until a correct
syntax is written
it shows the errors so debugging becomes easier
the best example is C language

where as in interpreter if we miss any syntax it violates
that particular line and goes to the next line
in this case we may or may not get the required output
it does not show any errors even though its violates the syntax
the best example is HTML

Download OS General Concepts PDF Read All 22 OS General Concepts Questions
Previous QuestionNext Question
Tell me What are the different tasks of Lexical analysis?Do you know What is cache memory?