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

Explanation

Correct : 4

Similar Questions

What is the worst-case time complexity of insertion in an AVL tree?
Question #23 Medium
Which operations on a binary search tree have O(h) complexity?
Question #31 Easy
Compare search complexities of sorted array vs balanced BST.
Question #47 Hard

Related Topics

Data Structures Binary Search Tree Time Complexity Algorithm Analysis Tree Algorithms Computer Science