ЁЯУв Too many exams? DonтАЩt know which one suits you best? Book Your Free Expert ЁЯСЙ call Now!


    Question

    A "shift/reduce conflict" in an LR parsing table occurs

    when:
    A The parser has to choose between two different reduce actions. Correct Answer Incorrect Answer
    B The parser has to choose between shifting the current input symbol or reducing by a grammar rule. Correct Answer Incorrect Answer
    C The parser has to choose between two different shift actions. Correct Answer Incorrect Answer
    D The input string does not conform to the grammar. Correct Answer Incorrect Answer
    E The grammar contains left recursion. Correct Answer Incorrect Answer

    Solution

    The parser has to choose between shifting the current input symbol or reducing by a grammar rule.

    Practice Next
    More Compiler Design Questions
    ask-question