443 Views
differentiate between interpreter and compiler
Answer (1)
Hello kon Tonyot,
The differentiate between interpreter and compiler ,can been seen in the below table
BASIS FOR COMPARISON | COMPILER | INTERPRETER |
---|---|---|
Input |
It takes an entire program at a time.
|
It takes a single line of code or instruction at a time. |
Output | It generates intermediate object code. | It does not produce any intermediate object code. |
Working mechanism
|
The compilation is done before execution. | Compilation and execution take place simultaneously. |
Speed
|
Comparatively faster | Slower |
Memory
|
Memory requirement is more due to the creation of object code. | It requires less memory as it does not create intermediate object code. |
Errors
|
Display all errors after compilation, all at the same time. | Displays error of each line one by one. |
Error detection | Difficult | Easier comparatively |
Pertaining Programming languages
|
C, C++, C#, Scala, typescript uses compiler. | PHP, Perl, Python, Ruby uses an interpreter. |
Hope this helps you..
Related Questions
Difference between CSE and IT?
234 Views
difference between CS and IT
1987 Views
Difference between CSE AND IT BRANCH
114 Views
Shoolini University Admission...
Apply
NAAC A+ Grade | Ranked No.1 Private University in India (QS World University Rankings 2025)
TMV, Pune | M.Sc Computer App...
Apply
2-year postgraduate program focusing on advanced computing and IT applications
Graphic Era (Deemed to be Uni...
Apply
NAAC A+ Grade | Among top 100 universities of India (NIRF 2024) | 40 crore+ scholarships distributed
TMV, Pune | B.Sc Computer App...
Apply
3-year undergraduate program focusing on practical computing skills.