1.

The construction of the canonical collection of the sets of LR (1) items are similar to the construction of the canonical collection of the sets of LR (0) items. Which is an exception?(a) Closure and goto operations work a little bit different(b) Closure and goto operations work similarly(c) Closure and additive operations work a little bit different(d) Closure and associatively operations work a little bit differentThis question was posed to me in final exam.My question comes from LR Parser in chapter Bottom Up Parsing of Compiler

Answer»

The correct choice is (a) Closure and GOTO operations work a little BIT different

Explanation: Closure and goto do work DIFFERENTLY in case of LR (0) and LR (1).



Discussion

No Comment Found

Related InterviewSolutions