Sunday, 14 February 2016

week 5 -- class MidtermOne

Continuing on from the previous week, we discussed linked lists to a greater extent, implementing many special and other methods. On Wednesday the course held its first midterm, which I will discuss later in this post.

First, to expand on the linked lists topic, we saw API's and later implemented many different methods. Some of these included the __getitem__ and __setitem__ special methods, both of which revolved around indexes of the linked list. The former method would search through the list with a given index, if it was valid then it would return the value of the node at that index; on the other hand the latter method did a similar thing in that it searched through the list up until the given (valid) index, but instead of returning the value at that index it would replace it with a given value. Some other methods involved deleting nodes from the linked lists, many of these methods required drawing pictures so that it would be easier to visualize what was happening when a node got deleted. Many of these new methods were implemented in the week's lab section.

Moving on to the midterm, I have to say that I was quite upset after it was over. This isn't because it was very hard - on the difficulty scale I would say that it was rather fair. My biggest problem with the test was the time limitation. The test simply had too many classes and API's to implement in 50 minutes. There was no time to even think about the questions and what they were expecting of us to achieve; I made the mistake of really trying to understand what the first question was asking and by the time that I had finished it - feeling confident that what I had done was correct - half of the time allocated had already passed. This led to me and I'm assuming many other students rushing through the test and likely messing up on parts of the test which we would normally implement correctly with regular time limitations. I won't discuss any further on this test, my final thoughts stand that it was fair in difficulty but quite the opposite in terms of time limitations.

Next comes reading week, where I hope to finish most, if not all, of assignment 1, that way I'll be able to have plenty of time during the week that follows to ask any nagging questions that I had with it.

No comments:

Post a Comment