Which of the following statements is TRUE for the grammar given below? S ->…
PYQ Coal India Management Trainee CBT 2017
Which of the following statements is TRUE for the grammar given below?
S -> (L) | a
L -> L,S | S
- A.
The grammar can be parsed by LR(0) parser only
- B.
The grammar can be parsed by LR(0) and SLR(1) parsers
- C.
The grammar can be parsed by LL(1) parser only
- D.
The grammar can be parsed by LL(1) and LR(0) parsers
Attempted by 263 students.
Sign up free to check your answer
Sign up freeLoading lesson…

