Consider the grammar shown below S → i E t S S' | a S' → e S | ε E → b In the…

PYQ GATE 2003

Consider the grammar shown below

S → i E t S S' | a
S' → e S | ε
E → b 

In the predictive parse table. M, of this grammar, the entries M[S', e] and M[S', $] respectively are

  1. A.

    {S' → e S} and {S' → ε}

  2. B.

    {S' → e S} and {}

  3. C.

    {S' → ε} and {S' → ε}

  4. D.

    {S' → e S, S'→ ε} and {S' → ε}

Attempted by 154 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…