Solved

Consider the Following Grammar

Question 21

Multiple Choice

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 ? ?}

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions