Sunday, 2 March 2014

Slog 5: Test

     Week 7 marks the writing and return of the first term test of this course. During the test I kept second guessing myself for the tracing question but seeing my mark, I guess I ended up with the correct return value. The question using the function sum to delve into deeper levels of recursion was very tricky but I kept looking at the base case that returns a value of 1 and ended up with that as my solution. I have noticed myself that I have a much firmer grasp on recursion but with problems in efficiency. Writing efficient programs seems to take more imagination and cleverness that I can't really work on. Though I enjoy having my TA during the weekly labs criticize my runtime and give hints towards efficient code.

No comments:

Post a Comment