what is the difference between compiler and interpreter?
give any one example (software product) that act as a
interpreter?

Answers were Sorted based on User's Feedback



what is the difference between compiler and interpreter? give any one example (software product) th..

Answer / kailash kunwar rathore

compiler: it translate high level language into machine
language program.it translate whole high level program into
machine level program.it require large memory.


Interpreter:it also translate high level language program
into machine level language program .it translate high level
language program line by line into machine language program.

Is This Answer Correct ?    2 Yes 1 No

what is the difference between compiler and interpreter? give any one example (software product) th..

Answer / mahmodul hasan

Compilers and interpreters have similar functions: They take
a program written in some programming language and translate
it into machine language. A compiler does the translation
all at once. It produces a complete machine language program
that can then be executed. An interpreter, on the other
hand, just translates one instruction at a time, and then
executes that instruction immediately. (Java uses a compiler
to translate java programs into Java Bytecode, which is a
machine language for the imaginary Java Virtual Machine.
Java Bytecode programs are then executed by an interpreter.)

Is This Answer Correct ?    1 Yes 0 No

what is the difference between compiler and interpreter? give any one example (software product) th..

Answer / madhu

A compiler converts high level instruction into machine
language while an interpreter converts high level
instruction inti intermediate form

Is This Answer Correct ?    1 Yes 0 No

what is the difference between compiler and interpreter? give any one example (software product) th..

Answer / suhaira tasneem p.m

compiler:
*when an error is formed we need to compile the whole prog. again
*machine code obtain after compilation is not portable


interpreter:
*when an error formed no need to run whole prog.
*code is portable

Is This Answer Correct ?    1 Yes 0 No

what is the difference between compiler and interpreter? give any one example (software product) th..

Answer / shajin

The translator programs that convert high-level language
programs into machine language are called compilers. High
level languages allow programmers to write instructions that
are similar to everyday English and contain commonly used
mathematical notations. A payroll program written in a
high-level language might contain the statement:

grossPay = basePay + overTimePay

From this, it is easy to see that programmers find
high-level languages more desirable than either machine
languages or assembly languages. C, C++, Visual Basic and
Java are among the most powerful and most widely used
high-level programming languages. The process of compiling a
high-level language program into machine language can
take a considerable amount of computer time.

Interpreter programs were developed to execute high-level
language programs directly, without the need for compiling
those programs into machine language. Although compiled
programs execute faster than interpreted programs,
interpreters are popular in program-development
environments, in which programs are recompiled frequently as
new features are added and errors are corrected
.Interpreters have played an especially important role in
helping scripting languages achieve their goal of
portability across a variety of platforms.

Interpreters have an advantage over compilers in the
scripting world. An interpreted program can begin executing
immediately as soon as it is downloaded to the client’s
machine, whereas a source program must first be compiled
before it can execute.

Is This Answer Correct ?    1 Yes 1 No

what is the difference between compiler and interpreter? give any one example (software product) th..

Answer / nand lal

• A complier converts the high level instruction into
machine language while an interpreter converts the high
level instruction into an intermediate form.

• Before execution, entire program is executed by the
compiler whereas after translating the first line, an
interpreter then executes it and so on.

• List of errors is created by the compiler after the
compilation process while an interpreter stops translating
after the first error.

• An independent executable file is created by the compiler
whereas interpreter is required by an interpreted program
each time.

Is This Answer Correct ?    1 Yes 1 No

what is the difference between compiler and interpreter? give any one example (software product) th..

Answer / bhupender singh

compiler works at a time while Interpreter works line by line.
compiler's speed is fast compare to Interpreter.
A compiler, in general, reads higher level language computer
code and converts it to either p-code or native machine
code. An interpreter runs directly from p-code or an
interpreted code such as Basic or Lisp.

Is This Answer Correct ?    1 Yes 1 No

what is the difference between compiler and interpreter? give any one example (software product) th..

Answer / deependra kushwaha

Compiler

A compiler is defined as a computer program that is used to
convert high level instructions or language into a form that
can be understood by the computer. Since computer can
understand only in binary numbers so a compiler is used to
fill the gap otherwise it would have been difficult for a
human to find info in the 0 and 1 form.

Earlier the compilers were simple programs which were used
to convert symbols into bits. The programs were also very
simple and they contained a series of steps translated by
hand into the data. However, this was a very time consuming
process. So, some parts were programmed or automated. This
formed the first compiler.

More sophisticated compliers are created using the simpler
ones. With every new version, more rules added to it and a
more natural language environment is created for the human
programmer. The complier programs are evolving in this way
which improves their ease of use.

There are specific compliers for certain specific languages
or tasks. Compliers can be multiple or multistage pass. The
first pass can convert the high level language into a
language that is closer to computer language. Then the
further passes can convert it into final stage for the
purpose of execution.

Interpreter

The programs created in high level languages can be executed
by using two different ways. The first one is the use of
compiler and the other method is to use an interpreter. High
level instruction or language is converted into intermediate
from by an interpreter. The advantage of using an
interpreter is that the high level instruction does not goes
through compilation stage which can be a time consuming
method. So, by using an interpreter, the high level program
is executed directly. That is the reason why some
programmers use interpreters while making small sections as
this saves time.

Almost all high level programming languages have compilers
and interpreters. But some languages like LISP and BASIC are
designed in such a way that the programs made using them are
executed by an interpreter.

Read more:
http://www.differencebetween.com/difference-between-compiler-and-vs-interpreter/#ixzz1c0wkx8B1

Is This Answer Correct ?    1 Yes 1 No

what is the difference between compiler and interpreter? give any one example (software product) th..

Answer / efdedfaf

Interpretor:It programs from highlevel language to machine
language.

.Compiler checks syntax of programme where as Interpreter
checks the keywords of a prog.

2. compiler checks at a time all the prog, But interpreter
checks simultaneously in the eidtor.

Is This Answer Correct ?    0 Yes 0 No

what is the difference between compiler and interpreter? give any one example (software product) th..

Answer / sathiya prabha

1. A compiler translates code from a source language to a target language, which can then be executed by a machine.

An interpreter reads code in an interpreted language (e.g. PHP, Perl, JavaScript) and directly executes the contained instructions.


2. Compiler checks syntax of programme
Interpreter
checks the keywords of a prog.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

In sas admin differentiate between roles and capabilities? : sas-grid-administration

0 Answers  


What is the order of application for output data set options, input data set options and SAS statements?

0 Answers   Quintiles,


what are different analysis datasets you created and what are the new variables created

2 Answers   Sciformix,


what is the use of LRECL option.

1 Answers   L&T,


What is the Program Data Vector (PDV) and What are its functions?

9 Answers  






What is the significance of the ‘OF’ in X=SUM (OF a1-a4, a6, a9);?

8 Answers  


Hi , which book should i refer to for preaparing SAS statistical Exam. Searched a lot on books but still did n't find relevant books

2 Answers  


Difference between SAS STATA & SPSS?

0 Answers  


How would you code a merge that will keep only the observations that have matches from both sets?

5 Answers  


what is the difference between DUPKEY and NODUPKEY???

4 Answers   Cognizant, EXL,


Name statements that are execution only.

4 Answers  


explain what is data set in sas? : Sas-administrator

0 Answers  


Categories