What are the advantages of using a compiled language over an interpreted one? Under what
circumstances would you choose to use an interpreted language?
Solution
Advantages of compiled language over interpreted language:
- The general languges like c, c++, cobol etc., all these languages are compiled through a
compiler and converted source code into a binary file so this source code can be executed
number of times that means when the source code is compiled there is no need to translation of
this code whenever we tend to execute it only translate once and after that when at execution
time it only loads and execute.
- The programs which are under compiled language are more efficient when compared to
interpreted because it need not to be run each and every time.
- It can be very simply executed s that used more for the embeeded systems than interpreterd
language.
Usage of the interpreted languages:
- The language is platform independent so we can use this language on any type of platforms.
- It supports the object oriented programming where we can devolep secured applications with
efficient output.
- It supports language interoperability so we can use many programming languages.

What are the advantages of using a compiled language over an interpr.pdf

  • 1.
    What are theadvantages of using a compiled language over an interpreted one? Under what circumstances would you choose to use an interpreted language? Solution Advantages of compiled language over interpreted language: - The general languges like c, c++, cobol etc., all these languages are compiled through a compiler and converted source code into a binary file so this source code can be executed number of times that means when the source code is compiled there is no need to translation of this code whenever we tend to execute it only translate once and after that when at execution time it only loads and execute. - The programs which are under compiled language are more efficient when compared to interpreted because it need not to be run each and every time. - It can be very simply executed s that used more for the embeeded systems than interpreterd language. Usage of the interpreted languages: - The language is platform independent so we can use this language on any type of platforms. - It supports the object oriented programming where we can devolep secured applications with efficient output. - It supports language interoperability so we can use many programming languages.