Consider the Grammar: T -> Qx Q -> RS R -> y | ε S -> z | ε Here x, y, z are…

PYQ UGC NET 2024

Consider the Grammar:
T -> Qx
Q -> RS
R -> y | ε
S -> z | ε
Here x, y, z are terminals and T, Q, R, S are non terminals.
What will be the follow set of the non terminal R?

  1. A.

    {x, y}

  2. B.

    {y, z}

  3. C.

    {z, x}

  4. D.

    {ε}

Attempted by 284 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…