Friday, 24 January 2014

The third week of CSC148

The super class and IntStack subclass are quite easy to understand and it's the same as defining a new exception since there are somehow the same. However, how to raise the exceptions that are defined by ourselves make me confused. I am not quite sure about how to use "try:......" and "except......as......". So I am still trying to figure out these new stuff and it seems clear after I check the website related to the knowledge about exceptions that is posted on the CSC148's website.
The second lab really makes me feel excited because of my nice partner and we solve the lab exercise very quickly and efficiently. Honestly, the 2nd lab exercise is easier than the first one, but I stuck at the last question asking us to make the function runs more quickly after having done the previous parts. Luckily, we understand this question with TA's help.
Now I am doing the second exercise and it helps me a lot with apply the knowledge I learn during the lecture. At least, hope I can finish the assignment one, which is just posted on the website, with my partner as soon as possible and I'll try my best to make it wonderful.

- Flora