Skip to content
Related Articles

Related Articles

UGC-NET | UGC NET CS 2014 Dec – II | Question 32
  • Last Updated : 27 Jun, 2018

Which of the following is true?
(A) Canonical LR parser is LR (1) parser with single look ahead terminal
(B) All LR(K) parsers with K > 1 can be transformed into LR(1) parsers.
(C) Both (A) and (B)
(D) None of the above


Answer: (C)

Explanation: Canonical LR parser is LR (1) parser with single look ahead terminal.
All LR(K) parsers with K > 1 can be transformed into LR(1) parsers.
For more information on canonical parser and SLR parser Refer:Parsing | Set 3 (SLR, CLR and LALR Parsers)
Option (C) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :