GATE CS 2021, set 2 · Question 61 · Compiler Design · Numerical answer (NAT) · 2 marks · no negative marks

Consider the following augmented grammar with {#, @, <, >, a, b, c} as the set of terminals.
S' → S ; S → S # c S ; S → S S ; S → S @ ; S → < S > ; S → a ; S → b ; S → c
Let I₀ = CLOSURE({S' → • S}). The number of items in the set GOTO(GOTO(I₀, <), <) is ______.

Answer

Answer 8

Answer from the official GATE CS 2021 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes