simplified grammar

plz, verify the given sol is correct?? Here A is useless??

 

Image icon techtud.jpg

3Comments
sajith menon @sajithmenon 11 Jan 2018 07:33 am

I think B gets useless as it cannot be reached from S

AMEET KUMAR NAYAK @ameetnayak 12 Jan 2018 10:35 pm

its correct A is useless

 

Shubham Meshram @shubhammeshr 12 Jan 2018 10:47 pm

in simplified grammar number of production is 2 {a,b}??