Computer Sciences > GATE 2024 Set-2 > Parsing
Consider the following augmented grammar, which is to be parsed with a SLR parser. The set of terminals is {a,b,c,d,#,&}.
S' β†’ S
S β†’ SS | Aa | bAc | Bc | bBa
𝐴 β†’ 𝑑#
𝐡 β†’ @
Let I0 = CLOSURE({S' β†’ β€’S}) The number of items in the set GOTO(I0, S) is

Correct : 4

Similar Questions

Which of the following statement(s) is/are TRUE while computing First and Follow during top down parsing by a compiler?
#1389 MCQ
Which of the following statement(s) is/are TRUE while computing First and Follow during top down parsing by a compiler?
#1389 MCQ
Which of the following statement(s) is/are TRUE while computing First and Follow during top down parsing by a compiler?
#1389 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......