Translators & IDE Flashcards

(11 cards)

1
Q

What is a Translator

A

Program that translates program source code into machine code so it can be directly executed by the processor. There are 3 Translators
Interpreter
Compiler
Assembler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Compiler

A

Translates high level languages into machine code all in one go.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an Interpreter

A

Translates high-level language into machine code one line at a time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Advantages of a Compiler

A

Speed of execution, Optimises the code, original source code will not be seen.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Disadvantages of a Compiler

A

Cen be memory intensive, Difficult to debug, changes mean it must be recompiled, It is designed solely for one specific processor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Advantages of an Interpreter

A

Stops when it find a syntax error in the code, easier to debug, requires less RAM to process the code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Disadvantages of an Interpreter

A

Slower execution, Every time the program is run it has to be translated, no optimization of code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Processes of a Translator

A

Low-level languages such as assembly code are translated using an assembler. High-Level Languages are translated using a compiler or interpreter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

7 Features of an IDE

A

1 Code Editor

#2 Auto Correction
#3 Auto Completion
#4 Pretty print
#5 Translator
#6 Error Diagnostic
#7 Run-Time Environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an Assemebler

A

Translates a program written in an assembly language into machine code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an IDE

A

Piece of software used to write and develop code has features like the 7. Translates code to low-level language/machine code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly