Week #12: Last impressions
-- looking back over
After 3 months csc148 classes, I have really received quite much.
I first experienced labs of computer science. I first wrote recursions. I first designed a game and built a strategy. I harvest so many first times that I can never ever forget my amazing journey at the beginning of my python career.
Firstly, I want to simply summarize what we have learned in last three weeks. In week 10, we learned unittests and assertions. Telling the truth, unittests cannot said to be a new concept to me, for I have learned it in csc108, so the most important thing I got from the course was that both unittests and assertions were used for finding bug in our functions. Unittests help us make sure what kinds of condition we have not considered in our function, while assertions help us locate where the bugs are. In week 11, we learned about sort algorithm including bubble sort, insertion sort and selection sort and etc. It is related to big-O characteristic of an algorithm which was introduced in week 12. These were also simply introduced in csc108, but we only talked about linear and quadratic growth. This time we learned about O(1) for constants, O(n) for linear, O(n^2) for quadratic, and O(n^k). I found that big-O needed us to focus on the nested loops in the functions. We need to tell whether the loop is constant running time or linear increasing running time or something more complicated. Although during the strike we had no TAs and no tutorials, I could handle the concepts discussing in the lecture for they were all friends to me.
Secondly, I want to emphasize again the key concepts and core ideas we need to comprehend thoroughly. First is ADTs and O-O programming. This is used in nearly all the course material. We build tree structure by creating a new class. Also we make linked list structure by O-O programming. That is really basic but important in our course. Second is Tree structure. This leads to recursion that we can use to implement the tree related functions. Again we use recursion for we want the computer
to inherit that instinct. The code we write is an extension of our mind, a
baby of our mind, or even a clone of our mind! So what the function
wants to do is just what the programmers want to do. That is the only reason for us
to trace the function and use the function-- to do what the programmers want to do. We need to remember that and then we can utilize tree structures and recursions when solving problems related to analyze the situation
by analyzing a more original one. Third is binary trees and binary search trees. The latter one is much more important for it introduce the properties that we can used to avoid unnecessary step in our recursions by comparing data with the requirements. Fourth is the Linked List structure. I think that this is the most difficult topic in the whole course. But what we only need to do sometimes is just drawing pictures!!!
Finally, I want to talk about our 3 assignments. I am quite into these three assignments for they are based on games! I can nearly see the future that I will create my own game and design a strong strategy to fight and beat other players! How amazing it is! Assignment 1 is used to training us design new classes representing a game and form a simple strategy for the game. Assignment 2 makes us examine the game much deeper to find a best winning strategy for this game. Assignment 3 reminds us that when we face a much more complicated game, we need to avoid redundancy to reduce the time running a strategy. So these three assignments are quite interesting and make me learn a lot in process of implementing and debugging.
At the end of the slog, the slog of these course, I want to say that this is not the end of my slog, but only a beginning!
Finally, I want to talk about our 3 assignments. I am quite into these three assignments for they are based on games! I can nearly see the future that I will create my own game and design a strong strategy to fight and beat other players! How amazing it is! Assignment 1 is used to training us design new classes representing a game and form a simple strategy for the game. Assignment 2 makes us examine the game much deeper to find a best winning strategy for this game. Assignment 3 reminds us that when we face a much more complicated game, we need to avoid redundancy to reduce the time running a strategy. So these three assignments are quite interesting and make me learn a lot in process of implementing and debugging.
At the end of the slog, the slog of these course, I want to say that this is not the end of my slog, but only a beginning!