Application Generation Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Compilers

A

Complier - Read and Compiles the whole code
Advantages:
- Saves Copy of code
- Hard to edit the code
- Becomes Executable File
- Quicker after First Load
Disadvantages:
- initially first run slow
- doesn’t spot errors immediately

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

Interpreter

A

Interpreter - Read and compiles line by line
Advantages:
- initially quick
- Spots errors immediately
Disadvantages:
- doesn’t save a copy
- easy to edit
- longer to run after first step

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

Intermediate Code

A
  • Simplified code
  • runs on any computer through a VM
  • sections of the intermediate code can be generated from source code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Assembler & Cross Assembler

A

Assembler Coverts assembly code into machine code - Outputs code intended to run on the cpu the interpreter runs on

Cross Assembler- outputs code intended to run on a different CPU

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

COMPILATION

A

3 STAGES
First Stage:
•Lexical Analysis - Removes white spaces and comments & then adds remaining characters to a tokens then added to a token table
•Syntax Analysis - checks the structure of the program and whether it meets the program requirements

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