GATEverse
← GATE CSE 2015 Set 3

Q31

MCQ2 marks, −0.67

Consider the following grammar G S→F∣HS \rightarrow F \mid H F→p∣cF \rightarrow p \mid c H→d∣cH \rightarrow d \mid c Where SS, FF, and HH are non-terminal symbols, p,dp, d, and cc are terminal symbols. Which of the following statement(s) is/are correct? S1: LL(1) can parse all strings that are generated using grammar G S2: LR(1) can parse all strings that are generated using grammar G

Sign in to save attempts.

Loading…