Showing posts with label test. Show all posts
Showing posts with label test. Show all posts

Wednesday, November 20, 2013

MapReduce, term test results

First of all, I'm very pleased with my term test mark. The positive result has motivated me to keep working and studying diligently.
With that in mind, I've been thinking a little about map and reduce as discussed in lecture today, and it seems to me that either these are pretty simple concepts, or I'm missing some nuance present in their application (because I haven't tried to write any code using them yet). Hopefully I will get some practice, and gain some insight, in tomorrow's lab.
I don't have too much to say other than that; I'm anticipating some more interesting stuff will happen tomorrow.

Wednesday, November 13, 2013

Nov 13: Term test and thoughts on recursion

So, the term test this morning went as well as I possibly could have hoped. I consider this as much a stroke of luck as an effect of diligence, but I'm glad nonetheless. Though I feel comfortable, I don't want to grow complacent, so I am going to revisit A2 over the next week or two and attempt to find a full solution, due dates aside.
To flesh out this entry and in light of the content of the test, here are some general thoughts on recursion:
In short: seriously unintuitive, completely logical, difficult but workable. When recursion was first introduced earlier in the course I had some strange impressions: I found the examples given in lecture to be elegant and straightforward, but trying to apply the concepts in labs and exercises nigh on impossible. I suppose this is partly due to my previous follow-the-answer approach to authoring code - I tended to trace the execution in my head, because I hadn't come across anything complicated enough to make that impossible. After a few attempts at recursive reasoning this gave way to a more abstract view, considering only the actual datum/data a function would return and not how it had been computed. I feel like this change in perspective has seriously helped me as a programmer and will easily carry into new topics.
Cheers until tomorrow!

Tuesday, November 12, 2013

Nov 12: Term test prep

I'm a little nervous about tomorrow's term test. I've been reviewing lecture notes, code examples, lab worksheets and readings (whew, a veritable laundry list of stuff) but I'm concerned by the fact that I had a very bad time with assignment 2.
In terms of the concepts covered, I'm comfortable with linked lists, binary trees and search trees, recursion involving both of the above (in fact, this is perhaps the most straightforward application of recursion in my mind), sorting algorithms and big-oh notation. But the specific problem of binary regular expressions is still unclear to me, and if I had thought of it sooner I would spend a good chunk of time revisiting A2. For tonight, I will focus on my confidence with linked structures, and let the chips fall where they may on the rest. Good luck all!