Wednesday, February 11, 2015

Week 4 SLOG

This week, I learned about tracing recursion in class. Recursion is a new concept to me and after learning about tracing recursion and learned that there’s a code that can solve recursion issues, I think recursion code can be monumental in my future coding as it solves a lot of complex problems like working equations for a list or any other class that the depth is not constant.
I really enjoyed doing the trace recursion worksheet in class with professor Heap leading the way to help simplify the questions. The step by step process in the worksheet is a very methodical way for me to learn recursion. With this recursion worksheet, I definitely speeded up the process of learning and comprehending recursion so this is something I really appreciate and hope professor Heap will keep doing in class.

I found that assignment 1 is pretty challenging as the instruction is not as clear as I hope to be as there are a lot of ambiguities that I am having trouble of like knowing if something is required or should be omitted in the assignment. I am able to solve this issue by going to office hours twice during the week and ask professor Heap for clarification. Although the meeting time was short, I still think I had a much better idea and concept about the assignment after the meeting which I think was monumental for me in completing this assignment.

I am pretty confident in the material covered this week thanks to the recursion tracing worksheet that did wonder in my ability to trace recursion. The methodical method really clicked with me so I feel like tracing recursion is not a chore for me and I am confident of completing this during the next week term test.

Recursion is a common issue in a lot of academic field especially math and statistics. We sometimes lack the knowledge of the depth of the question but we still have to have an equation to work on it. For example, if I want to do a summation of numbers in a nested list, a recursion can be the best solution to solve these kind of questions as it will deal with any nested list no matter what the depth of the list is.

I was very proud of my assignment 1 and I considered it to be my biggest achievements in CSC148 this week. I initially was having trouble to even understanding the assignment as I was not quite sure what the assignment really wanted, however through piazza discussion and office hours, I was able to understand the assignment and put in a lot of effort in completing it. I originally had an issue of not knowing what to do with the general strategy class for assignment 1 as I was having trouble to implement anything in that class. This frustrated me for quite some time but then I posted my question on the piazza forum and ask professor Heap for some ideas to solve this issue, I learned that I actually can have a general strategy class that is basically empty as long as I have comments to explain why I omitted most of my basic functions. 

The tutorial went pretty well as I had a lot more recursion tracing exercise, I feel like it's crucial for my understanding of recursion and it's going to help me quite a bit in writing recursion functions as well as for test next week. The tutorial's quiz is also pretty similar to the tutorial itself as it is just recursion tracing. I feel like this tutorial set a foundation for going deeper in understanding recursion and writing recursion functions as we go further into the course.

No comments:

Post a Comment