GATEverse Practice, past papers & mock tests
GATE 2021 · Set-2
Compiler DesignParsing TechniqueshardNAT2 marks

Consider the following augmented grammar with {#, @, <, >, a, b, c} as the set of terminals.

GRAMMAR RULES
S'S
SS # c S
SS S
SS @
S< S >
Sa
Sb
Sc Let I0 = CLOSURE({
S'.S}). The number of items in the set GOTO(GOTO(I0, <), <) is _______________.
Save your progress

Related Compiler Design PYQs