InterviewSolution
Saved Bookmarks
| 1. |
When there is a reduce/reduce conflict?(a) If a state does not know whether it will make a shift operation using the production rule i or j for a terminal(b) If a state does not know whether it will make a shift or reduction operation using the production rule i or j for a terminal(c) If a state does not know whether it will make a reduction operation using the production rule i or j for a terminal(d) None of the mentionedI have been asked this question during an internship interview.This is a very interesting question from LR Parser in portion Bottom Up Parsing of Compiler |
|
Answer» Correct choice is (C) If a state does not know whether it will MAKE a reduction operation using the PRODUCTION rule i or J for a terminal |
|