Gate CS-2019 Question Paper With Solutions

Q. 52 Consider the augmented grammar given below:
S′ → S
S → ⏐id
L → L, S⏐S
Let I = CLOSURE ({[S′ → S]}). The number of items in the set GOTO (I, <) is __________.
Note: This was Numerical Type question.

(A) 5

(B) 4

(C) 3

(D) 1

Answer: (A)

Explanation:

Gate CS-2019 Question Paper With Solutions

Learn More:   Gate CS-2001 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here