2015年2月7日星期六

I have learned much more materials than the first few weeks

Due to two midterm tests on Wednesday's evening, I missed CSC148's lecture for this week. However, I still learned a bunch of new things in the lab.

I remember that professor Danny only mentioned the simple structure of stacks. At that time, I feel really confused and I have no idea about how to use this kind of data structure. Fortunately, in this week's lab, I have learned how to use this data structure to deal with given list and construct given function. In addition, another relevant simple data structure "queue" has been taught in this lab. Interestingly, when I know more about queue, I get to know more about stacks. 

In the second place, I have solved one of my confusion in this lab. When I study csc108, I didn't quite understand what the main function is. In the lab of this week, we are required to write something below " if name = '__main__' " to satisfy given function. By the application of main function, I finally understand what main function is and how to use it.

Last but not the least, I took the first midterm of this course and I felt really bad because I have made a stupid mistake. When I trace the recursion, I didn't pay attention to what the "len" means and I incorrectly deal with the part of "len" method. Honestly speaking, I feel really whiny when I am writing docstring and it is really time consuming during the test. Fortunately, I eventually finish the test right at the end of the last minute.
  
In conclusion, I am really satisfied about this week's study. The midterm test inspires me to keep going and the lab teaches me real thing.    

2015年2月2日星期一

what I have learned this week

Last week I have learned a new tool of coding from the lecture --- the recursion. Based on my personal experience, the recursion problem is easy to understand but hard to code by myself. I really need to practice coding recursion simply because it is hard for me to find the deep structure.

In addition, my first assignment for this course has been completed. I spend a lot of time on finishing this assignment. I think the body function is not the tough one while the interface is pretty a new thing for me and initially I don't know how to deal with it according to professor's instruction. However, while working with my partners, I finally figure out a solution to connect the interface with the game body.

However, I still feel a little bit confused about studying CSC148. For now, I think I have learned how to write a subclass, how to use special method and how to use recursion. Even though I have studied bunch of new things, I still feel frustrated because I haven't done enough exercise to practice them. And that is why I am not confident with taking the first midterm.

In conclusion, a lot of wonderful experience this week. I get to know python program more and more and I really enjoy this process.