

MCQOPTIONS
Saved Bookmarks
1. |
Assume that the SLR parser for a grammar G has n1 states and the LALR parser for G has n2 states. Hence which one is true? |
A. | N1 is necessarily less than n2 |
B. | N1 is necessarily equal to n2 |
C. | N1 is necessarily greater than n2 |
D. | None of the mentioned |
Answer» C. N1 is necessarily greater than n2 | |