MCQ · 1 mark · Parsing

GATE CS 2013 CS — Q9

What is the maximum number of reduce moves that can be taken by a bottom-up parser for a grammar with no epsilon- and unit-production (i.e., of type A→ϵA \to \epsilon and A→aA \to a) to parse a string with nn tokens?
Select one option