GATEverse Practice, past papers & mock tests
GATE 1991
Compiler DesignParsing TechniqueseasyNAT1 mark
Consider a grammar with start symbol S and production S -> a S b | ab. What is the length of the shortest string generated by this grammar?
Save your progress

Related Compiler Design PYQs