πŸ“Š Theory of Computation and Compiler Design
Q. Consider the grammar S → (S) | a Let the number of states in SLR(1), LR(1) and LALR(1) parsers for the grammar be n1, n2 and n3 respectively. The following relationship holds good
  • (A) n1 < n2 < n3
  • (B) n1 = n3 < n2
  • (C) n1 = n2 = n3
  • (D) n1 ≥ n3 ≥ n2
πŸ’¬ Discuss
βœ… Correct Answer: (B) n1 = n3 < n2

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
631
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate