closed by
386 views
0 votes
0 votes
closed
Consider the following grammar:

E->E+T | T

T->T*F | F

F->(E) | id
A string (id + id ∗ id) is parsed using above grammar.

Which of the following statement is correct with respect to above parsing?
a.  “E+F ∗” is a viable prefix

b. “E+F ∗” is a handle

c. “T ∗ F” is a viable prefix

d. “T ∗ F” is not a handle
closed by

No related questions found