Sunday, April 5th, 2014
This post will be my last post for my CSC148 SLOG, containing my last impressions on the course.
Well, this is it. The course has finally come to an end, with only the final exam left which will be written on Tuesday, April 28th, 2015, which is a little more than three weeks from today.
Overall, as a computer scientist, CSC148 has introduced me to a different way of viewing computer science as a whole. After taking CSC108 last term and doing pretty well, I thought that computer science was going to be very similar to how CSC108 was throughout the rest of my degree at the University of Toronto. However, CSC148 taught me that I have a lot of freedom in terms of coding whenever I am working on an assignment, project, etc. In CSC108, I feel that we were very limited in the things we could do since it is more of a beginner course. We were never allowed to use things like pass, break, etc. in python. In this course, I have learned a lot more cool things in python such as recursion and trees that I had no idea existed back in my CSC108 days. This only make me more excited to see what I will learn in upper year CSC courses and in other programming languages.
However, the strike did make this term feel a little shaky since we did not get to use every opportunity possible to learn more things with the TAs in labs. The experience of working on the lab exercises in an actual computer lab with the TAs makes a huge difference compared to working on them at home. However, I felt Danny and Diane did an excellent job with helping the student as much as they could, whether it be in office hours or on the piazza discussion board.
I guess my last task for this course is to study for the final exam. I am somewhat nervous since I did not do as well as I would have liked to on term test 2, but hopefully I can pick it up and finish the course on a strong and positive note. Thank you to whoever has been reading my SLOG posts, and best of luck to myself in my future computer science endeavours.
Sunday, April 5, 2015
Sunday, April 5th, 2015
In this post, I will quickly revisit a post that I made earlier in the year. Specifically, I will revisit my post about recursion (posted on March 3rd, 2015).
I have had a lot of experience with recursion since it was first introduced to us in the course, whether it be with term test 2, the assignments, or the lab exercises. One of the most common uses of recursion is for tree traversals. When traversing through a tree, you can use recursion to keep visiting each node, whether it be inorder(left, value, right), preorder(value, left, right), or postorder(left, right, node). This can be done until you find the node(s) you are looking for, and can perform some sort of function on them. I find recursion to be particularly useful in this scenario since it would be incredibly awkward to traverse the tree using another method such as a for/while loop.
I still struggle with using recursion since the functions we have to implement are becoming a little trickier to determine what the base case is. I particularly found it tricky to use recursion in the minimax algorithm for assignment 2.
I remember when recursion was first introduced in the course and we spent a week or two just tracing functions. It is pretty cool to see how my understanding of this concept has developed as the course has gone on.
In this post, I will quickly revisit a post that I made earlier in the year. Specifically, I will revisit my post about recursion (posted on March 3rd, 2015).
I have had a lot of experience with recursion since it was first introduced to us in the course, whether it be with term test 2, the assignments, or the lab exercises. One of the most common uses of recursion is for tree traversals. When traversing through a tree, you can use recursion to keep visiting each node, whether it be inorder(left, value, right), preorder(value, left, right), or postorder(left, right, node). This can be done until you find the node(s) you are looking for, and can perform some sort of function on them. I find recursion to be particularly useful in this scenario since it would be incredibly awkward to traverse the tree using another method such as a for/while loop.
I still struggle with using recursion since the functions we have to implement are becoming a little trickier to determine what the base case is. I particularly found it tricky to use recursion in the minimax algorithm for assignment 2.
I remember when recursion was first introduced in the course and we spent a week or two just tracing functions. It is pretty cool to see how my understanding of this concept has developed as the course has gone on.
Subscribe to:
Posts (Atom)