Search your Topic HERE....

December 27, 2013

Interpreter - Introduction, Advantages and Disadvantages


sponsored links

Friends, in our previous posts we have discussed about compilers and it's Phases in detail. Today we shall discuss about Interpreter. Generally we call the person who translate from one language to another as an Interpreter. According to Computer Science, the Interpreter is a Software Program. It translates an instruction into a machine language and executes it before proceeding to the next instruction. The main difference between the Compiler and Interpreter is, the compiler translates high-level instructions directly into machine language whereas the Interpreter translates high-level instructions into an intermediate form, which it then executes.

There are two ways to run programs written in a high-level language. The most common is to compile the program. The other method is to pass the program through an interpreter. So, we can say that the  interpreter is a kind of translator which produces the result directly when the source language and data is given to it as input. It does not produce the object code rather each time the program needs execution.

The compiler needs follow several steps in order to produce the required result, it will be time taking if the input program is long. In those cases the Interpreter can immediately give the required result. 

The model for interpreter is as shown in following figure. 

Languages such as BASIC, SNOBOL, LISP can be translated using interpreters. JAVA also uses interpreter. The process of interpretation can be carried out in following phases.
  1. Lexical Analysis
  2. Syntax Analysis
  3. Semantic Analysis
  4. Direct Execution
Advantages of Interpreter :
  • Modification of user program can be easily made and implemented as execution proceeds.
  • Type of object that denotes a variable may change dynamically.
  • Debugging a program and finding errors is simplified task for a program used for interpretation.
  • The interpreter for the language makes it Machine Independent.
Disadvantages :
  • The execution of the program is slower.
  • Memory consumption is more.
sponsored links


  1. mam..i need ur help..mam my ssc stenographer group c and D exam is on 29th of dec..i want to know that what they will ask in skill the typing test will be on computer or in typewriter.pls mam reply my question..

    1. Now a days nobody is asking to use the type writer friend. The test will be on computer. Possibly they just will ask you to type some document (and in some cases they may ask you to take the printout on your own). Nothing to worry.. All the Best.

  2. Hi I need material for it so english

  3. mam,please provide more quiz for IT OFFICER,thanx in advance.

  4. Thanx mam for the quick reply..mam what is the work of a stenographer..kya ek stenographer ko computer me work karna hota hai..

  5. Mam my score in ibps po is71.
    What shud i hope for.....

  6. mam i will attend my ibps clerical interview on 19 -feb..what is meant by ASBA?plz rply mam

  7. M'm , Please post previous exam papers of SBI IT Officer.....


Related Posts Plugin for WordPress, Blogger...