Start learning →

Parsing — true or false?

Exercise and reference answers

Questions
  1. Statement is true
    Yes
    Statement
    Every LL(1) grammar is also LR(1).
  2. Statement is true
    No
    Statement
    Left recursion is allowed in LL parsers.
  3. Statement is true
    Yes
    Statement
    Ambiguous grammars cannot be deterministically parsed.
  4. Statement is true
    No
    Statement
    LR(0) is more powerful than SLR(1).
Continue learning with Quill →

Browse more GATE CSE questions and exercises →