Consider the grammar with the following productions: S → aaB | aaC B → b C → c…
Consider the grammar with the following productions:
S → aaB | aaC
B → b
C → c
Which of the following options is true?
- A.
The grammar is LL(3)
- B.
The grammar cannot be LL(k) for any k because the alternatives have a common prefix
- C.
The grammar is LL(1)
- D.
The grammar is LL(2)
Attempted by 128 students.
Sign up free to check your answer
Sign up freeLoading lesson…

