Given Grammar: S->A, A->aA, A->e, B->bA Which among the following productions are Useless productions?
Given Grammar: S->A, A->aA, A->e, B->bA Which among the following productions are Useless productions? Correct Answer B->bA
Some derivations are not reachable from the starting variable. As B is not reachable from the starting variable, it is a useless symbol and thus, can be eliminated.
মোঃ আরিফুল ইসলাম
Feb 20, 2025