sponsored links
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.
- Lexical Analysis
- Syntax Analysis
- Semantic Analysis
- 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
good..
ReplyDeleteuseful
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 test...is the typing test will be on computer or in typewriter.pls mam reply my question..
ReplyDeleteNow 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.
DeleteHi I need material for it so english
ReplyDeletemam,please provide more quiz for IT OFFICER,thanx in advance.
ReplyDeleteThanx mam for the quick reply..mam what is the work of a stenographer..kya ek stenographer ko computer me work karna hota hai..
ReplyDeleteMam my score in ibps po is71.
ReplyDeleteWhat shud i hope for.....
mam i will attend my ibps clerical interview on 19 -feb..what is meant by ASBA?plz rply mam
ReplyDeleteM'm , Please post previous exam papers of SBI IT Officer.....
ReplyDelete