Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2019
Questions

Q43

NAT2 marksCompiler design

Consider the augmented grammar given below: S′→SS' \rightarrow S S→⟨L⟩∣idS \rightarrow \langle L \rangle \mid id L→L,S∣SL \rightarrow L, S \mid S Let I0=CLOSURE({[S′→⋅S]}).I_0 = \text{CLOSURE} (\{[S' \rightarrow \cdot S ]\}). The number of items in the set GOTO(I0,⟨ )\text{GOTO} (I_0, \langle \: ) is______

Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.