Saturday, 14 March 2015

Week 9 - Impressions of Week 8

This past week, we covered the topic of linked lists. Linked lists are made up of nodes, and each node refers to the next node in the list. I found this topic to be interesting. Even before the professor went into more depth about linked lists, I immediately began to think about how I would traverse through a linked list from the diagrams the professor drew showing the link between nodes. Each node refers to another node, so to traverse through a linked list, I learned that it is best to go through each node and the node behind it at the same time. One way to do this is by having initially setting current_node = lnk.front, where lnk.front is the first node in the linked list, and by setting previous_node = None. Then as long as there is a node in front of current_node, which would be current_node.nxt, we can set current_node = current_node.nxt and previous_node = current_node. I found this approach to be quite interesting, although it is very logical.

I really enjoyed working on the lab exercises after the lecture on Wednesday night. There were no labs this week, so I started to work on the lab exercises early to ensure that if there is a concept that I don't understand, I can speak with the professor late this week or early next week. One thing that I realized is that doing lab exercises the same day as the lecture is a lot more effective than doing them the night of the next day, because the material is fresh in my head. What I found even more effective is by re doing those lab exercises the next day to ensure that the material I covered is well understood. Although there were some functions that I was not able to implement on my own, I now understand the value of doing things early rather than leaving things to the last minute. Thanks to the fact that I spent a lot of time practicing by doing lab problems right after the lecture, I was able to gain a more solid and in depth understanding of how to traverse through linked lists. I was also able to seek help from the professor with the functions that I could not successfully implement at the end of last week, which got me well prepared for the test.

One thing that I will do in order to continue my improvement in the course is print out Final Exams from previous years on April 4 in order to practice the material covered all together in the course. I will continue to seek help during the professors' office hours when necessary, because they are like golden gems when we are stuck on problems. Firstly, they draw diagrams to ensure we understand what the problem is asking and what it should return in every step/how it should work. Secondly, they guide us through every step of the problem, so that we understand what the code does at every step of the way, and sometimes, they leave us with another very similar problem for us to think about as review for what we learned in their office. Office hours have really helped me understand multiple concepts, and I will continue to take advantage of the office hours when I am stuck on a problem. Although I feel as though I have a solid grasp on the material that has been covered thus far in the course, I believe it is essential to keep practicing by solving problems, so I will continue to do that often until the day of the Final Exam to ensure I don't forget anything.

My experiences in the course are similar to the blogger (http://5529405871.blogspot.ca/2015/03/week-8-linked-lists.html). Similar to this blogger, I also found the concepts of linked lists interesting, but challenging to implement at first. For each problem, I had to draw multiple diagrams first to visualize what my code should do, and then I started to write code. As time passed by, I found the material less challenging. Additionally, similar to this blogger, I also wish that my code was simple and elegant when implementing functions in Lab 7. Although I was happy that I was able to get many of my functions to work, I had a lot of unnecessary code in my solutions, which is something experienced with this blogger as well. It is interesting for me to see that this blogger has similar experiences to me as well, because it shows me that many of us have the same struggles and learning processes.

I can't wait till next week!

No comments:

Post a Comment