Thursday, January 30, 2014

CSC148 - Weekly Summary 1/31

I learned a lot since my last blog post. I was able to meet some peers and made some friends either in classes or labs. I was fortunate that people were really nice and patient, allowing me to ask numerous questions regarding recursion, subclass, etc.

I missed the introduction for recursion and was lost when I heard about it in the lectures this week, didn't know what recursion is. But with the help of my peer and some online research, I was able to learn that recursion is a function that calls itself. Although recursion is a really nice and efficient function, but it is really hard and complex to design. One main aspect of recursion is the base case, which allows the function to exit at some point.

 That's it for now! Will post a summary every week!

Monday, January 20, 2014

Object oriented programming & 1/20 Summary

In my first class of csc148, I learned that Python is infested by objects. Python is an object oriented programming language and is adept at handling large amount of data. We can use this object oriented programming to process data more easily and even to create new software.

Over the course of the first 2 weeks of classes, I have learned that you can design an exception type. It was noted that it is important not to alter a class after you published it to prevent inconsistencies from different versions. A good way to build on to it is to make a subclass of the old class to overcome this problem. With this method, the existing class object functions will be carried over.

In our class, people are actively participating in class discussions. The small classroom provides a really good learning environment.