Wednesday, February 24, 2016

sLog Week 4

During the reading week my partners and I finished most of the coding work. And then because I have two tests after the week I didn't do much further work on the assignment. The deadline is coming, we found that debug is such frustrating, there shouldn't be so many logical problems appear in our code, but it just can't work perfectly. Now I know why we called it bugs because they are simple problems, but with a large quantity which makes it so annoying.

Wednesday, February 10, 2016

sLog Week 3

The midterm was over and it is not as hard as I thought,hope I could get a decent mark. About the lecture, our professor insists that linked list is much more efficient than normal list. Although I couldn't fully understand why and how that works differently. And since the test is over, I now have time to move on to the assignment. Our lab is really helpful, maybe more helpful than the lectures, TA would answer my questions patiently and that makes me feel good.

Tuesday, February 2, 2016

sLog Week 2

This week the professor introduced us a new content called sack and stack, and to be honest, I cannot recognize the difference of them very well. I have to ask my friends who also take CSC148 for details. They told me that "sack" and "stack" are two relatively similar structures. Stacks put a new item on top of it, and when we want to remove an item, we start from the top. However, since sack has no order, we just randomly remove one in sack. The linked list confused me a little bit as well, but my friends taught me to think of it as a train, it has to have a head and a tail, that makes a lot more sense to me. I will understand those more thoroughly in the future.

Wednesday, January 27, 2016

sLog Week 1

This is my first sLog post on CSC 148 at University of Toronto, the goal of sLOG is to make it a milestone while I am learning computer science instead of computer programming. The past three weeks taught me a lesson that we are now in CSC108 any more! The whole course is not all about coding or programming like what I have learned last semester. The first week our professor showed us how to design a class to solve specific problems. For starter I have already been familiar with init, str, and eq, these are basic elements of a class. And then it is time to design. On the lab in week 2, we are asked to create a class about race registry. Before that lab I didn’t have a chance to write my own code, and to be honest, I panicked when I realized that I have to finish the assignment in 2 hours. But luckily our TA said it is a group work, so I am lucky enough to find someone who was willing to carry me. With his help, we begin to work quite fast, using “add” to add runners and “find” function as a filter to find out different people under various categories. At the end of the lab there was a small quiz, I thought it was easy because it only requires a init function. However I forgot to put on all the types, this one is definitely not a good start.