Gate CS-2005 Question Paper With Solutions

Q. 60 Consider the grammar

S → (S) | a

Let the number of states in SLR(1), LR(1) and LALR(1) parsers for the grammar be n1, n2 and n3 respectively. The following relationship holds good

Gate CS-2005 Question Paper With Solutions

Answer: (B)

Explanation:

Gate CS-2005 Question Paper With Solutions

Learn More:   Gate CS-2014-2 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here