Thursday, March 31, 2016

I truly can’t believe that the year is very close to the end of the year, it seemed just like yesterday we were starting the term. At least I will soon get to spend 8+ hours a day getting paid! And above all I should have more free time. I should really stop going off on tangents and actually start this week’s SLOG. For my week 11 SLOG, I am supposed to visit an old post (although I’m sure you already knew that) and talk about how my view has changed if at all. Just for context reasons ill declare that I will be revisiting my very first SLOG post.

Looking back at this post made me remember how easy the start of the course was compared to the end of it. However I do still feel very much the same concerning the progress of the course. As I stated in my first post, the transition from CSC108 to 148 appeared seamless which I feel continued throughout the course. The main reason for this I feel is due to the constant buildup of concepts which we then execute in an assignment. The difficulty has definitely been ramped up since the beginning of the course, and what’s a university course without a little bit of a challenge. All in all, my views have stayed pretty much the same, which I personally OK with. To me, there is still nothing better and rewarding then building up concepts then using them all together in some form of harmony.


In terms of the goals that I had at the start of the term, technically speaking (which I find a little comical), are all actually in progress. The main goals that I had were to stick with and post to my SLOG regularly, get the best mark that I can in order to get into the subject post, and finally to carry through with my experience and possibly continue a blog of some sort. It’s just awesomely hilarious despite being pretty much the end of the year, all goals are unfulfilled. I am pretty close to completing them, well 2 of them anyways. Concerning my mark, I am happy with what I have done so far. I feel I have done exceptional well on the assignments and decently on the tests. In terms of the SLOG, I managed to keep up posting for each week, which I plan to also do for the final week 12 post. And finally, in all honesty, I don’t think that I will be creating a blog and continuing. As much of an interest it was to have one for the course, I just feel that it’s not really for me as I think it will be more of a chore than fun.

Saturday, March 26, 2016

Week 10 has just surpassed, and this year is starting to come to a close. Starting to creep up faster and faster, going in for the kill. We had a shortened week because of Good Friday, I only wish we had Easter Monday off as well, but c'est la vie! In the two days of lectures we did have, we talked a little more about trees which includes __contains__, and node packing. Besides that we also talked a little about sorting algorithms and big-O. Being honest I did not really seem to be in tune with this weeks lectures as I was more worried about the assignment that was due on Thursday. So because of that I don't have much to reflect on in terms of course material, but I can talk about the test that we got back and the assignment. Concerning the test, I was pleasantly surprised as I had a lot of second thoughts after handing the test in. I was even more surprised to see that the class average was still in the 60s. I'm just glad that I had gotten a mark well above class average and hope that the formula works even better in my favour. Then the next topic of discussion, the assignment. This assignment I found to be a little bit easier than the last one, although it did require more thinking, it was more straight forward. In the end though, this assignment is done, but in its place are more assignments from other courses.... Anyways, that's my post for this week and i'll catch you guys later in the next post.

Monday, March 21, 2016

Posting to my SLOG has seemed to slip my mind on the weekend, but better late then never I suppose. On to the show, this is the post for week 9. During week 9 we didn't really do too much. We had talked about what the test covered, a little about the assignment and deletion of a BST. Nothing too special, except that we had a midterm on the Wednesday. This midterm seemed a lot more fairer in terms of timing which was great and the material was fair, overall it wasn't too bad. Besides that I have been busy working on the assignment. That is it for a quick recap, hopefully I can remember to write week 10 on time.

Sunday, March 13, 2016

And yet another week has passed, getting closer and closer to the end of the year, week 8 just finished and now we start week 9. In week 8 however, we had build upon our knowledge of trees and added binary trees to our arsenal of knowledge. Binary trees utilize various different methods that we go through in class, which require recursion in some cases. Binary trees are simply just a special type of tree, although this should be apparent since you are all in 148. Binary trees in essence, appear to be easier to work with in the idea that you don't have a list of children to worry about but instead have only a left and right child to worry about. But since we had learned binary trees later in the course, part of me wants to say that they are harder to work with for that reason alone. Not entirely sure if that is true or not at this point but time will tell. As it stands for me however, I feel that I have an understanding of recursion and trees but sometimes have a, well, rather interesting time at certain points, to connect the dots. I guess that all comes with practice, which is what I plan to do the rest of the weekend. I suppose that will be it for this little update, until next week, take care.

Thursday, March 3, 2016

Hey what’s going on y’all? Ready for my week 7 SLOG post? Of course you are! And so am I! To start off, I guess I will do a little recap of this week’s events. This week we had more work on recursion, but this time in terms of trees. Trees I’m just going to assume that you already know, just so I don’t have explain it. Anyways, the subject of trees, or at least how it is being taught, I though was interesting. Particularly on the grounds that you can use them to create fractals (or at least what looked like a fractal), which is something that I had adored since I was introduced to them all the way back in grade 6 or 7. However, grades 6-8 just seem to have merged together for me so I could be wrong about when I had been introduced to them. But it is nice to be actually taught trees which is one of the concepts that I have always known in something like a flow chart, but never in a computer science way. So far we were taught to be able to determine characteristics of a tree such as depth and leaf count, but I hope we further explore them.

Enough of the diddle daddle, let’s get into the required content for this SLOG post. Although all three topics are of interest, I will talk about my view on Object-Orientated-Programming (OOP). This is a concept that always seems to pop up, either in practice or conversation. I’m sure that I have mentioned this before, but I do appreciate the whole idea of OOP, particularly when we take multiple different classes and use them all together. It’s just like taking multiple pieces and making them all fit together and form one large puzzle. However above all, I feel that when creating a program, it is more rewarding to have multiple classes, including abstract data types, all coming together and working together vs just having one file with a single class or a small collection of classes. It is also worth mentioning that it is interesting that we can literally create our own classes and make them do tasks not implemented within python natively which also further peaks my interest because we get to use them as attributes or objects within other classes.

Besides my opinion on the concept, I feel strongly that it is necessary to have the material taught in such a way as to when we finish the course, it is solidified in our minds, and have it continue to thrive in the work that we eventually accomplish. This course I feel does that very well. Although not explicitly stated, we are learning about it none the less. Over the course of the term, we had created and used many different classes, some of which may have appeared trivial, such as linked lists, and the whole thing about shapes. But the further we progress, the more everything becomes interconnected and concepts strengthened. For instance, starting with something like Stack, it moves into something such as PriorityQueue that we have used in our assignment by implementing it in such a way as to have it as an object within another class. Additionally, another great example of OOP is with the concept of Shape that we had programmed. Not only do we have a superclass and subclasses, but we also use classes such as turtle, and point. All of which are prevalent within the superclass Shape, touching on inheritance and composition. Teaching by building up to the larger picture I feel allows us to understand that we have the power to do whatever we want and understand how we can truly make everything very interconnected and work together.


 In conclusion that is my little collection of opinions related to OOP. I hope that I had covered the necessary areas of interest and kept you even the slightest bit interested as you read. And if I didn’t, I just hope that you were at least not bored out of your mind.

Sunday, February 28, 2016

Well dang, I actually almost forgot about this SLOG post. Better late then never I suppose. Anyways, this is what, week 6 now? Let's recap what had happened! During week six lectures we had learned more about list comprehensions and we also delve into the world of recursion! Now recursion is the one thing that I had to learn in high school, but never truly understood. So far I seem to understand it, but I guess we will see come the next lab. Besides class work, the first assignment was due this week. Overall it didn't seem too bad, just kind of time consuming. In the end, I do wish that I has started it earlier, but hindsight is 20/20. A short post, but yet another chapter laid to rest, and new one about to begin.

Tuesday, February 16, 2016

Alright, alright, alright. Week 5 already, dang. Time really appears to fly as the days pass by. Anyhow, this week we didn't really do much besides the midterm, so i'm assuming you can guess what I will be talking about. So for my reflection on the midterm, I feel that it was a fair test however it was very rushed. The midterm was supposed to have been an hour, but clearly it should have been a 1.5-2 hour test. And I know that I am not alone saying this, pretty much everyone I asked said that we should have had more time. If I had to guess though, I would think that it would have had to deal with the dockstrings and that question with the 3 (or was it 2?) classes having to write a complete API. Anyways whats in the past is exactly that, in the past. The only thing I am curious about is what is going to happen because of the fire alarm. That is all I will write for this week, so peace!

Saturday, February 6, 2016

Good news everyone! I’m back for a week 4 SLOG post. Anyways, I guess I will start with my speculation on this week’s content. (From what I can remember anyways :D). To start I’m going to talk about the whole thing about parenthesization. Being honest, I found this lecture a little bit boring; or maybe it was the little sleep I got? Besides the point, the concept was something that I feel that we should have known already, as placement of brackets and such is very important not only in computer science, but also in math. In fact, it’s even an essential part in BEDMAS! But in the end, it did make sense in the idea that you would need to implement something like this in the real world. For instance something like Wolfram Alpha where you can type brackets and such for mathematical equations. Besides, you can never seem to trust anyone on the internet nowadays, most people seem to be trollers or people who want to break the system all the time. Don’t get me wrong though, every now and then I like to find loopholes myself. The other lectures seemed like the usual, with linked lists be a little bit interesting and practical. Interesting in the fact of not thinking about lists in exactly the same way, and practical in the sense of how python handles lists. Aside from lectures, was this week’s lab.  I kind of liked this one as it was easy to follow and wasn’t the hardest thing to program. In conclusion, I hope you enjoyed this large block of text and until next time my friends, I bid the farewell.

Thursday, January 28, 2016

Hello TAs, Professors, fellow colleagues and the world as a whole; and if you are watching NSA, hey what’s up? Anyways, this is going to by my first post to my blog as most of you would have guessed. This blog will interchangeably be called either my blog or SLOG by yours truly. The main reason for the SLOG is basically because it is required for CSC148. Since it is required and worth marks, I’m going to give this my best shot. I guess now is a good of a time as any, so here we go!

Just to start, I will provide a little bit of an introduction, I am a first year student currently enrolled in CSC148. Previous to CSC148 I have taken CSC108 which I am thankful for as I have not used python before. CSC108 was a good introduction followed by CSC148 which transitioned exactly where CSC108 left off. I found this very helpful as it didn’t seem like such a hard cut like you will sometimes see in movies as it abruptly transitions from one scene to another. This transition felt as if this course was no different from the last, as mentioned, very welcoming. During the transition we also changed the structure of programming from creating a singular file that contained all our functions, to having different files containing nothing but self-designed classes! This is nothing that I will frown upon as it introduces a concept that will be inevitably used, which is a good structured program is composed of multiple files that all have specific purposes. Besides the change in architecture, we had also covered some material that I have not come across before. I had always known that some languages have public and private variables, but did not know that you could have private, or hidden methods as well. This concept is something I should have expected but was still to my surprise! The rest of the course up until now seemed to be what was expected, using skills and practices that were learned and apply them to a higher order (such as creating classes that interact with each other, and then creating one superclass that utilizes all the subclasses). Practices like this I enjoy as I feel the course will then be more rewarding by the end of it.

Besides exploration of material, it is nothing without practice. This then leads to my first lab last week. In the lab, I was a little shaky because I was trying to remember some things about classes, such as how to call a function from within a class, due to having forgot material over the holiday. But that’s life in fast lane for you, and you either have to pull over and let everyone pass you or speed up and keep consistent with everyone. Despite the setbacks, I can say that I am actually a little impressed by myself. After I finished programming the lab, it actually ran without any error! Quite surprising considering I never completely understood classes initially in CSC108.

And lastly, my goals of the course and this SLOG. My goal, as I imagine, is quite simply the same as a lot of people.  This goal, is being able to get as high as a mark as possible in order to be able to get into the subject POST for either a Major or Specialist in Computer Science. And my goal with the SLOG is to simply have been immersed into the world of blogging, and hopefully be able to carry through with it by utilizing my experience for posting on other people’s blogs or even create another of my own at some point.


Anyways, that was a quick little summary and first experiences in the first few weeks of class. I hope you enjoyed my first blog post.