Last week I wrote about recursion which I should have written about this week, so this week I will continue to write about recursion and offer some thoughts on the first few weeks of my slog. In class, we began out practice in recursion using quick-sort. We had studied sorting methods in CSC108 but we mainly focused out attention to insertion sort, selection sort, and bubble sort. Quick sort is different as it calls itself , instead of just looping through a list. After showing us an example in class with 7 volunteers, we practiced parenthesization as a computer would, only reading each character by character. The test on Wednesday was very straightforward. I am still not 100% comfortable with recursion, but I feel confident about the test. I say that I'm not totally comfortable with recursion because of tutorial this week. During tutorial this week, I completed the exercise, but during the quiz, I realized i misunderstood the list_queue function. I believe that with more practice I will understand recursive functions more easily.
Lastly, on the topic of slogs: I was supposed to maintain a slog in CSC165 but I was very inactive. I am definitely using this slog more than I did for 165. While I do see the benefit of writing a slog, if not only for a mental review of the course material week, I feel that I am still not maximizing the potential benefit. Hopefully this will change in coming weeks.
No comments:
Post a Comment