2015年3月27日星期五

Week 11: Revisit my Slogs

       If I do not write down something every week on my blog, I will never find that I have already changed so much in only one semester...

       As I wrote down on my first slog:why Geeks Should Write? I stated that writing is a way to explain our thoughts and opinions, and we write a lot to become a better writer.  during the semester, I watched a little clip on Youtube called Why you should code! which lots of really famous geeks, for example Bill Gates(microsoft), Mark Zuckerberg(facebook) Jack Dorsey(Twitter)and Drew Houston(dropbox) and some others like Chris Bosh(NBA player) talking about why everybody should learn how to code.  I once thought I will never get even close to those stars in my whole life, I believe they are just all geniuses.  But when I heard Bill Gates says the first code he wrote on a computer was only "hello world", I was like:"Hey, I can do this, and this was so easy."  The famous, great Bill Gates also started his coding life from the most most basic things, like me.

       So, I wonder what is the main difference between these computer geniuses and me?  I believe it is one word with four letters: LOVE...

       Their love to computer science, their love to coding make them success, and become the geniuses in other people's eyes.  Compared to them, I always hoping to finish my study of this week and then I can enjoy my free time hanging out with my friends or playing video games in my home... It seems I had never really thought I should spend some time coding more programs.  I know practice makes perfection, but I never began.

       I think this will be the last time talking about this, because from now on, I really gonna spend more and more time on programming, because now I add another reason on "Why Geeks Should Write": LOVE.

2015年3月22日星期日

Week 10: Talking about Term Test 2

       I did not know that we are allowed to have a 8x11 "cheat note" during our 148 tests when I was preparing for term test one, and I felt so regret because I think I could done a better job if I had one during the test.  So this time I prepared my "cheat notes" really really carefully, and it definitely helped me a lot this time.

       I copied down some codes basically from every week's lab.  There is a question on the test paper which was nearly the same as one question that I copied down.  I only need to give a concept of finding very even value, and that is easy for me.

       I have no idea if we are still allowed to bring "cheat notes" during the final exam, if so, I will take this chance and try to get a higher mark with the help of that.

       by the way, TA strikes continues...

2015年3月9日星期一

Week 9: TA's still on strike, and Term Test 2 week

       As our TAs are still on strike, some of my classes has been cancelled, but both two professors of CSC148 are still providing lectures, a special thanks to them!!!

       Last week we talked about Linked List, and to be honest, I did not pay much attention on last week's study due to the strike.  So, how about letting me talk about something in my head about this TA strike.

       As an international student from China, I never experienced such a huge and long-lasting teachers' strike(or any other strikes...)  So this is a whole new experience.  I live in innis residence, and nearly every morning of last week the striking TAs are the ones who woke me up.  I don't know how long will this strike last, but I hope this can be settled  quickly so our student can pay more attention on our courses.

       And on this Wednesday we are going to have our second term test of both CSC148 and CSC165.  I think I will not be as frightened or nervous as last time.  Hoping I will get great results.

2015年3月7日星期六

Week 8: Binary Trees

This is a Tree...

 This is also a Tree...

       
       Over last week's lectures, we talked about a new method called Trees, to be more precise: binary trees.  The second tree above is a programming tree.  Like a real tree, it also has roots, leaves, nodes, and so on.  It also has heights, which the upper programming tree has a height of four.  On a binary tree, we have those typical tree attributes as I states: nodes, leaves, paths...  One node on a binary tree can only has up to two child nodes, and two is the max number, but it does not mean that for every node on a binary tree, there must be exactly two child nodes on it.  And for the two child nodes, we can then call them left node and right node, which is so easy to understand.
       
       Also, there are three different ways to examine a binary tree's data.  Pre-order Traversal visits the parent node before it's child nodes from left to right; Post-order Traversal first visit all the child nodes from left to right and then visit the parent node; In-order Traversal visits all the left child nodes then left parent nodes, after that, right child nodes, and finally right parent nodes, note that In-order Traversal only occurs on a binary tree.

       Tree is a difficult topic, and I need to spend more time on it.