I've tried to make a habit of, after writing a test, analysing what went right and what went wrong. Overall the test ended up being exactly what I expected and I'm confident that I did well. I studied the right topics and I had a good understanding of everything I studied. As for what went wrong, at first I did not properly read what the last question was asking for. It asked us to write the body of a method that inserts a new node in between the second last and the last node of a linked list as well as change the value of the last node. However, instead of just editing the value of the last node I created entirely an entirely new node. This probably sounds pretty minor but in combination with everything else we were asked to do for this question it made my code far more disorganized and error-prone. When I saw this was happening I went back to reread the question and noticed that there was no reason to create a new node. I drew a big X through everything I had written and somehow managed to finish rewriting the method in the final 5 minutes of the test. For future tests, I'm going to take a bit more time to read questions carefully. In this case, skimming through a question cost me much more time than it saved.
As a side note, I really enjoyed the style of lab 8. While the other labs gave us methods and functions to write, the purpose of lab 8 was to explore and experiment with some complex code (in this case the BST delete method) and work out ways to improve it. I think the instructors did a great job altering the labs in order to accommodate the ongoing strike. Lab 8 really lead me to an in-depth understanding of the delete method when at first I had a lot of trouble it seeing how it worked.
No comments:
Post a Comment