I don't think I've ever been more confused in this course than when we went over Halt. It's just too paradoxical for me. From what I can gather, Halt doesn't work because it works when it doesn't work but doesn't work when it works.
Yeah, I don't know.
And Navel_Gaze is the name for the other function that contains Halt. It's an interesting name, I admit, and it is certainly memorable. It's just that the imagery of a "navel gaze" is somewhat disturbing.
This is to hoping that the next tutorial will explain things to me.
Big Oh seems to make sense to me, but apparently this isn't the case for everyone.
http://ryancsc165.blogspot.ca/
Saturday, November 22, 2014
Tuesday, November 18, 2014
Thank God for Tutorials
I just want to say (shamelessly) that I think I learn more in tutorials than my lectures.
The previous week, I had (more or less) no idea what was going on. How do I prove two polynomials are unequal? How do I prove Big-Oh or Big-Theta? How does anything work?!
But after my tutorial and a few examples, everything makes sense. I think it's mostly because the tutorials are two hours long, but the questions are very short. This means that we get a lot of time for our TA's to thoroughly explain the concepts behind the questions!
Hooray for TA's. I think I might actually pass the final exam!
How do you do these proofs?:
http://longcsthought.blogspot.ca/
The previous week, I had (more or less) no idea what was going on. How do I prove two polynomials are unequal? How do I prove Big-Oh or Big-Theta? How does anything work?!
But after my tutorial and a few examples, everything makes sense. I think it's mostly because the tutorials are two hours long, but the questions are very short. This means that we get a lot of time for our TA's to thoroughly explain the concepts behind the questions!
Hooray for TA's. I think I might actually pass the final exam!
How do you do these proofs?:
http://longcsthought.blogspot.ca/
Labels:
Big Oh,
Big Theta,
concepts,
final exam,
long tutorials,
magnets,
questions,
TA,
thanks,
time,
tutorial,
tutorials,
Week 10
Saturday, November 1, 2014
How do I Count?
Counting is, by far, the most difficult task I've had to do this week.
You see, when you are given a program, you can evaluate how efficient it is by counting the number of "steps" it takes to accomplish something.
So if I gave you a program that said something like:
Then you would have two steps. One step to initialize x and another step to print x. Simple right?
Not if we're in CSC165.
Now what if we have a for loop that loops over a list? Well, in this case, we would have to count the number of steps inside the for loop and then multiply that by the number of loops. So if we put our "Hello world" program above into a for loop, we would have something like 2n steps where n is the number of times we loop!
Which isn't bad. Until you start proving Big-Oh, the upper bound. Just looking at the proof is giving me a headache. Sometimes I feel like the proofs work along the lines of "Step 1, step 2, [insert magic here], conclusion."
Looks like I'll have to review the course notes. The notes seem to make sense so far!
I feel like this person's view on proofs is the same resounding view as all of us.
http://lukasfrantzkecsc165.blogspot.ca/2014/10/slog-csc165-week-6.html
You see, when you are given a program, you can evaluate how efficient it is by counting the number of "steps" it takes to accomplish something.
So if I gave you a program that said something like:
x = "Hello world"
print(x)
Then you would have two steps. One step to initialize x and another step to print x. Simple right?
Not if we're in CSC165.
Now what if we have a for loop that loops over a list? Well, in this case, we would have to count the number of steps inside the for loop and then multiply that by the number of loops. So if we put our "Hello world" program above into a for loop, we would have something like 2n steps where n is the number of times we loop!
Which isn't bad. Until you start proving Big-Oh, the upper bound. Just looking at the proof is giving me a headache. Sometimes I feel like the proofs work along the lines of "Step 1, step 2, [insert magic here], conclusion."
Looks like I'll have to review the course notes. The notes seem to make sense so far!
I feel like this person's view on proofs is the same resounding view as all of us.
http://lukasfrantzkecsc165.blogspot.ca/2014/10/slog-csc165-week-6.html
Labels:
being stepped on by UofT,
counting,
course notes,
CSC165,
difficult,
efficiency,
hello world,
hopes,
laziness,
loop,
n,
off by one error,
programming,
proofs,
simple,
steps,
upper bound. Big Oh,
Week 8
Subscribe to:
Posts (Atom)