Saturday, March 21, 2015

Week #10: Impression of week 9

Week #10: Impression of week 9


There is a reason why I do not use a specific topic to the title of this slog. For there is only one hour lecture and no tutorial, but an one hour test! 

First I want to talk about the lecture this week. It seems that we are still discussing the old concept Binary search tree, but we need to comprehend it deeper. In week 6, we use the binary search tree to find some data meeting the requirement we want. While in this week we are not simply using the binary search but changing and doing operations to the tree. In common, we also need to focus on avoiding the unnecessary steps when tracing the recursions. So we need to compare the data and the left subtree and the right subtree, and return a right order of the left node, root node, and the right node.

Next I want to discuss the term test 2 in last week. Telling the truth, this test is really not that difficult like we thought. The first question is just testing our comprehension of basic concepts of binary search tree and traversal order of the tree. But what I need to acknowledge is that I am not quite familiar to those concepts. I nearly wrote answers by guessing of those concepts during the test. Although I know that my answers are correct after confirming the answers after the test with classmates, this experience will always remind me that I need to comprehend all of the concepts that covered in lectures. No free riding! Comparing the first question, the last two questions are just transformations of list_between and insert_before functions I mentioned before in my slogs!!! So just imitating the function in our lab will be a good choice to implement these new problems.

Reminder: 
In-order traversal checks a node in between checking its two children
Pre-order traversal checks a node before its children
Post-order traversal checks a node after its children


Hence after this test I find that I need to focus more on the basic concepts and keep thinking of the nature of each structures and summarize the typical functions.

Recommend: http://computersciencemaggie.blogspot.ca/2015/03/summary-of-object-oriented-programming.html?showComment=1426384453547
More detail concepts on traversal order.

No comments:

Post a Comment