UGC NET CS 2023Theory of Computation and Compilers › Syntax AnalysisVerified
UGC NET CS 2023 PYQ: Which phase of compiler checks the grammar of programming?
Which phase of compiler checks the grammar of programming?
- ACode optimization
- BSemantic analysis
- CCode generators
- DSyntax analysisCorrect answer
Answer
(D) Syntax analysis
Approach
Match the compiler phase to its job of checking grammar.
Reviewed by UGC IQ Editorial Team.