Professional Documents
Culture Documents
1.what Is The Difference Between Procedural Approach and Object-Oriented Programming Approach?
1.what Is The Difference Between Procedural Approach and Object-Oriented Programming Approach?
COMPILER INTERPRETER
I. Reads Entire Program and I. Reads program Line by Line
Lists All Errors Afterwards. and stops execution on
II. Memory required is more Encountering error.
due to Intermediate object II. Memory Efficient is less as
code. no intermediate code is
generated.
III. Conditional control III. Conditional control
Statements are Executes statements are executing
faster. slower because as after
every statements interpreter
IV. Debugging is difficult as you checks for errors.
have to compile Every time IV. Debugging is easy as the
you correct an error. interpreter immediately
indicates the errors.
V. The compiler is used by the V. An interpreter is used by
language such as c, c++. language such as java,
python.