Q.

Consider the following grammar:
S → FR
R → S | ε
F → id
In the predictive parser table, M, of the grammar the entries M[S, id] and M[R, $]
respectively.

A. {S → FR} and {R → ε }
B. {S → FR} and { }
C. {S → FR} and {R → *S}
D. {F → id} and {R → ε}
Answer» A. {S → FR} and {R → ε }
1.8k
0
Do you find this helpful?
2

Discussion

No comments yet

Related MCQs