What we learned this week is recursion. Recursion is a function that calls itself in order to complete a task. It takes time to understand why using recursion, but I learned about recursion in grade 12 computer science class so that I am aware of what it is like. However, it is still really difficult to implement a recursion by myself. It is like predicting and picturing what the function will do. I have trouble implementing the practice question's recursion during this week's lab. I tried to write things down on the paper and trace what the function will do if the code is implemented this way. Finally, it is solved. It takes time and practice to be practical with recursion.
I do not think the first assignment is too challenging. I think the instruction is clear. All we need to do is to follow it to create main classes and sub-classes respectively. Although I have two partners, I can't help finishing the whole game after finishing the part I am supposed to do. I feared that partners may not be able to use my class the way I intended to do so that I need to check and change. Finish the game does not take a lot of time.
So far, I am confident about the course material. Last semester, I took Danny's CSC165 course and really had trouble with the course. I felt that his sound and writing are not clear. When I found that the instructor of CSC148 is Danny again, I decided to try my best to pay attention to every word he says from the first class to the end of semester. It works so far. I hope I can keep the attitude and get a good grade in this course.
No comments:
Post a Comment