Consider the following grammar: S' → S S → aAa | ε A → abS | ε Which of the…

Consider the following grammar:

S' → S

S → aAa | ε

A → abS | ε

Which of the following is true regarding the predictive parsing table M for the above grammar?

  1. A.

    Only M[S, a] will contain multiple entry

  2. B.

    Only M[A, a] will contain multiple entry

  3. C.

    Both (A) and (B)

  4. D.

    Neither (A) nor (B)

Attempted by 114 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…