No products in the cart.

Give difference between compiler and interpreter

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Give difference between compiler and interpreter
  • 1 answers

Sia ? 3 years, 5 months ago

S.No. Compiler Interpreter
1. Compiler scans the whole program in one go. Translates program one statement at a time.
2. As it scans the code in one go, the errors (if any) are shown at the end together. Considering it scans code one line at a time, errors are shown line by line.
3. Main advantage of compilers is it’s execution time. Due to interpreters being slow in executing the object code, it is preferred less.
4. It converts the source code into object code. It does not convert source code into object code instead it scans it line by line
5 It does not require source code for later execution. It requires source code for later execution.
Eg. C, C++, C# etc. Python, Ruby, Perl, SNOBOL, MATLAB, etc.
http://mycbseguide.com/examin8/

Related Questions

Define packages
  • 0 answers
Write a program for swapping two numbers?
  • 0 answers
What is alu
  • 1 answers
Write a program for swapping two numbers
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App