Open In App

GATE | GATE CS 2019 | Question 29

Last Updated : 12 Oct, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

Consider the following given grammar: 
S → Aa 
A → BD 
B → b|ε 
D → d|ε 
Let b, d, e and $ be indexed as follows: 
 

Compute the follow set of the non terminal B and write and write index values for symbols in the follow set in the descending order {for example if the follow set is a, b, d, $} then the answer should be 3210 

(A) 31

Answer: (A) 

Explanation: 

Quiz of this Question
Please comment below if you find anything wrong in the above post

 


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads