1 votes 1 votes Compiler Design compiler-design ambiguous-grammar context-free-grammar test-series + – nitish asked Dec 27, 2015 edited Jun 18, 2022 by Lakshman Bhaiya nitish 388 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes Its a CFG because its of type V --> (V+T)* where V is variable and T is terminal. this grammer is ambiguous since there exist two parse tree for a string. id - id * id Only (ii) and (iii) are true. Sandeep Singh answered Dec 27, 2015 selected Dec 27, 2015 by nitish Sandeep Singh comment Share Follow See all 0 reply Please log in or register to add a comment.