Thursday, October 17, 2013

First Post

So Assignment One and Test One are over, finally time to start this slog. I think appropriately the first post will be a reflexion on those two assessments.

So far I believe this course to be quite fair. Assignment one seemed momentous at first, but eventually I realized that the assignment sheet had all the computational problems done for us. It was simply a matter of realizing, after a hint from Professor Heap, that our computer could not only be programmed to move the blocks for us, but to calculate the best way to move the blocks as well.

After that point the assignment became an exercise in the thing I dislike most in computer programming, implementing an animation onto the GUI. After many false starts in trying to find an elegant solution to solve the puzzle whilst animating it, I gave up, and settled to having an algorithm compute the moves before the GUI started, and then simply read off the list when animating.

What surprised me the most about the assignment was, however, that I ended up using both the stacks and queues we implemented during the labs. It was nice how the disjoint components of the course ended up coming together.

The test, however, was another story. It pitted my lack of knowledge of python against my knowledge of simpler programming languages. Needless to say, not knowing python definitely did me harm.

If I had known the more about the standard libraries of python, I would have known there is a way to join lists of string using a str.join() method, saving me marks by preventing the errors I made in my code. However, it would also have saved me the trouble of implementing my own sorting algorithm in python, saving me much stress on the third question and maybe allowing me to put more insight into the other problems.

No comments:

Post a Comment