MCQ · 1 mark · Parsing

GATE CS 2014 CS-2 — Q17

Consider the grammar defined by the following production rules, with two operators ∗* and ++

S→T∗PS \rightarrow T * P
T→U∣T∗UT \rightarrow U \mid T * U
P→Q+P∣QP \rightarrow Q + P \mid Q
Q→IdQ \rightarrow Id
U→IdU \rightarrow Id

Which one of the following is TRUE?
Select one option