Explain the process of syntax analysis during program compilation.
- Explain the process of syntax analysis during program compilation.[4]
Mark scheme
Marking points from the official mark scheme (May/June 2025). The mark or mark type is shown in brackets.
- [4] One mark per mark point (Max 4)
- MP1 It is the second stage of compilation // It's the compilation stage after lexical analysis.
- MP2 It takes input from the lexical analyser in the form of token streams.
- MP3 The source code is analysed / parsed against the rules of the language to detect any errors in the code.
- MP4 The output from this phase is a parse tree.
- MP5 Syntax errors are reported.
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →