SN
|
Difference between Interpreter and
compiler:
We write program normally in high
level languages like BASIC, COBOL
Fortran etc. In these high level
languages programs are written in English language but we know computer can
understand only machine language (binary code). Therefore we require some
software which can convert
High level language program into machine
language program and these software are known as complier and Interpreter.
|
|
|
Interpreter
|
Compiler
|
1
|
Interpreter convert the high level
Language program in machine language
statement by statement.
|
Compiler convert full program into machine
language at once.
|
2
|
Interpreter execute the converted
Program statement by statement.
|
Compiler executes the converted
programs at once.
|
3
|
Interpreters are inefficient in
comparison to compiler for program execution.
|
Compilers are very efficient and most of
the languages are compiler based languages.
|
4
|
Interpreter languages are easy to
learn because of better error messaging system
|
Compiler languages are difficult to learn.
|
5
|
Interpreter require less memory space
and is normally inexpensive then compiler.
|
Compilers require more memory space
and are expensive then interpreter.
|
This Blog is mainly for B.Tech, BCA,MCA, B.SC CS/IT First Year Students.
This Blog provides help related to Fundamentals of computers.
This Blog also Provides help related to C programming language, Algorithms and Flowcharts
Help related to Advance topic is also available-Go to "My Other Blogs"
Monday, October 7, 2013
Difference between Interpreter and compiler
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment