Gate CS-2001 Question Paper With Solutions

Q. 18 Which of the following statements is false?

(A) An unambiguous grammar has same leftmost and rightmost derivation

(B) An LL(1) parser is a top-down parser

(C) LALR is more powerful than SLR

(D) An ambiguous grammar can never be LR(k) for any k

Answer: (A)

Explanation:

Gate CS-2001 Question Paper With Solutions

Learn More:   Gate EC-2016 - 2 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here