TCP-Congestion-Window
September 11, 2024GATE 2005
September 12, 2024Compiler-Design
Question 261 |
Given the following statements :
S1: SLR uses follow information to guide reductions. In case of LR and LALR parsers, the lookaheads are associated with the items and they make use of the left context available to the parser.
S2: LR grammar is a larger subclass of context free grammar as compared to that SLR and LALR grammars.
Which of the following is true ?
S1: SLR uses follow information to guide reductions. In case of LR and LALR parsers, the lookaheads are associated with the items and they make use of the left context available to the parser.
S2: LR grammar is a larger subclass of context free grammar as compared to that SLR and LALR grammars.
Which of the following is true ?
S1 is not correct and S2 is not correct. | |
S1 is not correct and S2 is correct. | |
S1 is correct and S2 is not correct. | |
S1 is correct and S2 is correct. |
Correct Answer: D
Subscribe
Login
0 Comments