Program Construction Flashcards
(5 cards)
1
Q
Lexical Analysis
A
Gets rid of blank spaces in the code and also removes comments made
2
Q
Syntax Analysis
A
Checks for any errors in the code
3
Q
Semantic Analysis
A
Checks for grammatical errors and that the variables are correct
4
Q
Code Generation
A
Converts the source code into machine code
5
Q
Optimisation
A
Makes the code more efficient and easy to run and to understand