Sunday, 23 March 2014

Week 10

Week 10

Ten weeks class means five sixths of the course is over! I shouldn't think of this too much, as it will only distract me. (For example, I almost forgot to write this slog.) Now turning to the actual course, this week, various sorting algorithms were reviewed. Some, I already knew from CSC108 such as selection, bubble, and insertion sort. Others, such as quick and merge sort, were new to me. When these were explained in class, I felt that I could understand them fairly well. I found the card demonstrations to be helpful, as sometimes I am a visual learner. In addition to the method, the run times of these sorting algorithms were analyzed. Although I am less confident with run time analysis, once it was explained, I think I understand why merge and quick sort have the run times they have.

Outside of class, I worked on A2 part 2, and I started studying for the second test. I had finished most of A2 part 2 the week before, so this week was mainly for revision (and there were many revisions to be made!). In the end however, I believe I have a working program. To study for the next test, so far, I have been doing the old labs, starting with week six. When re-doing the labs, I find that they are much easier and straightforward. For example, to write a function that took my partner and I forever in the lab only took a fraction of the time at home. I also plan to look over in class examples and old tests. After doing the labs, I feel that I better understand linked lists and binary trees, but on piazza, it was also mentioned that big O would be on the test. This makes me nervous, as I do not feel that well about big O. I remember doing of run time analysis in CSC108, but it was only a little bit near the end. I hope to get more practice with this by doing the old test question on it (but I would also like the answers to check my work!). I should probably work on old examples to make sure I really understand them too.


The address of the first slog I randomly picked is http://codezerda.tumblr.com/. This person basically summarized binary search trees. I agree with what this person has to say, as it is mainly objective. In the “about me” section of the slog, the person mentions about being a computer science student and wanting a job coding video games (which could be cool in my opinion). I know I said this in a previous slog, but right now, I'm not CS student. I'm taking this class from family tradition. But as the semester comes to a close the time begins to chose a POSt. Among a few other things, I'm actually considering CS, but I need to think about it more before! Onto the next slog: http://bighairyleg.blogspot.ca/ (eww, big hairy leg). This person only has one post, that is, week 3 on object oriented programming. So, I can only comment on this post, but it will be fun looking back. This person (at least in week 3) didn't feel very confident on object oriented programming. I can relate, as in CSC108, when we did this at the end, I wasn't confident either. When I figured out this was the first topic of CSC148, I thought oh no! On top of a not so great feeling, I hadn't touched it at all during winter break. I too, was worried those first few weeks. But as we learned harder things like recursion, object oriented programming suddenly didn't seem so bad. A good example of this was A2 part 1. This was basically OOP: designing classes, using inheritance. Many people, including me, didn't think this was so bad. I don't know when OOP “clicked” for me, but it must have at some point, and I hope this person also feels the same way now.

No comments:

Post a Comment