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
{x, y}
2
{y, z}
3
{z, x}
4
{ε}

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation