GATE 2021 set1 Computer Science and Information Technology question: Consider the following context-free grammar where the set of terminals is \ a, b, c, d,…
Consider the following context-free grammar where the set of terminals is .
The following is a partially-filled LL(1) parsing table.
| \$ | ||||||
|---|---|---|---|---|---|---|
| S | ① | ② | ||||
| T | ③ | ④ | ||||
| R |
Which one of the following choices represents the correct combination for the numbered cells in the parsing table ("blank" denotes that the corresponding cell is empty)?
Show answer
Official answer: A