Consider the following grammar: S → tA | pB A → qA | ε B → qB | ε Select the…
Consider the following grammar:
S → tA | pB
A → qA | ε
B → qB | ε
Select the correct option.
- A.
The grammar is neither LL(1) nor LR(0)
- B.
The grammar is LL(1) and LR(0)
- C.
The grammar is LL(1), but not LALR(1)
- D.
The grammar is LL(1) as well as LALR(1)
Attempted by 95 students.
Sign up free to check your answer
Sign up freeLoading lesson…

