Given Grammar G: S->aA A->a| A B->B The number of productions to be removed immediately as Unit productions:
Given Grammar G: S->aA A->a| A B->B The number of productions to be removed immediately as Unit productions: Correct Answer 2
The productions in the format A-> A are removed immediately as they produce self and that is not a terminal or will not lead to a string. Hence, it is removed immediately.
মোঃ আরিফুল ইসলাম
Feb 20, 2025