GATE 1991
January 31, 2024Compiler-Design
January 31, 2024Compiler-Design
Question 1
|
Consider the following context-free grammar where the set of terminals is {a, b, c, d, f}
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)?

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)?
① S ⟶ Rf ② S ⟶ Rf ③ T ⟶ ∊ ④ T ⟶ ∊
|
|
① blank ② S ⟶ Rf ③ T ⟶ ∊ ④ T ⟶ ∊
|
|
① S ⟶ Rf ② blank ③ blank ④ T ⟶ ∊
|
|
① blank ② S ⟶ Rf ③ blank ④ blank
|
Question 1 Explanation:

Correct Answer: A
Question 1 Explanation:

Subscribe
Login
0 Comments