Back to the 2022 paper

Module 2 : Syntax Analysis (Parser)

20222m

Choose the correct answer of the following:
What is the similarity between LR, LALR and SLR?
(i) Use of same algorithm, but different parsing table
(ii) Same parsing table, but different algorithm
(iii) Their parsing tables and algorithms are similar but use top-down approach
(iv) Both parsing tables and algorithms are different.

Similar questions