Consider the following grammar:
S | → | N C | ||
N | → | a N b | | | λ |
C | → | c C | | | λ |
Which one of the following statements is true of the parse tree for the string aaabbbcc if S is the start symbol of the grammar?
Make sure to build the whole parse tree with pencil and paper.
The start symbol of the grammar is the root node of the parse tree.
Each interior node of the parse tree is a non-terminal that appears on the left-hand side of a production.
The number of children of a node is equal to the number of terminals and non-terminals on the right-hand side of the corresponding production.
Remember that each λ in the tree counts as one leaf node.