📚 Question Bank Q42 — Compiler Design
Tags
Compiler Design
Q42. Marks: +2.0 UGC NET Paper 2: Computer Sc 23rd August 2024 Shift 1

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} ✓ Correct
4.{ε}
📄 All “Compiler Design” questions across papers
🏷 Change Tag for this Question