In recitation/lab this week we will practice with recursion and problem solving.
This week's assignment is to generate random sentences recursively using a grammar to structure the resulting text. Experiment with the grammar structure and the given code to understand how to write the generate
function.
Use the questions on the handin page to drive your experiments.
Consider the SpreadingNews APT whose supervisor/employee structure suggests a recursive solution.
Use the questions on the handin page to drive your understanding and solving of the problem.