Saturday, January 17, 2015

Week 2: Lab of CSC148

In this week's class we covered new material that I was not familiar with. We started to learn about abstract data types (ADT). The first ADT that we learned was called a stack. Basically, a stack can only have a few operations such as adding an item to the top, removing an item from the top, and checking whether or not the stack is empty. We then saw an implementation of a stack in Python using classes.

I also had my first CSC148 Lab this week. I find the way that these labs are set up are quite interesting and also helpful. Basically, we alternate between a driver (the person coding) and a navigator (the person who tells the driver what to code) when we are completing the tutorial assignments. These labs are really helpful because it helps us get used to reading and building onto other people's code.


No comments:

Post a Comment