Friday 5 April 2013

I decided to join a group for the 2nd assignment.  I was tasked with completing the fractal  code.  I spent the first day trying out different things to solve the check expects and easily passed the check expects but I realized later that the just passing the check expects was not enough to finish the assignment.

The next day I decided to use the problem solving method taught in the second week of lecture.

Understand the problem

I studied the code and read the instructions within the fractal code in order to figure out what exactly I was supposed to accomplish.  I realized that for the the Sierpinski check expects I wasn't supposed to just pass the check expects but I needed to write a recursion.  The other part of the assignment was to add [question answer] pairs that altered the depth and base of the Sierpinski using arrow key presses.

Devise (one or more plans)

I created a plan that involved writing a recursion for for sierpinski in terms of (param-depth) and (param-base).  I also created a plan to model my key presses after the ball assignment key presses.

Try the plan

I attempted to implement the plans. I had to brain storm for a couple hours how to arrange the syntax so that Sierpinski was written in terms of param-depth and param base.  It took a while but I hit a break through .

The key press I modeled after the ball assignment didn't work at first, because I had four arguments instead of two.  Once I figured out my mistake it was easy to fix.

Look back

Looking back I should have studied the structure of param and realized it only had two variables: depth and base.  If I realized that earlier I would have been able to solve the key press problem faster instead of having four arguments.



Thoughts on the course

I really enjoyed all the topics covered in csc104.  It had a bit of programming and some history/social issues about technology which have useful real life applications.  Professor Heap was a very enthusiastic lecturer and the TAs were nice and helpful when ever I had problems concerning Dr. Racket. 

Tuesday 2 April 2013

I had a nice relaxing reading week.  I ended up going home to Newmarket to visit my parents during the long weekend.  Aside from my weekend, in CSC, these past couple lectures on networking and privacy have been pretty interesting.  I really liked Tuesday's lecture covering privacy.  The fact that you can identity a person using just their date of birth, gender and postal code is really cool but also kind of scary at the same time!

Monday 25 March 2013

On Tuesday in CSC we did practice problems on recursion and I really think recursion is the coolest thing!  We did one recursion that created a really cool pattern the longer the recursion occurred.

I wasn't at class or quiz on Thursday or Friday though because I went to Montreal for the Canadian University Badminton Nationals. We finished 4th in the team event just missing the medal placement but I still had a lot of fun in Montreal and really bonded with my team during the 4 days.  

After this mini vacation I'm ready for this week in CSC and can't wait to continue my knowledge of Dr. Racket and computers as a whole!

Saturday 16 March 2013

This week in CSC we had a our second term test.  I think it went pretty well but the last question was quite tricky.  After the exam me and my friend were debating if the last question had recursion in it and I think we concluded that it probably did have recursion.  So I probably did that question incorrectly.  

At least the rest of the test I think was pretty straight forward.  Now that the term test is over I wonder what we'll be learning in CSC next week!

Sunday 10 March 2013

OUA Champions!!

I know this has nothing to do with computer science but I'm just really excited that my team just won the OUA team gold medal for badminton!!!  I spent from Friday morning till Sunday night at the tournament (hosted by Ryerson)  and somehow our team tied with Western, 59 points each.....but  the tie break was decided based on how many head-to-head matches our team won against Western and counting up the totals we ended with 12 wins against them to their 7 wins against us :)

I'm just so elated that my team won it!!

Project 1

This week I partnered up with two other people and worked on the CSC ecosystem and ball project.  I spent a long time trying to figure out how to finish the projects and unfortunately was only able to fully the ball project + it's bonus mark, but boy did it feel great when I figured it out.   The ecosystem project stumped our group and we couldn't figure out how to complete the last two problems even after spending a large chunk of time trying to figure it out.


Saturday 2 March 2013

What a confusing and frustrating week in CSC!  Professor Heap was teaching us about binary and how to convert numbers into binary.  At first I was completely overwhelmed by it but its starting to make a bit of sense to me now!  Next Profressor Heap taught us how to alter the color of images in Dr. Racket by changing the red, green, blue levels of the picture.  I thought it was pretty easy to follow but when I went to work on the tutorial worksheet I ended up spending a few hours playing around with color changes and color swaps and even altered the opacity.  I think all that time spend working on the tutorial made the quiz relatively straight foward for me though!  

The most frustrating part of this week was when I was trying to hand in my wikipedia assignment 2 and was unable to login to markus for the longest time.  Luckly I was able to login this morning and hand it in, even though it's late :(