Friday, February 5, 2016

Slog week4

   This week, we continued studying on the topic of class. I learned the difference between "Stack" and "Sack". Basically, Stack is to append something into a list and remove the last item out. In contrast, Sack is to insert or remove an item randomly from a list. When implementing class Sack, the professor introduced us a new method called random module in which we can pick and return a random item from a list by using randint function.
    I found a difficulty when I was doing Lab 3 this week. Some contents are from CSC108 that I can't quite remember. Therefore, I need to pick a time to review  all the stuff I left out from last semester. By the way, the first exam is coming up. I feel less confident about this exam. Unlike CSC108, CSC148 does not provide tutorial videos which is an useful way to review. Also, the exams from previous year have not posted yet that I can't work on those materials earlier. Anyway, I will work hard during the weekend to get fully prepared for the test next week.

No comments:

Post a Comment