Purchase Solution

Interpreted Vs Compiled Code

Not what you're looking for?

Ask Custom Question

Interpreted code executes much more slowly than compiled code, yet several systems use them extensively. The most well known are Visual Basic (it has two modes: interpreter mode and compiler mode), JavaScript and the special case of interpretation of Java programs. Discuss the merits and weaknesses of interpreting, as opposed to compiling, and explain when and why they are used.

Purchase this Solution

Solution Summary

This solution examines the reasons behind using interpreters, even though interpreted code works slower in comparison to compiled code.

Solution Preview

The solution is attached below.

Interpreted code executes much more slowly than compiled code, yet several systems use them extensively. The most well known are Visual Basic (it has two modes: interpreter mode and compiler mode), JavaScript and the special case of interpretation of Java programs. Discuss the merits and weaknesses of interpreting, as opposed to compiling, and explain when and why they are used.

Interpreted Vs Compiled Code

An Interpreter is a program that implements or simulates a virtual machine using the base set of instructions of a programming language as its machine language (Pasteur, 2005).
A Compiler is a program that translates code of a programming language in machine code, also called object code. The object code can be executed directly on the machine where it was compiled. So using a compiler separates translation and execution of a program. In contrast of an interpreted program the source code is translated only once (Pasteur, 2005).
The above definitions of compiled and interpreted code indicate some of the advantages of both compilers and ...

Purchase this Solution


Free BrainMass Quizzes
Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

C++ Operators

This quiz tests a student's knowledge about C++ operators.