Sunday 30 November 2014

sLog csc165 Week 7

In tutorial this week we went over how to do 3 proofs. I have noticed that the style of writing a proof is different between the TA and the professor. While there many ways to write a proof I will follow the TA's style of writing a proof. Although it is sometimes confusing looking at the examples gone over in lectures against the examples done in the tutorial.

Friday 7 November 2014

cSC 165 week 9

In lecture this week we began learning about different sorts. We examined the code for different types of sorts. I recalled learning different sorts for Java in my computer science classes in high school. My high school teacher explained that different sorts performed more efficiently depending on the length of the list or array. At the time he breifly explained why certain sorts worked better than others and I memorized what each sort was most efficient. Now in Lecture we examined the code more throughly and explained why the codes performed differently.  I found determining the worst and best case of each sort interesting.