Consider the following CFG S→aSbS | bSaS | ϵ Select the wrong option

Consider the following CFG S→aSbS | bSaS | ϵ Select the wrong option

  1. A.

    The grammar cannot be parsed by LL(1) parser

  2. B.

    The grammar is ambiguous

  3. C.

    The grammar generate DCFL

  4. D.

    The grammar can be parsed by CLR(1) parser

Attempted by 111 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…