CS 2401 Quiz #6

Date: Monday, October 10, 2011.

1. Which topics are covered in the chapter that you were supposed to read for this class (mark Y/N):

2. Write a recursive method that, given a linked list, computes the number of elements in the list. Start by describing a recursive algorithm in plain English, and then transform this algorithm into a method. Trace your method on the example of a linked list consisting of two elements x and y.