Introduction to Programming: Additional work for week 20

Again, plenty of sets of notes on the topics covered this week can be found on the web.

Here are some general notes on recursion:

Here are some notes on recursion which include discussion of its application to linked lists, or notes on linked lists which include discussion of recursive methods involving them:

You have now covered nearly all the material in this course. The only thing that hasn't been covered is lists as an abstract data type, which will come next week. That means you should be able to answer nearly all the questions in the two exam papers I have set in the previous years I've taught this course, 1999 and 2000. In both these papers, question 4 of part B is the one on the material that hasn't been covered yet. There will be some discussion of these past papers in the remaining weeks of this course after the third test, but it would be a good exercise to try doing them beforehand.

Matthew Huntbach
9th March 2001