A ,grammar symbol X is useless if there is no derivation of the form
That is. X can [lever appear in the derivation of some sentence.
"a) Write an algorithm 10 eliminate all productions containing useless symbols from a grammar.
b) Apply your algorithm to the grammar
![](https://test.transtutors.com/qimg/d9d22232-2515-488a-9be7-0e05a87a6cf7.png)