b) Consider the following CFG P→→PP+/PP*/ PP / PP//D/E D 0/1/2/3/4/5/6/7/8/9 - i)Using this CFG Drive the string 42/3*45
Posted: Sun Jul 03, 2022 9:59 am
b) Consider the following CFG P→→PP+/PP*/ PP / PP//D/E D 0/1/2/3/4/5/6/7/8/9 - i)Using this CFG Drive the string 42/3*45+- by left most derivation and right most derivation ii) generate parse tree for the above string iii) What language is generated by this grammar?