It’s the fourth
week of the winter semester; one month has gone by! This week started off a bit
stressful for me, since I had an Economics test on Monday (I’m praying for a
good grade!!), and Calculus problems set due on the same day. In addition to those
work, Assignment 1 for CSC148 was posted online….how great!! I read the handout
and the contents seemed very foreign to me, especially TOAH model. I can
predict that the next 2 weeks are going to be extremely hectic for me because
of CSC148’s Assignment 1 and mid-term tests for my other courses. I am really
worried about the Assignment because I had just started it with my partner and
we were totally confused and clueless of what to do. I’m praying that we will
be able to finish Step 2 (at least!) before the end of next week!!
Anyways, back
to CSC148….this week’s lectures were mainly about RECURSION, which was
something new to me. Thus, I had some difficulty understanding how recursion
works. However, my main goal for the next week is to actually go through
recursion one step at a time, until I feel comfortable writing it on my own,
especially for Assignment 1. By the way, Thursday’s lecture was a bit
interesting….TURTLES!!
This week’s lab wasn’t too bad.
The lab helped me reviewed unittesting, as well as class structure. Thanks to
the lab, I felt a bit more confident on writing class and their structure. I
was able to learn many new things or techniques in the lab, as well! One of
them being the way we can test the Exceptions in unittest (i.e. AssertRaises).
Another thing I learnt was inheritance (i.e. “super().”). This was my first
time actually writing code that ‘inherits’ some attribute from the (parent)
class, and by doing so, we were able to slightly alter the class or subclass.
Also, I am grateful for my lab partner, who explained to me how it works. In my
opinion, this week’s lab was quite enjoyable, as I was able to walk out the lab
room learning and actually understanding the content.
Well, there goes my week! Hope it’s
better next week! J
No comments:
Post a Comment