Wednesday, 25 March 2015

Revisiting CSC148: The Beginning

Revisiting CSC148: The Beginning
    Rereading my CSC148: The Beginning entry, a number of things come to mind. First and foremost I still stand with what I say in that entry. Csc148 has only gotten more and more technical. The rate at which new topics have been introduced in this course is a lot faster as compared to Csc108. Tutorials have been such a great help in terms of picking up new material and it's a shame that the strike had to affect them. The worksheets we've gotten in class are also helpful. The only downside being we don't have as much time working on them as we did for the ones we received in csc108. The tests however are easier to prepare for in csc148 for whatever reason. It may just be due to the fact that we get more exposure to the material and therefore that results in us doing better on the tests. I imagine that will also hold for the final exam. However, I did really like the fact that we could access lectures which would teach us the concepts in csc108. If that were possible in csc148 I would literally have no complaints. Overall, I still prefer csc148 over csc108. From what I've heard from classmates, they've said the assignments are in fact harder and require more work. They've also said that the tutorials are really helpful and tests a tad bit more challenging.

Friday, 20 March 2015

Unit Testing

Unit Testing
    This week we've been mainly focusing on unit testing and debugging. As such I've had some thought provoking questions I'd like to discuss. I'm quite interested into how the industry typically goes about these topics. I've heard of key words like version control which will learn about in CSC207 but besides that my opinion is that there must be some more complex but efficient debugging process. It would get to repetitive with our current system at least in my opinion. Plus with the sheer size of the software which the industry develops, our system wouldn't be able to manage all the interconnected components. That is, to make sure that things dependent on each other would still manage to work if changes are made to the base components. I'm sure we'll probably go further into these topics in CSC207 and CSC209. 

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. 

Friday, 6 March 2015

Linked Lists and A2

Linked Lists and A2
    This week consisted of our linked lists lab and turning in our second assignment. In terms of our assignment, it was probably the hardest so far. Trying to figure out how to make the minimax strategy work as intended was probably the most challenging part of it all. The game itself was pretty straight forward to understand. More or less, everything fell into place once minimax was complete. In regards to the linked lists, they're just another data structure. This time the data structure is representative of a sequence. This sequence connects a bunch of nodes together, one node leading to one other node. Each node points to the next node and each node contains some sort of data. The reason they're so useful, to my understanding is that due to the simplicity of this sequence, nodes can be created and added anywhere in the sequence. Likewise, nodes can be removed at any point in the sequence. I'm curious as to whether or not there would be any benefit to the combination of abstract data types. What I meant by this is say there is a tree data structure. Then each node within that tree has its' data type be some sort of abstract data structure like a linked list for instance. I'm guessing it would only be useful in really specific cases and even then it would probably be more useful and beneficial to design a new abstract data structure. Thinking about it now, each situation can have an abstract data structure customized to be optimally perform its task.