Consider the following grammar G:

X → tABCD

A → qt |t

B → r | ε

C → q | ε

D → p


What of the following is/are correct?

1
First of B is {r, ε}
2
Follow of A is {r, q, p }
3
First of D is {p, ε}
4
Follow of A is {$, r, q, p }

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation