Question 4
Marks : +2 | -2
Pass Ratio : 100%
DAG representation of a basic block allows __________
Explanation: It detects local sub expression.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
A bottom up parser generates __________
Explanation: This corresponds to starting at the leaves of the parse tree. It can be thought of. A process of reducing the string in question to the start symbol of the grammar. Bottom-up parsing is also known as shift-reduce parsing.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
Which of the following actions an operator precedence parser may take to recover from an error?
Explanation: All these symbols are used to recover operator precedence parser from an error.