1.

Which of the following is incorrect for the actions of A LR-Parser I) shift s ii) reduce A->ß iii) Accept iv) reject?(a) Only I)(b) I) and ii)(c) I), ii) and iii)(d) I), ii) , iii) and iv)The question was posed to me during an online exam.I would like to ask this question from LR Parser in section Bottom Up Parsing of Compiler

Answer»

Right CHOICE is (c) I), ii) and III)

Explanation: Only reject out of the FOLLOWING is a correct LR PARSER action.



Discussion

No Comment Found

Related InterviewSolutions