Wednesday, December 5, 2012

The Last Post

Been pretty busy for last couple weeks.... and today is the last day of the school.

I think im just not too smart for this course.

I have done poor job on my A3 and very disappointed at myself.

Not expecting a great mark on that.

I am going to study my @#$ off and will pass this course.

Thanks to Danny and Colin for the teachings.

Good luck to all people in csc236 and ME.

ADIOS

Wednesday, November 28, 2012

loop invariants?

I still dont get how loop invariants work

from time complextiy to partial correctness.

I think i understand 40%.

Is the vassos text book a source to get that 60% of understanding??

soooo confused.....

lets read the sections word by word carefully...

its gonna be a long day..

Monday, November 12, 2012

Prob solving continued..

I missed test #2 becuase i was soooo sick... and still sick. Dress well people.

So continuing on the problem from last post:

Never mind the point that i made in last post about the diagonal problem..

I totally misread the question which isnt that hard to understand.

uhh................. its too hard.......

Monday, November 5, 2012

problem-solving episode

Firstable, I just read the instructions on SLOGs carefully and felt i wrote too much (or only) about my personal thoughts.

So im going to start a problem:

https://wwwcgi.cdf.toronto.edu/~heap/cgi-bin/Solvent/wiki.pl?Problem_Solving_Home_Page/DiagonalCount
You have a rectangular grid made up of m rows and n columns (the symbols n and m represent positive whole numbers). Draw a line from the upper left to the lower right corner (the diagonal). How many of the grid squares will the line pass through the interior of? If you are told m and n, can you calculate how many squares the diagonal will meet the interior of? Can you derive a formula?
Here's what happens for 4 rows and 6 columns:


So...............

just by looking at it, i see the pattern of 2X3 square with that grey shaded worm(?) shaped squares.

I think important thing we hav to consider here is,

for example, when m is 3, after 2nd row, no matter how much rows u add, the number of grey squares stays same. Similarly, when n is 2.

Pretty good start i guess..?

Wednesday, October 31, 2012

the material gets harder..

last couple tutorials were too hard for me. I barely understood the materials. My slog is still not listed on the webpage.

Saturday, October 20, 2012

more complexity

I wish there were rules and formats to solve these problems or maybe its just me that the material seems too difficult..

I got my test back and man.. since its only out of 15, a couple lost marks are so huge.

Writing up of predicates and induction hypothesis is tricky.

Back to work.

Piece.

Sunday, October 14, 2012

After Term Test #1

Here I am again spending a weekend in BA...

Looking at the lecture notes from last week because I left the class right away after the test.

Honestly, these slides are so tough to understand (and read).

Feeling the importance of attending class, even though I only grasp half of the stuff at best(!?).

Anyways, the test was easier than i expected and very straightforward. Love these kinda tests.