retagged by
506 views
0 votes
0 votes

retagged by

1 Answer

Best answer
1 votes
1 votes
Given answer is correct!

Explanation:

S gives A, if we put 'epsilon' instead of A in rule-1 then we get 'a' from S and same explanation for getting 'b'. Now, for 'epsilon' S should gives to 'epsilon' directly!

Hope you get it(just think one string in mind and pass through it)
selected by
Answer:

Related questions

0 votes
0 votes
1 answer
2
MayankSharma asked Nov 18, 2017
320 views
First {a} =?First{a, b} =?First{a, b, c} =?First {a, $} =?Where a, b, c are terminals.