Question 10531 – Linker-Loader
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)?
![](https://solutionsadda.in/wp-content/uploads/2021/03/Screenshot_62-1.png)
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:
![](https://solutionsadda.in/wp-content/uploads/2021/03/Screenshot_63.png)
Correct Answer: A
Question 1 Explanation:
![](https://solutionsadda.in/wp-content/uploads/2021/03/Screenshot_63.png)
Subscribe
Login
0 Comments