Yes, while I do understand that I'm finding excuses for myself, I'm also here to catch up.
Last week was Term Test 2 regarding LinkedLists, Trees, and Recursions. Apparently many of the students reflected that it was easier than the first test. However, I believe that rather than easier, it had contained more components that required the student to think before they grab their pencils. For example, docstrings weren't counted so heavily towards the marks because they were provided, and more weight was put on the logic of tracing recursions through lists and trees, and keeping track of linked lists and their nodes. Although focusing on logic is definitely a main part of computer science, I can't help but worry for myself. I am a person that makes small errors easily, so I am afraid that I might be losing marks here and there on random tidbits.
That aside, A2 is due almost immediately after. Just as Term Test 2 had compared to Term Test 1, A2 also requires a lot more thinking than A1. Although the puzzles can be generalized, the generalization is actually harder than I expected. My group and I had finished writing code for the program, but of course there are a lot of bugs and we definitely have to improve the run time. Somehow breadth first search for word-ladder puzzles takes time in the two digits... *sigh*
Also, we were stuck on the class PuzzleNode for quite a bit of time (I won't be telling you we're still stuck on it). On Piazza those who are close to being done or are already finished are saying things like each PuzzleNode should only have a child who leads to the right solution -- which completely makes sense, but is also confusing when first looking upon the list[PuzzleNode] in the docstring. That, and I think we are still having some problems linking each PuzzleNode to their parents. Apparently the trouble we are encountering have children poinging to parents, but not vice versa? But there's a line of code that redirects...???
Last but not least, we still haven't solved the problem of keeping track of seen configurations in depth-first-search. We want to reset the seen configuration list at the beginning of every puzzle solving, but not when the function is called recursively... Okay okay, I admit that we are far from done, but one step at a time right... I'll stuff my head back in there once I'm done here xD.
No comments:
Post a Comment