This concludes the most busy week yet, since I’ve been back. As I mention in the previous SLOG, everything is due this week and there is many test from my other courses also occurring this week. Some of them include Introduction to Psychology and Introduction to Italian. But the most important thing happening this week is the CSC148 term test 1. From what I can recall, the test was quite doable. Most of the questions on the test was quite straight forward, that is after I read them a few times over. However, one of the question on the test I felt that I didn't fully understood what the question was asking, which could also meant that I did the question incorrectly. But for the most part, I believe that I did the questions correctly.
On the other hand, in lecture, we covered a bit more in recursion this week. We looked through a sorting algorithm; quick sort which it used recursion as a part of its code. When I was first shown the code, maybe I wasn’t paying much attention but I didn't completely understood the algorithm of quick sort. Thus, when I was showed the code, I couldn’t really trace the code and get an understanding of what the code should do. Maybe that is what I should look through over the weekend. Other than that, we also talk a bit over testing via doctests, unit-tests and more into stack.
During tutorial, I was able to go through all of the assigned tutorial problems and implemented them correctly. We implemented the class Queue and saw though it is structurally the same as Stack but it is different in how it returns the items from the data list. Even though that there is some question that I could not quite get at first, the TA helped a lot in clearing those misunderstandings. The quiz later went good as well. What we were quizzed on what the code list_queue which we implemented earlier. Since, I was able to implement the function before the quiz started, I was quite confident in the quiz when I saw it. At the end, everything during the quiz went well.
Next week will be the last week before the break, I am hoping to get through it with ease.
No comments:
Post a Comment