RTUComputer ScienceYr 2024 · Sem 42024

Q4Theory of Computation

Question

4 marks

Simplify the given CFG by removing null and unit productions.

Answer

Simplification steps for CFG.

  1. Remove null productions ().
  2. Remove unit productions ().
  3. Remove useless symbols (non-generating or unreachable).
Back to Paper