-
Which of the following statements is false?
-
- An unambiguous grammar has same leftmost and ans rightmost derivation
- An LL (1) parser is a top – down parser
- LALR is more powerful than SLR
- An ambiguous grammar can never be LR (k) for any k
- An unambiguous grammar has same leftmost and ans rightmost derivation
Correct Option: A
So (a) & (c) are, true.
An ambiguous grammar can't be LR (K)
So option (a) is false since an unambiguous grammar has unique right most derivation & left most derivations but both are not same. Hence (a) is correct option