Computer Sciences > Gate 2019 > Parsing
Consider the augmented grammar given below:

S′ → S
S → ⏐id
L → L, S⏐S
Let I0= CLOSURE ({[S′ → S]}).

The number of items in the set GOTO (I0, <) is __________.

Correct : 5

Similar Questions

Which one of the following is True at any valid state in shift-reduce parsing?
#76 MCQ
Which of the following statements about the parser is/are correct? I. Canonical LR is more powerful than SLR. II. SLR is more powerful than LALR. III. SLR is...
#161 MCQ
Consider the following context-free grammar where the start symbol is S and the set of terminals is {a,b,c,d}. The following is a partially-filled LL(1) par...
#928 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......