Program Construction Flashcards

(5 cards)

1
Q

Lexical Analysis

A

Gets rid of blank spaces in the code and also removes comments made

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

Syntax Analysis

A

Checks for any errors in the code

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

Semantic Analysis

A

Checks for grammatical errors and that the variables are correct

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

Code Generation

A

Converts the source code into machine code

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

Optimisation

A

Makes the code more efficient and easy to run and to understand

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