Sunday, February 8, 2015

SLog#3. "Tracing Recursion"

When I attended the lecture on recursion exercises, at a first glance, I thought the material was pretty easy. I made a huge mistake there and tried to solve all the problems in my head, instead of getting to the conclusion by carefully writing each step down on a piece of paper. As I encountered more complicated problems, like the ones that appeared on the lab #3 exercises, I could no longer come up with a solution without writing down steps. However, when I actually followed every step that were specified in the lab #3 handout, I could more easily and accurately come up with the answer. Even when I ended up getting incorrect answers, it was much easier to locate mistakes I had made. It did take a little while to get used to this process of breaking down into little steps and writing them, but I also learned that skipping steps never really speeds things up. It actually takes less time to reach conclusions when writing all the steps down than when attempting to process all the thoughts in my head. Practice in such a way helped me a lot during the midterm as well because it did not take long to solve the recursion problem, and I was better able to allocate the limited time we were given to the other problems.

While I was in the office hours of CSC165, I learned something very similar from the TA who was helping me with the Assignment #1. When I asked him questions regarding translation of logical notations into English sentences, and vice versa, he always made me break questions down into smaller segments, write translation for each of segment, and then combine everything at the end to derive answers. As such, the important lesson of this week was that in computer science, or perhaps in other disciplines, any complicated problems should be approached by breaking them down into simpler steps. Also, keeping records of thought processes always guide to more precise answers, 

No comments:

Post a Comment