GATE 2024 set2 Computer Science and Information Technology question: Consider the following context-free grammar where the start symbol is S and the set of…
Consider the following context-free grammar where the start symbol is and the set of terminals is .
The following is a partially-filled LL(1) parsing table.
| $ | |||||
|---|---|---|---|---|---|
| (1) | (2) | ||||
| (3) | |||||
| (4) |
Which one of the following options represents the CORRECT combination for the numbered cells in the parsing table?
Note: In the options, “blank” denotes that the corresponding cell is empty.
Show answer
Official answer: A