Teaching UGC NET Mock Test Series 2025 (Paper 1 & 2) Compiler Design Syntax Analysis First and Follow
Consider the grammar
S → AbBaCc | ε
A → aAb | ba
B → bBC | cb
C → cCa |ac
Find the First ( ) of S1
{a, b, c, ε}
2
{a, b, ε}
3
{ ε }
4
{a, ε}
Consider the grammar
S → AbBaCc | ε
A → aAb | ba
B → bBC | cb
C → cCa |ac
Find the First ( ) of S