Date | May 2019 | Marks available | 2 | Reference code | 19M.1.SL.TZ0.9 |
Level | SL | Paper | 1 | Time zone | no time zone |
Command term | Identify | Question number | 9 | Adapted from | N/A |
Question
Compilers translate source code into object code. Identify two other operations performed by a compiler.
Markscheme
Award [2 max].
Pre-processing;
Lexical analysis;
Parsing;
Semantic analysis;
Syntax analysis;
Linking;
Optimisation;
Examiners report
A good range of the possible correct answers for this question was seen, but the most common correct answer was ‘syntax analysis’. However, a high proportion of the answers for this question were too general, or they repeated the example given in the question.