InterviewSolution
Saved Bookmarks
| 1. |
Which of the following statements is false?(a) Unambiguous grammar has both kind of derivations(b) An LL(1) parser is a top-down parser(c) LALR is more powerful than SLR(d) Ambiguous grammar can’t be LR(k)This question was posed to me by my college director while I was bunking the class.The above asked question is from Predictive Top-Down Parsing topic in section Topdown Parsing of Compiler |
|
Answer» The correct OPTION is (a) Unambiguous grammar has both kind of derivations |
|