Given grammar: S->aA A->a A->B B-> A B->bb Which of the following is the production of B after simplification by removal of unit productions?

Given grammar: S->aA A->a A->B B-> A B->bb Which of the following is the production of B after simplification by removal of unit productions? Correct Answer bb

The simplified grammar can be presented as follows: S->aA| aB A->a B-> bb

Related Questions