1.

A bottom up parser generates __________(a) Right most derivation(b) Rightmost derivation in reverse(c) Leftmost derivation(d) Leftmost derivation in reverse

Answer» Right option is (b) Rightmost derivation in reverse

Explanation: This corresponds to starting at the leaves of the parse tree also known as shift-reduce parsing.


Discussion

No Comment Found

Related InterviewSolutions