Matrix

Friday, 6 February 2015

Week 5: Introduction to Stacks and Queues

This week did not include a lot of lecture time. On Monday, a huge snowstorm snowed in many people and our professor was late as a result. Wednesday was the first term test so there were no lectures then. The term test was fair and it was easy to do well in if you studied for it.

On Monday, we looked briefly at unit tests and how they work as well as a breif description about stacks. There wasn't much detail since a lot of the lecture was missing as a result of the storm and with the term test coming up, most questions revolved around that.

In Friday's lab, the focus was on stacks and queues. It focused on practicing with stacks and queues and seeing how they work. We also focsued on the efficiency of queue implementation and how it would affect our code. This week was easier to understand in comparison to recursion but it was still valuable information to know about. Knowing how stacks and queues work make your program more manageable. Arrays and lists are random access and stacks and queues allow you to manage your data in a different manner.


No comments:

Post a Comment

Matrix