Q30MCQ2 marks, −0.67Given a Context-Free Grammar G\text{G}G as follows: S→Aa∣bAc∣dc∣bdaA→d\begin{array}{l} S \rightarrow A a|b A c| d c \mid b d a \\ A \rightarrow d \end{array}S→Aa∣bAc∣dc∣bdaA→d Which ONE of the following statements is TRUE?(A)G\text{G}G is neither LALR(1)\operatorname{LALR}(1)LALR(1) nor SLR(1)\operatorname{SLR}(1)SLR(1)(B)G\text{G}G is CLR(1)\text{CLR(1)}CLR(1), not LALR(1)\text{LALR(1)}LALR(1)(C)G\text{G}G is LALR(1),notSLR(1)\operatorname{LALR}(1), \operatorname{not} \operatorname{SLR}(1)LALR(1),notSLR(1)(D)G\text{G}G is LALR(1)\operatorname{LALR}(1)LALR(1), also SLR(1)\operatorname{SLR}(1)SLR(1)Sign in to save attempts.Show answer← PreviousNext →SolutionsDiscussionLoading…Sign in with Google