Back to the 2019 paper

Module 2 : Syntax Analysis (Parser)

20192m

Choose the correct answer of the following:
For a grammar G, shift reduce (S-R) conflicts are present in LALR(1) parser, if and only if
(i) the LR(1) parser for G has S-R conflicts
(ii) the LR(0) parser for G has S-R conflicts
(iii) the SLR(1) parser for G has S-R conflicts
(iv) the SLR(0) parser for G has S-R conflicts

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.