2015年2月8日星期日

Week 5: A Tough Week...Well to Me

       I would rather call this week "CS test week" because I had both CSC165 and CSC148 mid term test1 on Tuesday and Wednesday.
       I spent tons of my time reviewing CSC165 material because this is a totally new course to me; I think I did  this test well, but since I did spend much time on CSC148 so I wasted lots of time during my test on the first few easy questions and did not have enough time to finish the last question.  I will definitely review 148 more carefully from now on.
       And this week we've started learning about recursion and how to trace a function while it runs.  And I have been told that recursion is a very important skill in coding, like it will show up again and again in the following years.
       Recursion is a fun topic to me.  As Diane shows during the lecture by letting the students using the same method to divide a stack of playing cards in to half.  Divide one stack of card is easy for one person to finish, but if there are a thousand stacks on the desk, this only worker will be really bored to spend months to finish the job.  It is the same as we analyze our data bases when we are coding, it can be hard, boring, and requires lot of time.  However, with the recursion method, this worker can only cut this deck into two stacks once and pass the rest of his job to other people, and when they finish their part, they can also pass the rest to more workers; and when all workers finish their job and there are not further jobs need to be done, they can pass their finished jobs back to the upper level workers, and finally all the finished jobs will be collected and analyzed by the first worker.  This is way faster and easier, also more precise to be done.
       I hope I can learn more advanced methods like recursion and then coding can be more faster and easier for me...

没有评论:

发表评论