Compiler VS. Interpreter

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Interpreter

- error is reported as soon as the first error is encountered. - the rest of the program will not be checked until the existing error is removed.

Compiler

Compile once and it runs anytime. Compiled program does not need to be compiled every time.

Interpreter

Debugging is east because it stops and reports errors as soon as they are encountered.

Interpreter

Does not generate intermediate Object code of Machine code.

Interpreter

Does not generate intermediate code and as a result interpreted programs are more memory efficient.

Compiler

Logical constructs faster than the interpreter.

Interpreter

Works line- by- line. It takes one statement at a time as INPUT.

Compiler

Works on the complete program at once. It takes the entire program as input.

Interpreter

__________ languages are Less efficient, but easier to debug. Makes them ideal for new students.

Compiler

Take more memory because the entire object has to reside in the memory.

Interpreter

are interpreted line- by- line every time they are run.

Compiler

Examples of programming languages that use compilers: C, C++, COBOL

Interpreter

Examples of programming languages that use interpreters: Visual Basic, Python, Ruby, PHP, Perl, MATLAB, Lisp

Interpreter

Executes conditional control statements at a much slower speed.

Compiler

Generates intermediate code, called the Object code or the Machine code.

Compiler

does not allow a program to run until it is completely error- free

Compiler

errors are reported once the entire program is checked for syntactical errors and other errors

Compiler

executes conditional statements ( like if- else and switch- case)

Compiler

more difficult to debug

Compiler

more efficient, but more difficult to debug


Ensembles d'études connexes

Test 3 Saunders & Davis NCLEX questions

View Set

La naturaleza y la geografía de Colombia y Venezuela

View Set

WorkBook Chapter 11 (DA1) Dental Assisting 1

View Set

project management chapter 3 quiz

View Set

Chapter 4: Writing Collaboratively

View Set