The Gateway to Computer Science Excellence
0 votes

in Compiler Design by
retagged by | 243 views
kunal keep one thing in mind fr such questions
if ur getting epsilon as someone's first it means that whole term should give epsilon like u r saying first of S is epsilon...can u replace S with epsilon totally?

1 Answer

+1 vote
Best answer
Given answer is correct!


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

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,345 questions
60,482 answers
95,283 users