1.

In operator precedence parsing whose precedence relations are defined _________(a) For all pair of non-terminals(b) For all pair of terminals(c) To delimit the handle(d) None of the mentionedThe question was asked by my college professor while I was bunking the class.This interesting question is from Data Structure for Representing Parsing Table in portion Bottom Up Parsing of Compiler

Answer»

Right OPTION is (a) For all pair of non-terminals

The explanation is: There are TWO important PROPERTIES for these operator precedence parsers is that it does not appear on the right SIDE of any production and no production has two adjacent no terminals.



Discussion

No Comment Found

Related InterviewSolutions