Although it sounds like a cliche, I still have to say: how time flies! It approaches the end of the semester and this is my last slog.
This time, I will look back to the whole course and write the final summary.
In general, we spent around 2/3 of our work and time on recursion. So I guess recursion is the most important thing in this course.
Also, almost every code we wrote were based on classes. So object oriented programming is another important concept we should acquire.
Also, almost every code we wrote were based on classes. So object oriented programming is another important concept we should acquire.
At the beginning, we learned how to trace the recursions and wrote some simple recursive code. And then we are introduced by a new concept: Abstract Data Type, which includes stack, queue and tree. And then we went to tree, binary tree, binary search tree and linked lists, which are all ADT, and applied recursion on them(on almost every method and function in them).
The last thing we learned are assertion and big-Oh. For me, so far, they are not hard.
Maybe it's because we didn't go very deep and I learned big-Oh in CSC165.
To be honest, I was a typical art student in high school and my science courses sucked. The reason why I took computer science courses is that these courses are hard and I want to challenge myself to see how well I can do. I took CSC108 last semester, it was just an introduction to python and we just learned some syntax of python, but it was really hard for me. I didn't know how to do the assignments and wanted to give up, but finally survived. When I take this course, CSC148, although it's harder than CSC108, it gives me the interest to computer science. I still remember how excited I was when I first know the list comprehension. One line code replaces what may be written in many lines! In the first assignment, we made a game(which was I always dreamed)! And the assignment was totally depended on us -- no provided docstrings, no type contracts, and no must-have functions. We decide almost everything by ourselves (as long as we follow the instruction of the handout).
In assignment 2, we developed a strategy for the computer -- minimax. It was the hardest thing in the course I think. We spent around 30 hours on this assignment and finished it in the last minute. I even had nightmares about it! It was brain-draining, but I kind of enjoy diving into it. Finally, the computer in the game becomes so strong that never loses. How magic it is! Computer science is of so much fun, because of this course, a former art student decided to be a computer science student!
I put much effort on this course, and get what I deserve.
Thank you so much for Danny and Diane, my partners, and my classmates!
I put much effort on this course, and get what I deserve.
Thank you so much for Danny and Diane, my partners, and my classmates!
No comments:
Post a Comment