Which statement correctly explains Parse tree?
- A. A categorized unit of meaning, such as a keyword or identifier, produced during lexical analysis.
- B. The compiler phase that translates source code into an intermediate representation before final code generation.
- C. The compiler phase that checks source code for meaningful correctness, such as type consistency.
- D. A tree representation showing the syntactic structure of source code according to grammar rules. ✓
Correct answer
D. A tree representation showing the syntactic structure of source code according to grammar rules.
Explanation
Parse tree refers to a tree representation showing the syntactic structure of source code according to grammar rules.