So apparently the instructions for this week's slog is to look back at one of my earlier postings and see if I agree with myself, and for bonus points, compare with other students. I decided to compare with my second blog post "Thoughts on the first few weeks of class" which was posted February 1st. I should say immediately that the concept of agreeing or disagreeing with my past self is kind of flawed. My posts aren't really based on a controversial issue or anything, they are mainly just reflections of the past week(s). I suppose I will just discuss my current opinion on some of the things that I had brought up in my past post.
To address my comment on the course difficulty, I would still agree that the course is easy however I would also add now that it has become a lot more boring. I am not sure why there is such a heavy focus on recursion despite it being so boring. I enjoy computer science but I have a hard time staying awake when the first lesson of the day begins with "Let's talk about recursive calls on a tree!"... As sort of a progress update, the class size has shrunk dramatically as expected; it really has no effect on learning unless a sudden bell curve is implemented, then it becomes survival of the fittest.
With regards to professor performance, they continue to do an excellent job however the redundant questions posed by other students have intensified and I sometimes sit in disbelief as to how these questions have even been asked. Nonetheless the professors answer them all and for that I salute them. As it happens the final comments from my previous slog have been proven false. We have done quite a bit more than just generic Python syntax so I disagree with myself there, but in terms of examples, we continue to focus on examples with little to no merit.
Lastly I am going to compare my experience with classmates. After reading some other people's slogs it seems like a popular topic was recursion. A lot of people seem to have had trouble with it (like myself) so it is interesting to see how people react now. Most people have said that they are more confident with recursion now then before I think that there are probably still plenty of people that are having trouble. I mean, if it wasn't a prevalent topic then there would be a lot less people talking and writing about it. In other news, the TAs are back in full force just in time for the end of the school year. I'm glad to see the situation resolved and I will forever cherish my scrapbook of CUPE flyers that I have accumulated over the past month. In all seriousness, the school was a mess without the TAs so thank you for returning!
Monday, 30 March 2015
Monday, 23 March 2015
Week 9 Impressions
Week 9, like one of the weeks before it, was a test week. That is, one of the lecture times was taken up by test # 2. Really not a lot happened during week 8 so I guess I should start with the test. The test was made up of only a few questions but I expected it to be much more difficult than it actually turned out to be. The sheet that I brought into the test was completely full of 8pt font on both sides, yet I only actually referred to the sheet once. Essentially what I am saying is that the questions were not very complex or in depth; both the recursion question and the linked list question were very straightforward. Compared to some of the lab questions these were nothing, but again, it could have been harder. This was probably done so that people would be able to finish the test in the short 50 minutes that were allocated to write it. I assume other people found it easy as well since many people, including myself, had already left before the end of the test. I hope this doesn't turn out to be one of those scenarios where you only think something is easy because you did it wrong....
With the test taking up one lecture, the only actual class time was on Monday. In a nutshell, Monday just continued with the binary search trees. However in reality, 65% of the class was used to answer questions while 20% was going over some of the code from the previous week's lecture. Safe to say not a very efficient allocation of 'lecture' time, but whatever; at the end of the day regardless if the material is taught or not, passing grades will still be awarded. In other news, we continue to receive paper worksheets despite this being a computer science class and there is still a strike going on. Most people are saying that it may last for a long time. I'm sure the provost's inbox has over 9000 emails in it (congrats if you get that reference), but it doesn't seem the university wants to budge. Either way I shall continue to observe from a neutral standpoint and update the war journal on the next SLOG.
With the test taking up one lecture, the only actual class time was on Monday. In a nutshell, Monday just continued with the binary search trees. However in reality, 65% of the class was used to answer questions while 20% was going over some of the code from the previous week's lecture. Safe to say not a very efficient allocation of 'lecture' time, but whatever; at the end of the day regardless if the material is taught or not, passing grades will still be awarded. In other news, we continue to receive paper worksheets despite this being a computer science class and there is still a strike going on. Most people are saying that it may last for a long time. I'm sure the provost's inbox has over 9000 emails in it (congrats if you get that reference), but it doesn't seem the university wants to budge. Either way I shall continue to observe from a neutral standpoint and update the war journal on the next SLOG.
Sunday, 15 March 2015
Week 8 Impressions
So in week 8 we again focused on recursion and its various flavours. I suppose it is a 'step up' from the trees that we were doing a little while ago. Anyways, the class was first introduced to linked lists and then later in the week binary trees/ binary search trees; the latter two being very similar. So far I don't see a need for any of these 'abstract data types' but I suppose there are performance enhancements rather than just using regular data types. Depending on how material these benefits were, I might consider just using a regular list as it is significantly less work but those sorts of technical aspects have not been discussed. Speaking of lists, we were also introduced to the __contains__ method in Python that allows you to overwrite what the 'in' keyword will do (not limited to lists), among other things. So far only a handful of these inherited methods have been revealed and I for one would like to know how else the Python keywords can be manipulated. Assignment 2 was also due this past week and I was fine with everything except for the MiniMax strategy. At first (essentially until 9:30pm on the due date) I was having significant problems with NoneType magically appearing everywhere. The problem turned out to be a combination of a few things: firstly, my game_state had a mutable type in it that was also set as a default value in the constructor. This didn't initially seem bad until I started debugging. What was happening was that MiniMax would use the game state and this mutable type to determine what its move should be, but the game state that MiniMax was modifying and testing on remained the exact same game state that my game_view would use. Essentially MiniMax would leave the state in complete disarray in order to determine its move, so when the game view attempted to use apply_move, there were no more possible moves left in the state, so None would always be returned. After hours of pain, suffering, and 2 different debuggers, I finally managed to fix the problem right before the deadline...
According to some in-class discussion assignment 3 is supposedly going to have something to do with chess. It is quite coincidental because I am actually in the midst of creating a chess game in Java on my spare time, however I assume assignment 3 will be text based (I can only imagine the pain of trying to play a text-based chess game). At this point I am still not 100% confident about my abilities with recursion but hopefully it will become more clear by the next test. Lastly as part of this 'impressions' post, i'm sure everyone is aware of the current strike action. Sure it is inconvenient for everyone, but the TAs can't just stand by like slaves to the university plus there really isn't any other action they can take that would send a big enough message. So although I am upset that the strike had to even happen in the first place, I can't necessarily blame the TAs. I think the university administration needs to get their act together if they want to retain the title of "Top university in Canada".
According to some in-class discussion assignment 3 is supposedly going to have something to do with chess. It is quite coincidental because I am actually in the midst of creating a chess game in Java on my spare time, however I assume assignment 3 will be text based (I can only imagine the pain of trying to play a text-based chess game). At this point I am still not 100% confident about my abilities with recursion but hopefully it will become more clear by the next test. Lastly as part of this 'impressions' post, i'm sure everyone is aware of the current strike action. Sure it is inconvenient for everyone, but the TAs can't just stand by like slaves to the university plus there really isn't any other action they can take that would send a big enough message. So although I am upset that the strike had to even happen in the first place, I can't necessarily blame the TAs. I think the university administration needs to get their act together if they want to retain the title of "Top university in Canada".
Monday, 9 March 2015
Impressions of Week 7
Week 7 was a pretty normal week; we had normal class without any major issues to report. Assignment 2 is due next week and so far I have only barely started working on it... Nonetheless hopefully I don't have any problems with it as I am still 'on the fence' with recursion. Speaking of assignment 2, part of the lecture this week was going over some problems people were having with the assignment as well as some more information about MiniMax and trees. Pretty much all of Monday's class was dedicated to discussing assignment 2 and its misconceptions but I thought it was useful. As a side-note I learned a few other things: 1) MiniMax is also known as 'NegaMax', 2) Wikipedia has terrible articles on both.... In addition, some light was shed on the rough outcome function, which to me seems like an oxymoron since a computer doesn't do things 'roughly', but I digress. It really is counterintuitive to me because it was explained that using ONLY the current game state rough outcome should be able to predict who is winning, yet even a basic test such as finding out if a player is one move away from winning, would result in a new gamestate being used. The professors said it wasn't imperatively important but we shall see how it gets marked.
Other than the assignment we expanded our original tree definition to create what is called a 'Binary Tree' or BT. It is essentially a tree but each node can have at max only two children (or branches I suppose). Our examples included some strange arithmetic sequence using trees as well as many different functions to manipulate and traverse these tree hybrids. Mainly it was the methods that determine in which order to visit the nodes. Later 'Binary Search Trees' were introduced which essentially expand on the idea of sorted list searching from CSC108. It is just a tree of numbers but all numbers to the left (child) of a node are less than that node, while vice versa to the right child. The real advantage of this BST is that the height is logarithmic in nature and so it is much quicker to search for a number than say a linked list. For the record, nobody has mentioned whether or not it is faster than a sorted regular list.
Other than the assignment we expanded our original tree definition to create what is called a 'Binary Tree' or BT. It is essentially a tree but each node can have at max only two children (or branches I suppose). Our examples included some strange arithmetic sequence using trees as well as many different functions to manipulate and traverse these tree hybrids. Mainly it was the methods that determine in which order to visit the nodes. Later 'Binary Search Trees' were introduced which essentially expand on the idea of sorted list searching from CSC108. It is just a tree of numbers but all numbers to the left (child) of a node are less than that node, while vice versa to the right child. The real advantage of this BST is that the height is logarithmic in nature and so it is much quicker to search for a number than say a linked list. For the record, nobody has mentioned whether or not it is faster than a sorted regular list.
Monday, 2 March 2015
Subscribe to:
Posts (Atom)