Compilers and Interpreters

?
What method does a Compiler use to translate code?
Translates all of the source code into an executable before the program is run
1 of 10
How does a Compiler debug code?
It says if there are any errors within the code, but does not say where they are
2 of 10
What is the speed of a Compiler like?
The program will run quickly as no compilation will take place once it is running
3 of 10
What is the memory usage of a Compiler?
High as the memory must hold all of the Machine Code and the Compiler at once
4 of 10
How can you distribute programs using a Compiler?
The user does not have to translate the code as they get an executable, and it is harder for intellectual property to be stolen as Machine Code is harder to understand than Source Code
5 of 10
What method does an Interpreter use to translate code?
Translates and executes one line at a time
6 of 10
How does an Interpreter debug code?
Each line must be run to ensure that there are no errors within the program, however this makes it easier to tell where the errors are
7 of 10
What is the speed of an Interpreter like?
The program will run slower as each line must be translated before it is executed, even if it has already been executed
8 of 10
What is the memory usage of an Interpreter?
Low as the memory does not have to hold all of the Machine Code at once
9 of 10
How can you distribute programs using an Interpreter?
The Source Code is distributed so the users must translate the code. This makes it easier for intellectual property to be stolen
10 of 10

Other cards in this set

Card 2

Front

How does a Compiler debug code?

Back

It says if there are any errors within the code, but does not say where they are

Card 3

Front

What is the speed of a Compiler like?

Back

Preview of the front of card 3

Card 4

Front

What is the memory usage of a Compiler?

Back

Preview of the front of card 4

Card 5

Front

How can you distribute programs using a Compiler?

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Systems development lifecycle resources »