A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Important Notice!

Dear users, compscibits.com is now permanently moved to compsciedu.com. Please update all your links and bookmarks accordingly. Soon, the site will be accessible through URL compsciedu.com only.

Discussion Forum

Que. Given the following statements :

S1: SLR uses follow information to guide reductions.In case of LR and LALR parsers, the look-aheads are associated with the  Items and they make use of the left context available to the parser.
S2: LR grammar is a larger sub-class of context free grammar as compared to that SLR and LALR grammars. 

Which of the following is true ? 
a. S1 is not correct and S2 is not correct
b. S1 is not correct and S2  is correct
c. S1 is correct and S2 is not correct
d. SI is correct and S2 is correct
Answer:S1 is correct and S2 is not correct
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: