Consider the grammar G with the following production: S → S + S | a Which…
Consider the grammar G with the following production:
S → S + S | a
Which statement is correct?
- A.
Every string generated by G has exactly one parse tree.
- B.
The string a+a has two distinct leftmost derivations.
- C.
The string a+a+a has exactly one parse tree.
- D.
Grammar G is ambiguous.
Attempted by 212 students.
Sign up free to check your answer
Sign up freeLoading lesson…

