Gate CS-2010 Question Paper With Solutions

Q. 7 The grammar S → aSa | bS | c is

(A) LL (1) but not LR (1)

(B) LR (1) but not LL(1)

(C) Both LL (1) and LR (1)

(D) Neither LL (1) nor LR (1)

Answer: (C)

Explanation:

Gate CS-2010 Question Paper With Solutions

Learn More:   Gate ME-2006 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here