Thursday, 12 March 2015

Lab #8 and Test 2

Lab #8 and Test 2
    This week, we were presented with a further analysis of binary trees in our 8th lab. It consisted of managing an insertion method and a method which would delete the particular instance. In terms of our second test, it went a lot better than I expected. The first question which consisted of tracing trees and determining the maximum and minimum heights of the respective trees in different situations was pretty straightforward. If I recall correctly, the question was based on the fact that binary search trees can have up to and including two children nodes. So therefore the tree variations could include nodes with just one child or two children. The next two questions were very similar to functions we had previously worked on in previous labs. In fact I think the second question differed from the respective lab function by just about a single line of code. Overall, I think I did rather well and am happy at the amount of time I put in to prepare for the test. Furthermore, the fact that we can get more or less a free one percent mark from completing a survey in regards to our test is great. It is also very insightful as it shows us our weak points. 

No comments:

Post a Comment