MCQ · 1 mark · Context Free Languages

GATE CS 2017 CS-1 — Q17

Consider the following grammar:

P→xQRSQ→yz∣zR→w∣εS→y\begin{aligned} P & \to xQRS \\ Q & \to yz \mid z \\ R & \to w \mid \varepsilon \\ S & \to y \end{aligned}

What is FOLLOW(Q)\text{FOLLOW}(Q)?
Select one option