Beginner
Compilers & Programming Language Theory
Q4 / 100
What is a parse tree (concrete syntax tree)?
Correct! Well done.
Incorrect.
The correct answer is B) A tree representing the syntactic structure of a program according to every production rule of the grammar, including all grammar symbols
B
Correct Answer
A tree representing the syntactic structure of a program according to every production rule of the grammar, including all grammar symbols
Explanation
Parse trees show every grammar production used. The AST (abstract syntax tree) simplifies this by removing non-informative nodes and keeping only the essential structure.
Progress
4/100