Consider the following grammar S → SaSb | cQq Q → Qm | ε It can be ______

Consider the following grammar

S → SaSb | cQq Q → Qm | ε

It can be ______

  1. A.

    Parsed by LL(0) but not by LL(1) parser

  2. B.

    Parsed by LL(1) but not by LL(0) parser

  3. C.

    Parsed by both LL(0) & LL(1) parser

  4. D.

    Cannot be parsed by LL(0) or LL(1) parse

Attempted by 235 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…